28 character*132 textpart(16)
30 integer nalcon(2,*),nmat,ntmat,ntmat_,istep,istat,n,
32 & i,ityp,key,irstrt,iline,ipol,inl,ipoinp(2,*),inp(3,*)
34 real*8 alcon(0:6,ntmat_,*),alzero(*)
39 if((istep.gt.0).and.(irstrt.ge.0))
then 40 write(*,*)
'*ERROR reading *ELECTRICAL CONDUCTIVITY:' 41 write(*,*)
' *ELECTRICAL CONDUCTIVITY should be placed' 42 write(*,*)
' before all step definitions' 47 write(*,*)
'*ERROR reading *ELECTRICAL CONDUCTIVITY:' 48 write(*,*)
' *ELECTRICAL CONDUCTIVITY should be preceded' 49 write(*,*)
' by a *MATERIAL card' 56 if(textpart(i)(1:5).eq.
'TYPE=')
then 57 if(textpart(i)(6:8).eq.
'ISO')
then 61 write(*,*)
'*WARNING reading *ELECTRICAL CONDUCTIVITY:' 62 write(*,*)
' parameter not recognized:' 64 & textpart(i)(1:index(textpart(i),
' ')-1)
66 &
"*ELECTRICAL CONDUCTIVITY%")
74 call getnewline(inpc,textpart,istat,n,key,iline,ipol,inl,
76 if((istat.lt.0).or.(key.eq.1))
return 79 if(ntmat.gt.ntmat_)
then 80 write(*,*)
'*ERROR reading *ELECTRICAL CONDUCTIVITY:' 81 write(*,*)
' increase ntmat_' 85 read(textpart(i)(1:20),
'(f20.0)',iostat=istat)
87 if(istat.gt.0)
call inputerror(inpc,ipoinpc,iline,
88 &
"*ELECTRICAL CONDUCTIVITY%")
90 read(textpart(2)(1:20),
'(f20.0)',iostat=istat)
92 if(istat.gt.0)
call inputerror(inpc,ipoinpc,iline,
93 &
"*ELECTRICAL CONDUCTIVITY%")
96 write(*,*)
'*ERROR reading *ELECTRICAL CONDUCTIVITY:' 97 write(*,*)
' no anisotropy allowed'
subroutine getnewline(inpc, textpart, istat, n, key, iline, ipol, inl, ipoinp, inp, ipoinpc)
Definition: getnewline.f:21