28 logical contactprint_flag
30 character*1 total,nodesys,inpc(*)
32 character*80 amname(*),timepointsname
33 character*81 prset(*),noset
34 character*132 textpart(16)
36 integer ii,i,nam,itpamp,
37 & jout(2),joutl,ithermal,nprint,nprint_,istep,
38 & istat,n,key,ipos,iline,ipol,inl,ipoinp(2,*),inp(3,*),idrct,
42 write(*,*)
'*ERROR in contactprints: *CONTACT PRINT 44 write(*,*)
' used within a *STEP definition' 53 if(.not.contactprint_flag)
then 56 if((prlab(i)(1:4).eq.
'CSTR').or.
57 & (prlab(i)(1:4).eq.
'CDIS').or.
58 & (prlab(i)(1:4).eq.
'CNUM').or.
59 & (prlab(i)(1:4).eq.
'CELS')) cycle
74 if(textpart(ii)(1:10).eq.
'FREQUENCY=')
then 75 read(textpart(ii)(11:20),
'(i10)',iostat=istat) joutl
76 if(istat.gt.0)
call inputerror(inpc,ipoinpc,iline,
80 call getnewline(inpc,textpart,istat,n,key,iline,ipol,
81 & inl,ipoinp,inp,ipoinpc)
82 if((key.eq.1).or.(istat.lt.0))
return 89 elseif(textpart(ii)(1:10).eq.
'TOTALS=YES')
then 91 elseif(textpart(ii)(1:11).eq.
'TOTALS=ONLY')
then 93 elseif(textpart(ii)(1:11).eq.
'TIMEPOINTS=')
then 94 timepointsname=textpart(ii)(12:91)
96 if(amname(i).eq.timepointsname)
then 102 ipos=index(timepointsname,
' ')
103 write(*,*)
'*ERROR in contactprints: time points 105 & ,timepointsname(1:ipos-1),
' is unknown or empty' 109 write(*,*)
'*ERROR in contactprints: the DIRECT option' 110 write(*,*)
' collides with a TIME POINTS ' 111 write(*,*)
' specification' 118 &
'*WARNING in contactprints: parameter not recognized:' 120 & textpart(ii)(1:index(textpart(ii),
' ')-1)
127 call getnewline(inpc,textpart,istat,n,key,iline,ipol,inl,
128 & ipoinp,inp,ipoinpc)
131 if((textpart(ii)(1:4).ne.
'CSTR').and.
132 & (textpart(ii)(1:4).ne.
'CELS').and.
133 & (textpart(ii)(1:4).ne.
'CNUM').and.
134 & (textpart(ii)(1:4).ne.
'CDIS'))
then 135 write(*,*)
'*WARNING in contactprints: label not 137 write(*,*)
' or unknown; ' 145 if(textpart(ii)(1:4).eq.
'CELS') nener=1
148 if(nprint.gt.nprint_)
then 149 write(*,*)
'*ERROR in contatcprints: increase nprint_' 153 prlab(nprint)(1:4)=textpart(ii)(1:4)
154 prlab(nprint)(5:5)=total
155 prlab(nprint)(6:6)=nodesys
subroutine getnewline(inpc, textpart, istat, n, key, iline, ipol, inl, ipoinp, inp, ipoinpc)
Definition: getnewline.f:21