28 character*81 tieset(3,*),slavset
30 integer ipoface(*),nodface(5,*),
nodes(4),
31 & ne,ipkon(*),kon(*),indexe,ifaceq(8,6),ifacet(6,4),index1,
32 & ifacew(8,5),ithree,ifour,iaux,kflag,i,j,k,m,
33 & ifree,index1old,ifreenew,ntie,ipos
37 data ifaceq /4,3,2,1,11,10,9,12,
38 & 5,6,7,8,13,14,15,16,
40 & 2,3,7,6,10,19,14,18,
41 & 3,4,8,7,11,20,15,19,
42 & 4,1,5,8,12,17,16,20/
43 data ifacet /1,3,2,7,6,5,
47 data ifacew /1,3,2,9,8,7,0,0,
57 if((tieset(1,m)(81:81).eq.
'C').or.
58 & (tieset(1,m)(81:81).eq.
'-'))
then 63 ipos=index(slavset,
' ')-1
64 if(slavset(ipos:ipos).eq.
'S')
then 93 if(ipkon(i).lt.0) cycle
94 if(lakon(i)(1:1).ne.
'C') cycle
99 if((lakon(i)(4:4).eq.
'2').or.
100 & (lakon(i)(4:4).eq.
'8'))
then 103 nodes(k)=kon(indexe+ifaceq(k,j))
107 index1=ipoface(
nodes(1))
114 ifreenew=nodface(5,ifree)
115 nodface(1,ifree)=
nodes(2)
116 nodface(2,ifree)=
nodes(3)
117 nodface(3,ifree)=
nodes(4)
118 nodface(4,ifree)=10*i+j
119 nodface(5,ifree)=ipoface(
nodes(1))
120 ipoface(
nodes(1))=ifree
128 if((nodface(1,index1).eq.
nodes(2)).and.
129 & (nodface(2,index1).eq.
nodes(3)).and.
130 & (nodface(3,index1).eq.
nodes(4)))
then 131 if(index1old.eq.0)
then 132 ipoface(
nodes(1))=nodface(5,index1)
134 nodface(5,index1old)=nodface(5,index1)
136 nodface(5,index1)=ifree
141 index1=nodface(5,index1)
147 elseif((lakon(i)(4:4).eq.
'4').or.
148 & (lakon(i)(4:5).eq.
'10'))
then 151 nodes(k)=kon(indexe+ifacet(k,j))
156 index1=ipoface(
nodes(1))
163 ifreenew=nodface(5,ifree)
164 nodface(1,ifree)=
nodes(2)
165 nodface(2,ifree)=
nodes(3)
166 nodface(3,ifree)=
nodes(4)
167 nodface(4,ifree)=10*i+j
168 nodface(5,ifree)=ipoface(
nodes(1))
169 ipoface(
nodes(1))=ifree
177 if((nodface(1,index1).eq.
nodes(2)).and.
178 & (nodface(2,index1).eq.
nodes(3)).and.
179 & (nodface(3,index1).eq.
nodes(4)))
then 180 if(index1old.eq.0)
then 181 ipoface(
nodes(1))=nodface(5,index1)
183 nodface(5,index1old)=nodface(5,index1)
185 nodface(5,index1)=ifree
190 index1=nodface(5,index1)
200 nodes(k)=kon(indexe+ifacew(k,j))
206 nodes(k)=kon(indexe+ifacew(k,j))
211 index1=ipoface(
nodes(1))
218 ifreenew=nodface(5,ifree)
219 nodface(1,ifree)=
nodes(2)
220 nodface(2,ifree)=
nodes(3)
221 nodface(3,ifree)=
nodes(4)
222 nodface(4,ifree)=10*i+j
223 nodface(5,ifree)=ipoface(
nodes(1))
224 ipoface(
nodes(1))=ifree
232 if((nodface(1,index1).eq.
nodes(2)).and.
233 & (nodface(2,index1).eq.
nodes(3)).and.
234 & (nodface(3,index1).eq.
nodes(4)))
then 235 if(index1old.eq.0)
then 236 ipoface(
nodes(1))=nodface(5,index1)
238 nodface(5,index1old)=nodface(5,index1)
240 nodface(5,index1)=ifree
245 index1=nodface(5,index1)
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