Go to the source code of this file.
|
subroutine | cellave (xlow, ylow, dx, dy, wl) |
|
◆ cellave()
subroutine cellave |
( |
|
xlow, |
|
|
|
ylow, |
|
|
|
dx, |
|
|
|
dy, |
|
|
|
wl |
|
) |
| |
Definition at line 7 of file cellave.f.
References fdisc(), fss(), and zeroin().
8 implicit double precision (a-h,o-z)
10 logical fl(5),alll,allr
11 dimension x(10),y(10),xx(5),yy(5)
12 common/fsscorn/ xc0,yc0,xc1,yc1
37 fl(i) =
fdisc(xx(i),yy(i)) .lt. 0.d0
38 alll = alll .and. fl(i)
39 allr = allr .and. (.not. fl(i))
59 if (fl(i).neqv.fl(i+1))
then 67 x(iv) = xx(i) + ss*(xx(i+1)-xx(i))
68 y(iv) = yy(i) + ss*(yy(i+1)-yy(i))
83 area = area + .5d0*(y(i)+y(i+1))*(x(i+1)-x(i))
function zeroin(ax, bx, f, tol)