27 integer v(3,*),n,i,t,list(*),numtri,p,e(3,*),maxstk,topstk,
28 &
v1,v2,v3,l,r,
pop,a,b,c,erl,era,erb,
edg,
triloc,numpts,
29 & tstrt,tstop,stack(*)
31 real*8 x(*),y(*),xp,yp,c00000,c00100
35 parameter(c00000=0.d0,
62 t=
triloc(xp,yp,x,y,v,e,numtri)
92 call push(t,maxstk,topstk,stack)
95 e(
edg(b,t,e),b)=numtri-1
96 call push(numtri-1,maxstk,topstk,stack)
99 e(
edg(c,t,e),c)=numtri
100 call push(numtri,maxstk,topstk,stack)
103 50
if(topstk.gt.0)
then 113 if(
swap(x(
v1),y(
v1),x(v2),y(v2),x(v3),y(v3),xp,yp))
then 128 call push(l,maxstk,topstk,stack)
131 call push(r,maxstk,topstk,stack)
140 if(numtri.ne.2*n+1)
then 141 write(6,
'("o***error in subroutine delaun***")')
142 write(6,
'(" ***incorrect number of triangls formed***")')
146 if((v(1,t).gt.numpts).or.
147 & (v(2,t).gt.numpts).or.
148 & (v(3,t).gt.numpts))
then 162 if((v(1,t).gt.numpts).or.
163 & (v(2,t).gt.numpts).or.
164 & (v(3,t).gt.numpts))
then 178 e(
edg(a,t,e),a)=numtri
logical function swap(x1, y1, x2, y2, x3, y3, xp, yp)
Definition: swap.f:24
integer function pop(topstk, stack)
Definition: pop.f:24
integer function triloc(xp, yp, x, y, v, e, numtri)
Definition: triloc.f:24
subroutine push(item, maxstk, topstk, stack)
Definition: push.f:24
static double * v1
Definition: mafillsmmain_se.c:40
integer function edg(l, k, e)
Definition: edg.f:24