37
38
39
41
42
43
44#include "implicit_f.inc"
45
46
47
48#include "com04_c.inc"
49#include "tabsiz_c.inc"
50
51
52
53 INTEGER LEN_IA,CEP(*),CEL(*),NODLOCAL(*),PROC,FRONTB_R2R(*),NUMNOD_L
54
55 TYPE (GROUP_) , DIMENSION(NGRNOD) :: IGRNOD
56 TYPE (GROUP_) , DIMENSION(NGRBRIC) :: IGRBRIC
57 TYPE (GROUP_) , DIMENSION(NGRQUAD) :: IGRQUAD
58 TYPE (GROUP_) , DIMENSION(NGRSHEL) :: IGRSH4N
59 TYPE (GROUP_) , DIMENSION(NGRSH3N) :: IGRSH3N
60 TYPE (GROUP_) , DIMENSION(NGRTRUS) :: IGRTRUSS
61 TYPE (GROUP_) , DIMENSION(NGRBEAM) :: IGRBEAM
62 TYPE (GROUP_) , DIMENSION(NGRSPRI) :: IGRSPRING
63 TYPE (GROUP_) , DIMENSION(NGRPART) :: IGRPART
64
65
66
67 INTEGER ESHIFT
68
69
70 IF (ngrnod > 0)
CALL w_gr_entity_n(igrnod ,ngrnod ,len_ia,lenigrnod,nodlocal,
71 . proc ,frontb_r2r,numnod_l)
72
73 eshift = 0
74 IF (ngrbric > 0)
CALL w_gr_entity_e(igrbric,ngrbric,len_ia,lenigrbric,cep,
75 . cel ,proc ,eshift)
76
77 eshift = eshift + numels
78 IF (ngrquad > 0)
CALL w_gr_entity_e(igrquad,ngrquad,len_ia,lenigrquad,cep,
79 . cel ,proc ,eshift)
80
81 eshift = eshift + numelq
82 IF (ngrshel > 0)
CALL w_gr_entity_e(igrsh4n,ngrshel,len_ia,lenigrsh4n,cep,
83 . cel ,proc ,eshift)
84
85 eshift = eshift + numelc
86 IF (ngrtrus > 0)
CALL w_gr_entity_e(igrtruss,ngrtrus,len_ia,lenigrtrus,cep,
87 . cel ,proc ,eshift)
88
89 eshift = eshift + numelt
90 IF (ngrbeam > 0)
CALL w_gr_entity_e(igrbeam,ngrbeam,len_ia,lenigrbeam,cep,
91 . cel ,proc ,eshift)
92
93 eshift = eshift + numelp
94 IF (ngrspri > 0)
CALL w_gr_entity_e(igrspring,ngrspri,len_ia,lenigrspri,cep,
95 . cel ,proc ,eshift)
96
97 eshift = eshift + numelr
98 IF (ngrsh3n > 0)
CALL w_gr_entity_e(igrsh3n,ngrsh3n,len_ia,lenigrsh3n,cep,
99 . cel ,proc ,eshift)
100!
101
102 IF (ngrpart > 0)
CALL w_gr_entity_p(igrpart,ngrpart,len_ia,lenigrpart,cep,
103 . cel ,proc )
104
105 RETURN
subroutine w_gr_entity_e(igr, ngr, len_ia, lenigr, cep, cel, proc, eshift)
subroutine w_gr_entity_p(igr, ngr, len_ia, lenigr, cep, cel, proc)
subroutine w_gr_entity_n(igr, ngr, len_ia, lenigr, nodlocal, proc, frontb_r2r, numnod_l)