MODFLOW 6
version 6.5.0.dev2
MODFLOW 6 Code Documentation
|
Functions/Subroutines | |
subroutine, public | traverse_triangle (isolv, tol, step, texit, alpexit, betexit, itrifaceenter, itrifaceexit, rxx, rxy, ryx, ryy, alp0, bet0, alp1, bet1, alp2, bet2, alpi, beti, vziodz, az, bary) |
Traverse triangular cell. More... | |
subroutine, public | canonical (x0, y0, x1, y1, x2, y2, v0x, v0y, v1x, v1y, v2x, v2y, xi, yi, rxx, rxy, ryx, ryy, sxx, sxy, syy, alp0, bet0, alp1, bet1, alp2, bet2, alpi, beti, bary) |
Set coordinates to "canonical" configuration. More... | |
subroutine, public | get_w (alp1, bet1, alp2, bet2, waa, wab, wba, wbb, bary) |
Compute elements of W matrix. More... | |
subroutine, public | solve_coefs (alpi, beti) |
Compute analytical solution coefficients depending on case. More... | |
subroutine, public | step_analytical (t, alp, bet) |
Step (evaluate) analytically depending on case. More... | |
subroutine, public | step_euler (nt, step, vziodz, az, alpi, beti, t, alp, bet) |
Step (evaluate) numerically depending in case. More... | |
subroutine, public | find_exit_bary (isolv, itriface, itrifaceenter, alpi, beti, tol, step, vziodz, az, texit, alpexit, betexit) |
Find the exit time and location in barycentric coordinates. More... | |
real(dp) function | fbary1 (bet) |
Brent's method applied to canonical face 1 (gamma = 0) More... | |
real(dp) function | fbary2 (bet) |
Brent's method applied to canonical face 2 (alpha = 0) More... | |
subroutine, public | get_t_alpt (bet, t, alp) |
Given beta evaluate t and alpha depending on case. More... | |
subroutine, public | get_bet_outflow_bary (vn1, vn2, betoutlo, betouthi) |
Find outflow interval. More... | |
subroutine, public | get_bet_soln_limits (beti, betsollo, betsolhi, ibettrend) |
Find trend of and limits on beta from beta{t} solution. More... | |
subroutine, public | soln_brent (itriface, betlo, bethi, tol, texit, alpexit, betexit) |
Use Brent's method with initial bounds on beta of betlo and bethi. More... | |
subroutine, public | soln_chand (itriface, betlo, bethi, tol, texit, alpexit, betexit) |
Use Chandrupatla's method with initial bounds on beta of betlo and bethi. More... | |
subroutine, public | soln_test (itriface, betlo, bethi, tol, texit, alpexit, betexit) |
Use a test method with initial bounds on beta of betlo and bethi. More... | |
subroutine, public | soln_euler (itriface, alpi, beti, step, vziodz, az, texit, alpexit, betexit) |
Use Euler integration to find exit. More... | |
Variables | |
real(dp) | ca1 |
real(dp) | ca2 |
real(dp) | ca3 |
real(dp) | cb1 |
real(dp) | cb2 |
Analytical solution coefficients. More... | |
real(dp) | waa |
real(dp) | wab |
real(dp) | wba |
real(dp) | wbb |
Elements of the "velocity matrix," W. More... | |
real(dp), dimension(2) | cv0 |
real(dp), dimension(2) | cv1 |
real(dp), dimension(2) | cv2 |
"Canonical" velocity components at corners of triangular subcell More... | |
integer(i4b) | icase |
Case index for analytical solution. More... | |
subroutine, public ternarysolvetrack::canonical | ( | real(dp) | x0, |
real(dp) | y0, | ||
real(dp) | x1, | ||
real(dp) | y1, | ||
real(dp) | x2, | ||
real(dp) | y2, | ||
real(dp) | v0x, | ||
real(dp) | v0y, | ||
real(dp) | v1x, | ||
real(dp) | v1y, | ||
real(dp) | v2x, | ||
real(dp) | v2y, | ||
real(dp) | xi, | ||
real(dp) | yi, | ||
real(dp) | rxx, | ||
real(dp) | rxy, | ||
real(dp) | ryx, | ||
real(dp) | ryy, | ||
real(dp), intent(inout) | sxx, | ||
real(dp), intent(inout) | sxy, | ||
real(dp), intent(inout) | syy, | ||
real(dp) | alp0, | ||
real(dp) | bet0, | ||
real(dp) | alp1, | ||
real(dp) | bet1, | ||
real(dp) | alp2, | ||
real(dp) | bet2, | ||
real(dp) | alpi, | ||
real(dp) | beti, | ||
logical(lgp), intent(in) | bary | ||
) |
ryy | rotation matrix | |
[in,out] | syy | skew matrix entries (top left, top right, bottom right) |
beti | alpha and beta coefficients | |
[in] | bary | whether to use barycentric coordinates |
Definition at line 117 of file TernarySolveTrack.f90.
|
private |
Definition at line 634 of file TernarySolveTrack.f90.
|
private |
Definition at line 648 of file TernarySolveTrack.f90.
subroutine, public ternarysolvetrack::find_exit_bary | ( | integer(i4b) | isolv, |
integer(i4b) | itriface, | ||
integer(i4b) | itrifaceenter, | ||
real(dp) | alpi, | ||
real(dp) | beti, | ||
real(dp) | tol, | ||
real(dp) | step, | ||
real(dp) | vziodz, | ||
real(dp) | az, | ||
real(dp) | texit, | ||
real(dp) | alpexit, | ||
real(dp) | betexit | ||
) |
Definition at line 443 of file TernarySolveTrack.f90.
subroutine, public ternarysolvetrack::get_bet_outflow_bary | ( | real(dp) | vn1, |
real(dp) | vn2, | ||
real(dp) | betoutlo, | ||
real(dp) | betouthi | ||
) |
subroutine, public ternarysolvetrack::get_bet_soln_limits | ( | real(dp), intent(in) | beti, |
real(dp) | betsollo, | ||
real(dp) | betsolhi, | ||
integer(i4b), intent(inout) | ibettrend | ||
) |
subroutine, public ternarysolvetrack::get_t_alpt | ( | real(dp), intent(in) | bet, |
real(dp) | t, | ||
real(dp) | alp | ||
) |
subroutine, public ternarysolvetrack::get_w | ( | real(dp) | alp1, |
real(dp) | bet1, | ||
real(dp) | alp2, | ||
real(dp) | bet2, | ||
real(dp) | waa, | ||
real(dp) | wab, | ||
real(dp) | wba, | ||
real(dp) | wbb, | ||
logical(lgp), intent(in), optional | bary | ||
) |
bet2 | triangle face points | |
wbb | w matrix | |
[in] | bary | barycentric coordinates |
Definition at line 218 of file TernarySolveTrack.f90.
subroutine, public ternarysolvetrack::soln_brent | ( | integer(i4b), intent(in) | itriface, |
real(dp) | betlo, | ||
real(dp) | bethi, | ||
real(dp), intent(in) | tol, | ||
real(dp) | texit, | ||
real(dp) | alpexit, | ||
real(dp) | betexit | ||
) |
Definition at line 790 of file TernarySolveTrack.f90.
subroutine, public ternarysolvetrack::soln_chand | ( | integer(i4b), intent(in) | itriface, |
real(dp) | betlo, | ||
real(dp) | bethi, | ||
real(dp), intent(in) | tol, | ||
real(dp) | texit, | ||
real(dp) | alpexit, | ||
real(dp) | betexit | ||
) |
Definition at line 826 of file TernarySolveTrack.f90.
subroutine, public ternarysolvetrack::soln_euler | ( | integer(i4b), intent(in) | itriface, |
real(dp) | alpi, | ||
real(dp) | beti, | ||
real(dp), intent(in) | step, | ||
real(dp) | vziodz, | ||
real(dp) | az, | ||
real(dp) | texit, | ||
real(dp) | alpexit, | ||
real(dp) | betexit | ||
) |
Definition at line 896 of file TernarySolveTrack.f90.
subroutine, public ternarysolvetrack::soln_test | ( | integer(i4b), intent(in) | itriface, |
real(dp) | betlo, | ||
real(dp) | bethi, | ||
real(dp), intent(in) | tol, | ||
real(dp) | texit, | ||
real(dp) | alpexit, | ||
real(dp) | betexit | ||
) |
Definition at line 861 of file TernarySolveTrack.f90.
subroutine, public ternarysolvetrack::solve_coefs | ( | real(dp) | alpi, |
real(dp) | beti | ||
) |
subroutine, public ternarysolvetrack::step_analytical | ( | real(dp), intent(in) | t, |
real(dp) | alp, | ||
real(dp) | bet | ||
) |
subroutine, public ternarysolvetrack::step_euler | ( | integer(i4b) | nt, |
real(dp), intent(in) | step, | ||
real(dp) | vziodz, | ||
real(dp) | az, | ||
real(dp) | alpi, | ||
real(dp) | beti, | ||
real(dp), intent(inout) | t, | ||
real(dp) | alp, | ||
real(dp) | bet | ||
) |
Definition at line 369 of file TernarySolveTrack.f90.
subroutine, public ternarysolvetrack::traverse_triangle | ( | integer(i4b), intent(in) | isolv, |
real(dp), intent(in) | tol, | ||
real(dp), intent(in) | step, | ||
real(dp), intent(out) | texit, | ||
real(dp) | alpexit, | ||
real(dp) | betexit, | ||
integer(i4b) | itrifaceenter, | ||
integer(i4b) | itrifaceexit, | ||
real(dp) | rxx, | ||
real(dp) | rxy, | ||
real(dp) | ryx, | ||
real(dp) | ryy, | ||
real(dp) | alp0, | ||
real(dp) | bet0, | ||
real(dp) | alp1, | ||
real(dp) | bet1, | ||
real(dp) | alp2, | ||
real(dp) | bet2, | ||
real(dp) | alpi, | ||
real(dp) | beti, | ||
real(dp) | vziodz, | ||
real(dp) | az, | ||
logical(lgp), intent(in) | bary | ||
) |
[in] | isolv | solution method |
[in] | tol | solution tolerance |
[in] | step | stepsize for numerical methods (e.g. euler) |
[out] | texit | time particle exits the cell |
betexit | alpha and beta coefficients | |
itrifaceexit | entry and exit faces | |
ryy | rotation matrix | |
beti | alpha and beta coefficients | |
[in] | bary | whether to use barycentric coordinates |
Definition at line 34 of file TernarySolveTrack.f90.
|
private |
Definition at line 26 of file TernarySolveTrack.f90.
|
private |
Definition at line 26 of file TernarySolveTrack.f90.
|
private |
Definition at line 26 of file TernarySolveTrack.f90.
|
private |
Definition at line 26 of file TernarySolveTrack.f90.
|
private |
Definition at line 26 of file TernarySolveTrack.f90.
|
private |
Definition at line 28 of file TernarySolveTrack.f90.
|
private |
Definition at line 28 of file TernarySolveTrack.f90.
|
private |
Definition at line 28 of file TernarySolveTrack.f90.
|
private |
Definition at line 29 of file TernarySolveTrack.f90.
|
private |
Definition at line 27 of file TernarySolveTrack.f90.
|
private |
Definition at line 27 of file TernarySolveTrack.f90.
|
private |
Definition at line 27 of file TernarySolveTrack.f90.
|
private |
Definition at line 27 of file TernarySolveTrack.f90.