43 1 INTBUF_FRIC_TAB,NPFRICORTH,IGRPART ,IPART ,PFRICORTH ,
44 2 IREPFORTH ,ISKN ,PHIFORTH ,VFORTH ,SKEW ,
45 3 IFLAG ,TAGPRT_FRIC ,RTRANS ,LSUBMODEL ,UNITAB )
61#include
"implicit_f.inc"
72 TYPE (UNIT_TYPE_),
INTENT(IN) ::UNITAB
73 INTEGER IFLAG ,NPFRICORTH
74 INTEGER IPART(LIPART1,*) ,PFRICORTH(*),IREPFORTH(*),TAGPRT_FRIC(*),
78 . phiforth(*) ,vforth(3,*) ,skew(lskew,*) ,rtrans(ntransf,*)
81 TYPE(intbuf_fric_struct_) INTBUF_FRIC_TAB(*)
83 TYPE (GROUP_) ,
DIMENSION(NGRPART) :: IGRPART
88 INTEGER NIF ,NIN ,ISK ,IERRR ,IREP ,NOINTFORTH ,IDSK ,
89 . FLAGP ,FLAGGRP ,GRPART ,IDPART ,N ,KK ,IDTGRS ,IPL ,J ,IP ,
90 . IPG ,SUB_ID ,NINPUT ,NL
92 CHARACTER(LEN=NCHARTITLE) :: TITR
98 is_available = .false.
104 IF(iflag==1)
WRITE(iout,1000)
115 DO nin=1,nfric_orient
121 . option_id = nointforth,
122 . submodel_id = sub_id,
123 . option_titr = titr)
130 WRITE(iout,1500) nointforth, trim(titr)
135 CALL hm_get_intv(
'n_orient',ninput,is_available,lsubmodel)
154 .
CALL subrotvect(vx,vy,vz,rtrans,sub_id,lsubmodel)
163 IF(idpart == ipart(4,n))
THEN
173 . anmode=aninfo_blind_1,
186 + ngrbric+ngrquad+ngrshel+ngrsh3n+ngrtrus+ngrbeam+ngrspri
188 IF (igrpart(n)%ID == grpart)
THEN
194 IF(flaggrp == 0)
THEN
197 . anmode=aninfo_blind_1,
209 an=sqrt(vx*vx+vy*vy+vz*vz)
224 IF(idsk == iskn(4,j+1))
THEN
234 . c1=
'FRICTION ORIENTATION PART',
236 . c2=
'FRICTION ORIENTATION PART',
247 ipg = tagprt_fric(ip)
251 . ipg,intbuf_fric_tab(nif)%S_TABPARTS_FRIC
252 . intbuf_fric_tab(nif)%TABPARTS_FRIC,ipl )
254 npfricorth = npfricorth + 1
256 pfricorth(ip) = npfricorth
257 phiforth(npfricorth) = phi
258 irepforth(npfricorth) = irep
260 vforth(1,npfricorth) = vx
261 vforth(2,npfricorth) = vy
262 vforth(3,npfricorth) = vz
264 vforth(1,npfricorth) = skew(1,isk)
265 vforth(2,npfricorth) = skew(2,isk)
266 vforth(3,npfricorth) = skew(3,isk)
274 WRITE(iout,1501) idpart
276 WRITE(iout,1503) irep,vx,vy,vz
278 WRITE(iout,1504) irep,idsk
284 DO j=1,igrpart(idtgrs)%NENTITY
285 ip=igrpart(idtgrs)%ENTITY(j)
286 ipg = tagprt_fric(ip)
290 . ipg,intbuf_fric_tab(nif)%S_TABPARTS_FRIC,
291 . intbuf_fric_tab(nif)%TABPARTS_FRIC,ipl )
293 npfricorth = npfricorth + 1
295 pfricorth(ip) = npfricorth
296 phiforth(npfricorth) = phi
297 irepforth(npfricorth) = irep
299 vforth(1,npfricorth) = vx
300 vforth(2,npfricorth) = vy
301 vforth(3,npfricorth) = vz
303 vforth(1,npfricorth) = skew(1,isk)
304 vforth(2,npfricorth) = skew(2,isk)
305 vforth(3,npfricorth) = skew(3,isk)
313 WRITE(iout,1502) grpart
315 WRITE(iout,1503) irep,vx,vy,vz
317 WRITE(iout,1504) irep,idsk
329 1000
FORMAT( /1x,
' FRICTION ORIENTATIONS ' /
330 . 1x,
' -------------- '// )
332 1500
FORMAT(/1x,
' FRICTION ORIENTATIONS CARD NUMBER :',i10,1x,a/
333 . 1x,
' ------------------------------- '/)
335 .
' PART . . . . . . . . . . . . . . . . . . ',i10)
337 .
' GR_PART . . . . . . . . . . . . . . . . .',i10)
339 .
' LOCAL ORTOTHROPY SYSTEM FLAG. . . . . . =',i10/,
340 .
' X COMPONENT OF DIR 1 OF ORTHOTROPY. . . =',1pg20.13/,
341 .
' Y COMPONENT OF DIR 1 OF ORTHOTROPY. . . =',1pg20.13/,
342 .
' Z COMPONENT OF DIR 1 OF ORTHOTROPY. . . =',1pg20.13/)
344 .
' LOCAL ORTOTHROPY SYSTEM FLAG. . . . . . =',i10/,
345 .
' SKEW OF THE FIRST ORTHOTROPY DIRECTION. =',i10/)
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)