53 subroutine planenorm ( x1, y1, z1, x2, y2, z2, x3, y3, z3, xn, yn, &
100 REAL*8 :: tol = 1.0e-10
108 call
cross0_3d( x1, y1, z1, x2, y2, z2, x3, y3, z3, xn, yn,
zn )
110 temp =
sqrt( xn * xn + yn * yn +
zn *
zn )
112 if ( temp .LE. tol)
then
125 subroutine cross0_3d ( x0, y0, z0, x1, y1, z1, x2, y2, z2, x3, y3, z3 )
168 x3 = ( y1 - y0 ) * ( z2 - z0 ) - ( z1 - z0 ) * ( y2 - y0 )
169 y3 = ( z1 - z0 ) * ( x2 - x0 ) - ( x1 - x0 ) * ( z2 - z0 )
170 z3 = ( x1 - x0 ) * ( y2 - y0 ) - ( y1 - y0 ) * ( x2 - x0 )
235 real*8,
dimension(1:3) :: vnorm
240 offset = vnorm(1) * x2 + vnorm(2) * y2 + vnorm(3) * z2
real *8 function calcoffset(x1, y1, z1, x2, y2, z2)
real *8 function offset(vNorm, x2, y2, z2)
subroutine planenorm(x1, y1, z1, x2, y2, z2, x3, y3, z3, xn, yn, zn, same)
subroutine zn(P, qr, To, Ts, Toa, rb, fr)
subroutine cross0_3d(x0, y0, z0, x1, y1, z1, x2, y2, z2, x3, y3, z3)