29 function hyeff(k11, k22, k33, ang1, ang2, ang3, vg1, vg2, vg3, &
34 real(dp),
intent(in) :: k11
35 real(dp),
intent(in) :: k22
36 real(dp),
intent(in) :: k33
37 real(dp),
intent(in) :: ang1
38 real(dp),
intent(in) :: ang2
39 real(dp),
intent(in) :: ang3
40 real(dp),
intent(in) :: vg1
41 real(dp),
intent(in) :: vg2
42 real(dp),
intent(in) :: vg3
43 integer(I4B),
intent(in) :: iavgmeth
45 real(dp) :: s1, s2, s3, c1, c2, c3
46 real(dp),
dimension(3, 3) :: r
47 real(dp) :: ve1, ve2, ve3
48 real(dp) :: denom, dnum, d1, d2, d3
60 r(1, 2) = c1 * s2 * s3 - s1 * c3
61 r(1, 3) = -c1 * s2 * c3 - s1 * s3
63 r(2, 2) = s1 * s2 * s3 + c1 * c3
64 r(2, 3) = -s1 * s2 * c3 + c1 * s3
71 ve1 = r(1, 1) * vg1 + r(2, 1) * vg2 + r(3, 1) * vg3
72 ve2 = r(1, 2) * vg1 + r(2, 2) * vg2 + r(3, 2) * vg3
73 ve3 = r(1, 3) * vg1 + r(2, 3) * vg2 + r(3, 3) * vg3
78 if (iavgmeth == 0)
then
86 if (ve1 /=
dzero)
then
91 if (ve2 /=
dzero)
then
96 if (ve3 /=
dzero)
then
102 if (denom >
dzero) k = dnum / denom
103 else if (iavgmeth == 1)
then
105 k = ve1**2 * k11 + ve2**2 * k22 + ve3**2 * k33
This module contains simulation constants.
real(dp), parameter dzero
real constant zero
real(dp), parameter done
real constant 1
General-purpose hydrogeologic functions.
real(dp) function, public hyeff(k11, k22, k33, ang1, ang2, ang3, vg1, vg2, vg3, iavgmeth)
Calculate the effective horizontal hydraulic conductivity from an ellipse using a specified direction...
This module defines variable data types.