2 * (vk
,tail
, v
,l
, last
,next
, mark
)
3 c***********************************************************************
4 c mdm -- form element from uneliminated neighbors of vk
5 c***********************************************************************
6 integer vk
, tail
, v
(*), l
(*), last
(*), next
(*), mark
(*),
7 * tag
, s
,ls
,vs
,es
, b
,lb
,vb
, blp
,blpmax
10 c----initialize tag and list of uneliminated neighbors
14 c----for each vertex/element vs/es in element list of vk
20 if (next
(vs
).lt
.0) go to 2
22 c------if vs is uneliminated vertex, then tag and append to list of
23 c------uneliminated neighbors
29 c------if es is active element, then ...
30 c--------for each vertex vb in boundary list of element es
38 c----------if vb is untagged vertex, then tag and append to list of
39 c----------uneliminated neighbors
40 if (mark
(vb
).ge
.tag
) go to 3
46 c--------mark es inactive
51 c----terminate list of uneliminated neighbors