65 REAL(RFREAL) ::
s,
p1(3), p2(3), xyz(3)
69 xyz(:) = (1._rfreal-
s)*
p1(:) +
s*p2(:)
76 SUBROUTINE rflo_tfint2d( s1,s2,s3,s4,e1,e2,e3,e4,p1,p2,p3,p4,xyz )
82 REAL(RFREAL) :: s1, s2, s3, s4
83 REAL(RFREAL) :: e1(3), e2(3), e3(3), e4(3)
84 REAL(RFREAL) ::
p1(3), p2(3), p3(3), p4(3)
85 REAL(RFREAL) :: xyz(3)
88 REAL(RFREAL) :: a1, a2, phij1, phij2, phii1, phii2
94 phij1 = (s1-a1*s3)/(1._rfreal-a1*a2)
95 phij2 = 1._rfreal - phij1
96 phii1 = (s3-a2*s1)/(1._rfreal-a1*a2)
97 phii2 = 1._rfreal - phii1
98 xyz(:) = phij2*e3(:) + phij1*e4(:) + &
99 phii2*e1(:) + phii1*e2(:) - &
100 phij2*phii2*
p1(:) - phij1*phii1*p3(:) - &
101 phij2*phii1*p2(:) - phij1*phii2*p4(:)
subroutine rflo_tfint2d(s1, s2, s3, s4, e1, e2, e3, e4, p1, p2, p3, p4, xyz)
subroutine rflo_tfint1d(s, p1, p2, xyz)