29 character*132 textpart(16)
31 integer iponor(2,*),ixfree,ipkon(*),kon(*),nk,ipoinpc(0:*),
32 & nk_,ne,istep,istat,n,ielement,node,j,indexe,i,
33 & key,iline,ipol,inl,ipoinp(2,*),inp(3,*)
35 real*8 xnor(*),x,y,z,dd
38 write(*,*)
'*ERROR in normals: *NORMAL should be placed' 39 write(*,*)
' before all step definitions' 45 &
'*WARNING in normals: parameter not recognized:' 47 & textpart(i)(1:index(textpart(i),
' ')-1)
53 call getnewline(inpc,textpart,istat,n,key,iline,ipol,inl,
55 if((istat.lt.0).or.(key.eq.1))
exit 57 read(textpart(1)(1:10),
'(i10)',iostat=istat) ielement
58 if(istat.gt.0)
call inputerror(inpc,ipoinpc,iline,
60 read(textpart(2)(1:10),
'(i10)',iostat=istat) node
61 if(istat.gt.0)
call inputerror(inpc,ipoinpc,iline,
63 read(textpart(3)(1:20),
'(f20.0)',iostat=istat) x
64 if(istat.gt.0)
call inputerror(inpc,ipoinpc,iline,
69 read(textpart(4)(1:20),
'(f20.0)',iostat=istat) y
70 if(istat.gt.0)
call inputerror(inpc,ipoinpc,iline,
76 read(textpart(5)(1:20),
'(f20.0)',iostat=istat) z
77 if(istat.gt.0)
call inputerror(inpc,ipoinpc,iline,
88 if(ielement.gt.ne)
then 89 write(*,*)
'*ERROR in normals: element number',ielement
90 write(*,*)
' exceeds ne' 94 indexe=ipkon(ielement)
96 if(kon(indexe+j).eq.node)
then 97 iponor(1,indexe+j)=ixfree
98 if(lakon(ielement)(1:1).eq.
'B')
then 103 elseif(lakon(ielement)(1:2).ne.
'C3')
then 109 write(*,*)
'*WARNING in normals: specifying a normal' 110 write(*,*)
' 3-D element does not make sense' 115 write(*,*)
'*WARNING: node ',node,
' does not belong to' 116 write(*,*)
' element ',ielement
117 write(*,*)
' normal definition discarded'
subroutine getnewline(inpc, textpart, istat, n, key, iline, ipol, inl, ipoinp, inp, ipoinpc)
Definition: getnewline.f:21