24 integer nodes(4),nodef(3),kontet(4,*),ifatet(4,*),inodfa(4,*),
25 & ipofa(*),ifreetet,ifreefa,ifree,ig(3,4),j,
26 & n1,n2,n3,n4,nxa,nxb,nxc,nxd,nya,nyb,nyc,nyd,nza,nzb,nzc,
27 & nzd,
nx1,nx2,
ny1,ny2,
nz1,nz2,index,j1,j2,j3,i,n,kflag,idum,
28 & node,indexold,ielement,ndx,ndy,ndz
30 real*8 planfa(4,*),cotet(3,*),dd
32 data ig /2,3,4,3,4,1,4,1,2,1,2,3/
37 kontet(i,ielement)=
nodes(i)
43 nodef(1)=
nodes(ig(1,i))
44 nodef(2)=
nodes(ig(2,i))
45 nodef(3)=
nodes(ig(3,i))
49 call isortii(nodef,idum,n,kflag)
58 if((inodfa(2,index).eq.nodef(2)).and.
59 & (inodfa(3,index).eq.nodef(3)))
exit 66 ifreefa=inodfa(4,ifreefa)
68 write(*,*)
'*ERROR in generatet: increase the dimension' 69 write(*,*)
' of inodfa' 71 inodfa(1,index)=nodef(1)
72 inodfa(2,index)=nodef(2)
73 inodfa(3,index)=nodef(3)
75 if(ipofa(node).eq.0)
then 78 inodfa(4,indexold)=index
81 call planeeq(cotet,nodef,planfa(1,index))
89 dd=planfa(1,index)*cotet(1,
nodes(i))+
90 & planfa(2,index)*cotet(2,
nodes(i))+
91 & planfa(3,index)*cotet(3,
nodes(i))+
93 if(dabs(dd).lt.1.d-10)
then 94 write(*,*)
'*WARNING in generatetet: element ',ielement
95 write(*,*)
' is extremely flat' 96 write(*,*)
' the element is deleted' 101 ifatet(i,ielement)=index
103 ifatet(i,ielement)=-index
static ITG * nx1
Definition: filtermain.c:39
static ITG * nz1
Definition: filtermain.c:39
subroutine isortii(ix, iy, n, kflag)
Definition: isortii.f:6
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 planeeq(cotet, nodef, planfal)
Definition: planeeq.f:20
static ITG * ny1
Definition: filtermain.c:39