32 2 IXS ,MAS ,PM ,EL2FA ,NBF ,
33 3 IPART ,IPARTSP ,ISPH3D )
38 use element_mod ,
only : nixs
42#include "implicit_f.inc"
46#include "vect01_c.inc"
57 . mas(*) ,pm(npropm,*)
58 INTEGER IPARG(NPARG,*),IXS(NIXS,*),EL2FA(*),NBF,IPART(LIPART1,*),
60 TYPE (ELBUF_STRUCT_),
DIMENSION(NGROUP),
TARGET :: ELBUF_TAB
67 INTEGER I, NG, NEL, ISS, ISC,N, J, MLW,
68 . NN, K1, K2,JTURB,MT, IALEL,IPID,
69 . n1,n2,n3,n4,nn1,nn2,nn3,
71 . inod, isolnod, iprt,
72 . jhbe, jivf, jclose, jplasol, irep, igtyp,
73 . icsen, isorthg, ifailure, iint
74 TYPE(g_bufel_) ,
POINTER :: GBUF
85 2 mlw ,nel ,nft ,iad ,ity ,
86 3 npt ,jale ,ismstr ,jeul ,jtur ,
87 4 jthe ,jlag ,jmult ,jhbe ,jivf ,
88 5 jpor ,jcvt ,jclose ,jplasol ,
89 6 irep ,iint ,igtyp ,israt ,isrot ,
90 7 icsen ,isorth ,isorthg ,ifailure)
91 isolnod = iparg(28,ng)
92 DO offset = 0,nel-1,nvsiz
93 nft =iparg(3,ng) + offset
96 llt=
min(nvsiz,nel-offset)
101 IF (ity==1 .and. mlw > 0)
THEN
102 ialel=iparg(7,ng)+iparg(11,ng)
103 gbuf => elbuf_tab(ng)%GBUF
107 IF(el2fa(nn2+n_fa)/=0)
THEN
110 VALUE=pm(89,mt)*gbuf%VOL(i)
112 off =
min(gbuf%OFF(i),one)
113 VALUE=gbuf%RHO(i)*gbuf%VOL(i)*off
117 mas(el2fa(nn2+n_fa)) =
VALUE
118 mas(el2fa(nn2+n_fa)+1) =
VALUE
119 mas(el2fa(nn2+n_fa)+2) =
VALUE
120 mas(el2fa(nn2+n_fa)+3) =
VALUE
122 mas(el2fa(nn2+n_fa)) =
VALUE
127 ELSEIF(isph3d==1.AND.ity==51.and.mlw > 0)
THEN
131 gbuf => elbuf_tab(ng)%GBUF
132 ialel=iparg(7,ng)+iparg(11,ng)
136 IF(el2fa(nn3+n_fa)/=0)
THEN
140 VALUE=pm(89,mt)*gbuf%VOL(i)
142 off =
min(gbuf%OFF(i),one)
143 VALUE=gbuf%RHO(i)*gbuf%VOL(i)*off
145 mas(el2fa(nn3+n_fa)) =
VALUE
subroutine dmasanis(elbuf_tab, iparg, ixs, mas, pm, el2fa, nbf, ipart, ipartsp, isph3d)
subroutine initbuf(iparg, ng, mtn, llt, nft, iad, ity, npt, jale, ismstr, jeul, jtur, jthe, jlag, jmult, jhbe, jivf, jpor, jcvt, jclose, jpla, irep, iint, igtyp, israt, isrot, icsen, isorth, isorthg, ifailure)