45 SUBROUTINE qinit2(ELBUF_STR ,MS ,IXQ ,PM ,X ,
46 . DETONATORS ,GEO ,VEUL ,ALE_CONNECTIVITY ,IPARG ,
47 . DTELEM ,SIGI ,IGEO ,
48 . NEL ,SKEW ,MSQ ,IPART ,IPARTQ ,
50 . WMA ,PTQUAD ,BUFMAT ,NPF ,TF ,
51 . IPARGG ,ILOADP ,FACLOAD ,PARTSAV ,V ,MAT_PARAM)
61 use element_mod ,
only : nixq
65#include "implicit_f.inc"
76#include "vect01_c.inc"
81 INTEGER IXQ(NIXQ,*), IPARG(*),IGEO(NPROPGI,*),
82 . NEL,IPART(LIPART1,*),IPARTQ(*),IPM(,*), PTQUAD(*),
83 . NSIGS, NPF(*),IPARGG(*)
85 . MS(*), PM(NPROPM,*), X(*), GEO(NPROPG,*),
86 . VEUL(10,*), DTELEM(*),SIGI(NSIGS,*),SKEW(LSKEW,*),
87 . msq(*), bufmat(*), tf(*),wma(*),partsav(20,*),v(*)
88 TYPE(elbuf_struct_),
TARGET :: ELBUF_STR
89 INTEGER,
INTENT(IN) :: ILOADP(SIZLOADP,*)
90 my_real,
INTENT(IN) :: facload(lfacload,*)
92 TYPE(t_ale_connectivity),
INTENT(INOUT) :: ALE_CONNECTIVITY
93 TYPE (MATPARAM_STRUCT_) ,
DIMENSION(NUMMAT) ,
INTENT(INOUT) :: MAT_PARAM
97 INTEGER MAT(MVSIZ), PID(), NGL(MVSIZ)
98 INTEGER NF1, I, IGTYP, IP, IBID, IPID1
99 my_real e1y(mvsiz),e1z(mvsiz),e2y(mvsiz),e2z(mvsiz),
100 . bid(1), dtx(mvsiz),
101 . sy(mvsiz) ,sz(mvsiz) ,ty(mvsiz) ,tz(mvsiz)
103 CHARACTER(LEN=NCHARTITLE)::TITR
104 TYPE(g_bufel_) ,
POINTER :: GBUF
105 TYPE(l_bufel_),
POINTER :: LBUF
106 TYPE(BUF_MAT_) ,
POINTER :: MBUF
107 my_real Y1(MVSIZ), Y2(MVSIZ), Y3(MVSIZ), Y4(MVSIZ),
108 . z1(mvsiz), z2(mvsiz), z3(mvsiz), z4(mvsiz),
109 . aire(mvsiz), deltax(mvsiz)
110 my_real :: tempel(nel)
111 INTEGER IX1(MVSIZ), IX2(MVSIZ), IX3(MVSIZ), IX4(MVSIZ)
115 gbuf => elbuf_str%GBUF
116 lbuf => elbuf_str%BUFLY(1)%LBUF(1,1,1)
117 mbuf => elbuf_str%BUFLY(1)%MAT(1,1,1)
127 CALL qcoor2(x,ixq(1,nf1),ngl,mat,
128 . pid, ix1, ix2, ix3, ix4,
133 CALL qrcoor2(x ,ixq(1,nf1),ngl ,mat ,
134 . pid, ix1, ix2, ix3, ix4,
138 . e1y, e1z, e2y, e2z)
140 IF (igtyp == 6)
CALL qmorth2(pid ,geo ,igeo ,gbuf%GAMA, nel,
142 . e1y ,e1z , e2y, e2z)
143 CALL qvoli2(gbuf%VOL,ixq(1,nf1),
151 IF(jeul/=0)
CALL edlen2(veul(1,nf1), aire, deltax)
154 CALL matini(pm ,ixq ,nixq ,x ,
155 . geo ,ale_connectivity ,detonators,iparg ,
156 . sigi ,nel ,skew ,igeo ,
158 . mat ,ipm ,nsigs ,numquad ,ptquad ,
159 . ip ,ngl ,npf ,tf ,bufmat ,
160 . gbuf ,lbuf ,mbuf ,elbuf_str ,iloadp ,
161 . facload, deltax ,tempel ,mat_param )
165 IF (jthe/=0)
CALL atheri(mat,pm,gbuf%TEMP)
166 IF (jtur/=0)
CALL aturi2(ipargg ,gbuf%RHO,pm,ixq,x,
167 . gbuf%RK,gbuf%RE, aire)
171 IF (jlag+jale+jeul/=0)
172 .
CALL qmasi2(pm,mat,ms,gbuf%VOL,msq(nf1),wma,ipartq(nft+1),partsav,
173 . ix1, ix2, ix3, ix4 ,x ,v)
177 CALL dtmain(geo ,pm ,ipm ,pid ,mat ,fv ,
178 . gbuf%EINT ,gbuf%TEMP ,gbuf%DELTAX ,gbuf%RK ,gbuf%RE ,bufmat, deltax, aire,
179 . gbuf%VOL, dtx, igeo,igtyp)
182 IF(ixq(6,i+nft)/=0)
THEN
183 IF (igtyp/=0 .AND. igtyp/=6 .AND.
184 . igtyp/=14.AND.igtyp/=15)
THEN
185 ipid1=ixq(nixq-1,i+nft)
186 CALL fretitl2(titr,igeo(npropgi-ltitr+1,ipid1),ltitr)
189 . anmode=aninfo_blind_1,
subroutine dtmain(geo, pm, ipm, pid, mat, fv, eint, temp, deltax, rk, re, bufmat, ddeltax, aire, vol, dtx, igeo, igtyp)
subroutine matini(pm, ix, nix, x, geo, ale_connectivity, detonators, iparg, sigi, nel, skew, igeo, ipart, ipartel, mat, ipm, nsig, nums, pt, ipt, ngl, npf, tf, bufmat, gbuf, lbuf, mbuf, elbuf_str, iloadp, facload, ddeltax, tempel, mat_param)
subroutine qinit2(elbuf_str, ms, ixq, pm, x, detonators, geo, veul, ale_connectivity, iparg, dtelem, sigi, igeo, nel, skew, msq, ipart, ipartq, ipm, nsigs, wma, ptquad, bufmat, npf, tf, ipargg, iloadp, facload, partsav, v, mat_param)
subroutine qrcoor2(x, ixq, ngl, mxt, pid, ix1, ix2, ix3, ix4, y1, y2, y3, y4, z1, z2, z3, z4, sy, sz, ty, tz, e1y, e1z, e2y, e2z)
subroutine ancmsg(msgid, msgtype, anmode, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, r1, r2, r3, r4, r5, r6, r7, r8, r9, c1, c2, c3, c4, c5, c6, c7, c8, c9, prmode)