27 character*132 textpart(16)
29 integer n,iuel(4,*),nuel,i,j,istat,number,ipoinpc(0:*),iline,
30 & four,
nodes,intpoints,maxdof,id
35 if(textpart(i)(1:6).eq.
'TYPE=U')
then 36 number=ichar(textpart(i)(7:7))*256**3+
37 & ichar(textpart(i)(8:8))*256**2+
38 & ichar(textpart(i)(9:9))*256+
39 & ichar(textpart(i)(10:10))
43 elseif(textpart(i)(1:6).eq.
'NODES=')
then 44 read(textpart(i)(7:16),
'(i10)',iostat=istat)
nodes 45 if(istat.gt.0)
call inputerror(inpc,ipoinpc,iline,
47 elseif(textpart(i)(1:18).eq.
'INTEGRATIONPOINTS=')
then 48 read(textpart(i)(19:28),
'(i10)',iostat=istat) intpoints
49 if(istat.gt.0)
call inputerror(inpc,ipoinpc,iline,
51 elseif(textpart(i)(1:7).eq.
'MAXDOF=')
then 52 read(textpart(i)(8:17),
'(i10)',iostat=istat) maxdof
53 if(istat.gt.0)
call inputerror(inpc,ipoinpc,iline,
66 if(intpoints.gt.255)
then 67 write(*,*)
'*ERROR reading *USER ELEMENT' 68 write(*,*)
' number of integration points ',intpoints,
73 if(maxdof.gt.255)
then 74 write(*,*)
'*ERROR reading *USER ELEMENT' 75 write(*,*)
' highest degree of freedom ',maxdof,
81 write(*,*)
'*ERROR reading *USER ELEMENT' 82 write(*,*)
' number of nodes ',
nodes,
' exceeds 255' 88 call nidentk(iuel,number,nuel,id,four)
91 if(iuel(1,id).eq.number)
then 92 write(*,*)
'*ERROR reading *USER ELEMENT' 93 write(*,*)
' element number was already defined' 101 iuel(j,i)=iuel(j,i-1)
105 iuel(2,id+1)=intpoints
subroutine nodes(inpc, textpart, co, nk, nk_, set, istartset, iendset, ialset, nset, nset_, nalset, nalset_, istep, istat, n, iline, ipol, inl, ipoinp, inp, ipoinpc)
Definition: nodes.f:22
subroutine nidentk(x, px, n, id, k)
Definition: nidentk.f:27