OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
fill_buffer_51_0.F File Reference
#include "implicit_f.inc"
#include "param_c.inc"
#include "com04_c.inc"
#include "tabsiz_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine fill_buffer_51_0 (matparam_tab, ipm, pm, bufmat, mat_param, mlaw_tag)

Function/Subroutine Documentation

◆ fill_buffer_51_0()

subroutine fill_buffer_51_0 ( type(matparam_struct_), dimension(nummat), intent(inout) matparam_tab,
integer, dimension(npropmi,nummat), intent(inout), target ipm,
dimension(npropm,nummat), intent(inout) pm,
dimension(sbufmat), intent(inout) bufmat,
type(matparam_struct_), dimension(nummat), intent(inout) mat_param,
type(mlaw_tag_), dimension(nummat), intent(inout) mlaw_tag )

Definition at line 33 of file fill_buffer_51_0.F.

34C-----------------------------------------------
35C M o d u l e s
36C-----------------------------------------------
37 USE message_mod
38 USE matparam_def_mod
40 USE matparam_def_mod, ONLY : matparam_struct_
41 USE elbuftag_mod , ONLY : mlaw_tag_
42C-----------------------------------------------
43C D e s c r i p t i o n
44C-----------------------------------------------
45C This subroutine is filling multimaterial law51 buffer UPARAM(:)
46C
47C It is done here and not in lecm51 because we need all material cards and eos card to be read for each submaterial
48C-----------------------------------------------
49C I m p l i c i t T y p e s
50C-----------------------------------------------
51#include "implicit_f.inc"
52C-----------------------------------------------
53C C o m m o n B l o c k s
54C-----------------------------------------------
55#include "param_c.inc"
56#include "com04_c.inc"
57#include "tabsiz_c.inc"
58C-----------------------------------------------
59C D u m m y A r g u m e n t s
60C-----------------------------------------------
61 TYPE(MATPARAM_STRUCT_) ,DIMENSION(NUMMAT), INTENT(INOUT) :: MATPARAM_TAB
62 INTEGER,TARGET,INTENT(INOUT) :: IPM(NPROPMI,NUMMAT)
63 my_real,TARGET,INTENT(INOUT) :: pm(npropm,nummat),bufmat(sbufmat)
64 TYPE(MATPARAM_STRUCT_) ,DIMENSION(NUMMAT) ,INTENT(INOUT) :: MAT_PARAM
65 TYPE(MLAW_TAG_) , DIMENSION(NUMMAT) , INTENT(INOUT) :: MLAW_TAG
66C-----------------------------------------------
67C L o c a l V a r i a b l e s
68C-----------------------------------------------
69 INTEGER II,ILAW,IFORM,IADBUF,MAT_ID,NPAR
70 CHARACTER(LEN=NCHARTITLE) :: TITR
71 my_real, DIMENSION(:), POINTER :: uparam
72C-----------------------------------------------
73C S o u r c e L i n e s
74C-----------------------------------------------
75 DO ii=1,nummat-1
76 titr = matparam_tab(ii)%TITLE
77 ilaw = ipm(2,ii)
78 IF(ilaw/=51)cycle
79 iadbuf = ipm(7,ii)
80 npar = ipm(9,ii)
81 iadbuf = max(1,iadbuf)
82 uparam => bufmat(iadbuf:iadbuf+npar-1)
83 iform = nint(uparam(31))
84 ipm(62, ii) = iform
85 mat_id = ipm(1,ii)
86 IF(iform == 12)THEN
87 CALL fill_buffer_51( ipm, pm, uparam, bufmat, mat_id, titr, ii, mat_param, mlaw_tag)
88 pm(38,ii) = uparam(42)
89 ENDIF
90 ENDDO
91C-----------------------------------------------
92
93 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine fill_buffer_51(ipm, pm, uparam, bufmat, user_id, titr, internal_id, mat_param, mlaw_tag)
#define max(a, b)
Definition macros.h:21
integer, parameter nchartitle