#include "implicit_f.inc"
Go to the source code of this file.
◆ read_elgroup_param()
| subroutine read_elgroup_param |
( |
type (mat_elem_), intent(inout) | mat_elem | ) |
|
Definition at line 32 of file read_elgroup_param.F.
33
34
35
36 USE mat_elem_mod
37
38
39
40#include "implicit_f.inc"
41
42
43
44 TYPE (mat_elem_) ,INTENT(INOUT) :: mat_elem
45
46
47
48 INTEGER NG,NGROUP,LEN
49 my_real,
DIMENSION(:,:),
ALLOCATABLE :: rbuf
50
51
52 ngroup = mat_elem%NGROUP
53 ALLOCATE (mat_elem%GROUP_PARAM(ngroup) )
54
55 len = 2
56 ALLOCATE(rbuf(ngroup,len))
58
59 DO ng = 1, ngroup
60 mat_elem%GROUP_PARAM(ng)%VISC_DM = rbuf(ng,1)
61 mat_elem%GROUP_PARAM(ng)%VISC_DN = rbuf(ng,2)
62 ENDDO
63
64 DEALLOCATE( rbuf )
65
66 RETURN