32#include "implicit_f.inc"
36 INTEGER NUMEL,IPART(*),TAGBUF(*),NPART
44 IF (tagbuf(ipart(j)) == 1)
THEN
45 tagbuf(j+npart)=tagbuf(j+npart)+1
65 2 IPARTSP,VAL,CONT,MODIF,ITAGL,F2,FLAG,EANI2,
66 3 IGRSURF,IGRNOD,GR_ID)
77#include "implicit_f.inc"
83 INTEGER IPARTS(*),IPARTC(*),IPARTG(*),NB,VAL,GR_ID,
84 . FLAG,CONT,MODIF,IPARTSP(*),F2,ITAGL(*),EANI2(*)
86 TYPE (GROUP_),
DIMENSION(NGRNOD) :: IGRNOD
87 TYPE (SURF_) :: IGRSURF
91 INTEGER J,K,L,NI,FACE(4),SUM,CUR_ID,ELTAG,CUR_10,CUR_20,CUR_16,OFFSET
101 face(1) = igrsurf%NODES(j,1)
102 face(2) = igrsurf%NODES(j,2)
103 face(3) = igrsurf%NODES(j,3)
104 face(4) = igrsurf%NODES(j,4)
105 IF (face(4)==0) face(4)=face(3)
116 itagl(
ixs(nixs*(cur_id-1)+k)) = 1
118 IF (eani2(cur_id)==10)
THEN
120 cur_10 = cur_id-numels8
122 itagl(
ixs(offset+6*(cur_10-1)+k)) = 1
124 ELSEIF (eani2(cur_id)==20)
THEN
125 offset = nixs*numels+6*numels10
126 cur_20 = cur_id-(numels8+numels10)
128 itagl(
ixs(offset+12*(cur_20-1)+k)) = 1
130 ELSEIF (eani2(cur_id)==16)
THEN
131 offset = nixs*numels+6*numels10+12*numels20
134 itagl(
ixs(offset+8*(cur_16-1)+k)) = 1
137 sum=itagl(face(1))+itagl(face(2))+itagl(face(3))+itagl(face(4))
138 IF (sum==4) eltag = 1
139 IF ((
tag_els(cur_id+npart)<(1+cont)).AND.
140 . (
tagno(iparts(cur_id))/=val).AND.(sum==4))
THEN
152 itagl(
ixc(nixc*(cur_id-1)+k)) = 1
155 IF (sum==4) eltag = 1
156 IF ((
tag_elc(cur_id+npart)<(1+cont)).AND.
157 . (
tagno(ipartc(cur_id))/=val).AND.(sum==4))
THEN
168 itagl(
ixtg(nixtg*(cur_id-1)+k)) = 1
170 sum=itagl(face(1))+itagl(face(2))+itagl(face(3))+itagl(face(4))
171 IF (sum==4) eltag = 1
172 IF ((
tag_elg(cur_id+npart)<(1+cont)).AND.
173 . (
tagno(ipartg(cur_id))/=val).AND.(sum==4))
THEN
181 IF (
tagno(face(k)+npart)==-1)
THEN
196 ni = igrnod(gr_id)%ENTITY(j)
200 IF ((
tag_els(cur_id+npart)<(1+cont)).AND.
201 . (
tagno(iparts(cur_id))/=val))
THEN
208 IF ((
tag_elc(cur_id+npart)<(1+cont)).AND.
209 . (
tagno(ipartc(cur_id))/=val))
THEN
216 IF ((
tag_elg(cur_id+npart)<(1+cont)).AND.
217 . (
tagno(ipartg(cur_id))/=val))
THEN
224 IF ((
tag_elsp(cur_id+npart)<(1+cont)).AND.
225 . (
tagno(ipartsp(cur_id))/=val))
THEN
250 2 IPARTC,IPARTG,IPARTT,IPARTP,IPARTR,VAL,CONT,
251 3 MODIF,WARN,IGRSLIN)
262#include "implicit_f.inc"
263#include "com04_c.inc"
267 INTEGER IPARTS(*),IPARTC(*),IPARTG(*),IPARTR(*),
268 . NB,,CONT,MODIF,IPARTT(*),IPARTP(*),WARN
269 TYPE (SURF_) :: IGRSLIN
273 INTEGER :: J,K,L,CUR_ID,NI1,NI2,FLAG
274 INTEGER :: ,CUR_P,CUR_10,CUR_20,CUR_16
282 ni1 = igrslin%NODES(j,1)
283 ni2 = igrslin%NODES(j,2)
288 IF ((
tag_elc(cur_id+npart)<(1+cont)).AND.
289 . (
tagno(ipartc(cur_id))/=val))
THEN
291 IF (
ixc(nixc*(cur_id-1)+k) == ni2) flag = 1
301 IF ((
tag_elg(cur_id+npart)<(1+cont)).AND.
302 . (
tagno(ipartg(cur_id))/=val))
THEN
304 IF (
ixtg(nixtg*(cur_id-1)+k) == ni2) flag = 1
314 IF (cur_id<=numelt)
THEN
316 IF ((
tag_elt(cur_id+npart)<(1+cont)).AND.
317 . (
tagno(ipartt(cur_id))/=val))
THEN
319 IF (
ixt(nixt*(cur_id-1)+k) == ni2) flag = 1
325 ELSEIF (cur_id<=(numelt+numelp))
THEN
327 cur_p = cur_id-numelt
328 IF ((
tag_elp(cur_p+npart)<(1+cont)).AND.
329 . (
tagno(ipartp(cur_p))/=val))
THEN
331 IF (
ixp(nixp*(cur_p-1)+k) == ni2) flag = 1
339 cur_p = cur_id-numelt-numelp
340 IF ((
tag_elr(cur_p+npart)<(1+cont)).AND.
341 . (
tagno(ipartr(cur_p))/=val))
THEN
343 IF (
ixr(nixr*(cur_p-1)+k) == ni2) flag = 1
346 IF (flag == 1) warn = 1
353 IF ((
tag_els(cur_id+npart)<(1+cont)).AND.
354 . (
tagno(iparts(cur_id))/=val))
THEN
356 IF(
ixs(nixs*(cur_id-1)+k) == ni2) flag = 1
358 IF (eani(cur_id)==10)
THEN
360 cur_10 = cur_id-numels8
362 IF(
ixs(offset+6*(cur_10-1)+k) == ni2) flag = 1
364 ELSEIF (eani(cur_id)==20)
THEN
365 offset = nixs*numels+6*numels10
366 cur_20 = cur_id-(numels8+numels10)
368 IF(
ixs(offset+12*(cur_20-1)+k) == ni2) flag = 1
370 ELSEIF (eani(cur_id)==16)
THEN
371 offset = nixs*numels+6*numels10+12*numels20
372 cur_16 = cur_id-(numels8+numels10+numels20)
374 IF(
ixs(offset+8*(cur_16-1)+k) == ni2) flag = 1
integer, dimension(:), allocatable knod2elc
integer, dimension(:), allocatable knod2els
integer, dimension(:), allocatable knod2el1d
integer, dimension(:), allocatable nod2el1d
integer, dimension(:), allocatable nod2eltg
integer, dimension(:), allocatable nod2elc
integer, dimension(:), allocatable nod2els
integer, dimension(:), allocatable knod2eltg
integer, dimension(:), allocatable tag_els
integer, dimension(:), allocatable tag_elg
integer, dimension(:), allocatable tagno
integer, dimension(:), allocatable tag_elc
integer, dimension(:), allocatable tag_elr
integer, dimension(:), allocatable tag_elt
integer, dimension(:), allocatable tag_elp
integer, dimension(:), allocatable tag_elsp
integer, dimension(:), allocatable, target ixs
integer, dimension(:), allocatable, target ipart
integer, dimension(:), allocatable ixt
integer, dimension(:), allocatable ixr
integer, dimension(:), allocatable, target ixtg
integer, dimension(:), allocatable nod2sp
integer, dimension(:), allocatable ixp
integer, dimension(:), allocatable ixc
subroutine r2r_void_1d(id_part, ipartl)
subroutine modif_tag(tag, new_tag, modif)
subroutine tag_elem_void_r2r_lin(nb, iparts, ipartc, ipartg, ipartt, ipartp, ipartr, val, cont, modif, warn, igrslin)
subroutine tagelem_r2r(numel, ipart, tagbuf, npart)
subroutine tag_elem_void_r2r(nb, iparts, ipartc, ipartg, ipartsp, val, cont, modif, itagl, f2, flag, eani2, igrsurf, igrnod, gr_id)