![]() |
MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
|

Public Member Functions | |
| procedure | xt3d_df (this, dis) |
| Define the xt3d object. | |
| procedure | xt3d_ac (this, moffset, sparse) |
| Add connections for extended neighbors to the sparse matrix. | |
| procedure | xt3d_mc (this, moffset, matrix_sln) |
| Map connections and construct iax, jax, and idxglox. | |
| procedure | xt3d_ar (this, ibound, k11, ik33, k33, sat, ik22, k22, iangle1, iangle2, iangle3, angle1, angle2, angle3, inewton, icelltype) |
| Allocate and Read. | |
| procedure | xt3d_fc (this, kiter, matrix_sln, idxglo, rhs, hnew) |
| Formulate. | |
| procedure | xt3d_fcpc (this, nodes, lsat) |
| Formulate for permanently confined connections and save in amatpc and amatpcx. | |
| procedure | xt3d_fhfb (this, kiter, nodes, nja, matrix_sln, idxglo, rhs, hnew, n, m, condhfb) |
| Formulate HFB correction. | |
| procedure | xt3d_flowjahfb (this, n, m, hnew, flowja, condhfb) |
| hfb contribution to flowja when xt3d is used | |
| procedure | xt3d_fn (this, kiter, nodes, nja, matrix_sln, idxglo, rhs, hnew) |
| Fill Newton terms for xt3d. | |
| procedure | xt3d_flowja (this, hnew, flowja) |
| Budget. | |
| procedure | xt3d_da (this) |
| Deallocate variables. | |
Public Attributes | |
| character(len=lenmempath) | memorypath |
| location in memory manager for storing package variables | |
| integer(i4b), pointer | inunit => null() |
| unit number from where xt3d was read | |
| integer(i4b), pointer | iout => null() |
| unit number for output | |
| integer(i4b), pointer | inewton => null() |
| Newton flag. | |
| integer(i4b), dimension(:), pointer, contiguous | ibound => null() |
| pointer to model ibound | |
| integer(i4b), dimension(:), pointer, contiguous | iax => null() |
| ia array for extended neighbors used by xt3d | |
| integer(i4b), dimension(:), pointer, contiguous | jax => null() |
| ja array for extended neighbors used by xt3d | |
| integer(i4b), dimension(:), pointer, contiguous | idxglox => null() |
| mapping array for extended neighbors used by xt3d | |
| integer(i4b), dimension(:), pointer, contiguous | ia_xt3d => null() |
| ia array for local extended xt3d connections (no diagonal) | |
| integer(i4b), dimension(:), pointer, contiguous | ja_xt3d => null() |
| ja array for local extended xt3d connections (no diagonal) | |
| integer(i4b), pointer | numextnbrs => null() |
| dimension of jax array | |
| integer(i4b), pointer | ixt3d => null() |
| xt3d flag (0 is off, 1 is lhs, 2 is rhs) | |
| logical, pointer | nozee => null() |
| nozee flag | |
| real(dp), pointer | vcthresh => null() |
| attenuation function threshold | |
| real(dp), dimension(:, :), pointer, contiguous | rmatck => null() |
| rotation matrix for the conductivity tensor | |
| real(dp), dimension(:), pointer, contiguous | qsat => null() |
| saturated flow saved for Newton | |
| integer(i4b), pointer | nbrmax => null() |
| maximum number of neighbors for any cell | |
| real(dp), dimension(:), pointer, contiguous | amatpc => null() |
| saved contributions to amat from permanently confined connections, direct neighbors | |
| real(dp), dimension(:), pointer, contiguous | amatpcx => null() |
| saved contributions to amat from permanently confined connections, extended neighbors | |
| integer(i4b), dimension(:), pointer, contiguous | iallpc => null() |
| indicates for each node whether all connections processed by xt3d are permanently confined (0 no, 1 yes) | |
| logical, pointer | lamatsaved => null() |
| indicates whether amat has been saved for permanently confined connections | |
| class(disbasetype), pointer | dis => null() |
| discretization object | |
| real(dp), dimension(:), pointer, contiguous | k11 => null() |
| horizontal hydraulic conductivity | |
| real(dp), dimension(:), pointer, contiguous | k22 => null() |
| minor axis of horizontal hydraulic conductivity ellipse | |
| real(dp), dimension(:), pointer, contiguous | k33 => null() |
| vertical hydraulic conductivity | |
| integer(i4b), pointer | ik22 => null() |
| flag indicates K22 was read | |
| integer(i4b), pointer | ik33 => null() |
| flag indicates K33 was read | |
| real(dp), dimension(:), pointer, contiguous | sat => null() |
| saturation (0. to 1.) for each cell | |
| integer(i4b), dimension(:), pointer, contiguous | icelltype => null() |
| cell type (confined or unconfined) | |
| integer(i4b), pointer | iangle1 => null() |
| flag to indicate angle1 was read | |
| integer(i4b), pointer | iangle2 => null() |
| flag to indicate angle2 was read | |
| integer(i4b), pointer | iangle3 => null() |
| flag to indicate angle3 was read | |
| real(dp), dimension(:), pointer, contiguous | angle1 => null() |
| k ellipse rotation in xy plane around z axis (yaw) | |
| real(dp), dimension(:), pointer, contiguous | angle2 => null() |
| k ellipse rotation up from xy plane around y axis (pitch) | |
| real(dp), dimension(:), pointer, contiguous | angle3 => null() |
| k tensor rotation around x axis (roll) | |
| logical, pointer | ldispersion => null() |
| flag to indicate dispersion | |
Private Member Functions | |
| procedure, private | allocate_scalars (this) |
| Allocate scalar pointer variables. | |
| procedure, private | allocate_arrays (this) |
| Allocate xt3d arrays. | |
| procedure, private | xt3d_load (this, nodes, n, nnbr, inbr, vc, vn, dl, dln, ck, allhc) |
| Load conductivity and connection info for a cell into arrays used by XT3D. | |
| procedure, private | xt3d_load_inbr (this, n, nnbr, inbr) |
| Load neighbor list for a cell. | |
| procedure, private | xt3d_indices (this, n, m, il0, ii01, jjs01, il01, il10, ii00, ii11, ii10) |
| Set various indices for XT3D. | |
| procedure, private | xt3d_areas (this, nodes, n, m, jjs01, lsat, ar01, ar10, hnew, qsat) |
| Compute interfacial areas. | |
| procedure, private | xt3d_amat_nbrs (this, nodes, n, idiag, nnbr, nja, matrix_sln, inbr, idxglo, chat) |
| Add contributions from neighbors to amat. | |
| procedure, private | xt3d_amatpc_nbrs (this, nodes, n, idiag, nnbr, inbr, chat) |
| Add contributions from neighbors to amatpc. | |
| procedure, private | xt3d_amat_nbrnbrs (this, nodes, n, m, ii01, nnbr, nja, matrix_sln, inbr, idxglo, chat) |
| Add contributions from neighbors of neighbor to amat. | |
| procedure, private | xt3d_amatpcx_nbrnbrs (this, nodes, n, m, ii01, nnbr, inbr, chat) |
| Add contributions from neighbors of neighbor to amatpc and amatpcx. | |
| procedure, private | xt3d_iallpc (this) |
| Allocate and populate iallpc array. Set lamatsaved. | |
| procedure, private | xt3d_get_iinm (this, n, m, iinm) |
| Get position of n-m connection in ja array (return 0 if not connected). | |
| procedure, private | xt3d_get_iinmx (this, n, m, iinmx) |
| Get position of n-m "extended connection" in jax array (return 0 if not connected). | |
| procedure, private | xt3d_rhs (this, nodes, n, m, nnbr, inbr, chat, hnew, rhs) |
| Add contributions to rhs. | |
| procedure, private | xt3d_fillrmatck (this, n) |
| Fill rmat array for cell n. | |
| procedure, private | xt3d_qnbrs (this, nodes, n, m, nnbr, inbr, chat, hnew, qnbrs) |
| Add contributions to flow from neighbors. | |
Definition at line 13 of file Xt3dInterface.f90.
|
private |
Definition at line 67 of file Xt3dInterface.f90.
|
private |
Definition at line 66 of file Xt3dInterface.f90.
| procedure xt3dmodule::xt3dtype::xt3d_ac | ( | class(xt3dtype) | this, |
| integer(i4b), intent(in) | moffset, | ||
| type(sparsematrix), intent(inout) | sparse ) |
Definition at line 56 of file Xt3dInterface.f90.
|
private |
Definition at line 74 of file Xt3dInterface.f90.
|
private |
Definition at line 72 of file Xt3dInterface.f90.
|
private |
Definition at line 73 of file Xt3dInterface.f90.
|
private |
Definition at line 75 of file Xt3dInterface.f90.
| procedure xt3dmodule::xt3dtype::xt3d_ar | ( | class(xt3dtype) | this, |
| integer(i4b), dimension(:), intent(inout), pointer, contiguous | ibound, | ||
| real(dp), dimension(:), intent(in), pointer, contiguous | k11, | ||
| integer(i4b), intent(in), pointer | ik33, | ||
| real(dp), dimension(:), intent(in), pointer, contiguous | k33, | ||
| real(dp), dimension(:), intent(in), pointer, contiguous | sat, | ||
| integer(i4b), intent(in), pointer | ik22, | ||
| real(dp), dimension(:), intent(in), pointer, contiguous | k22, | ||
| integer(i4b), intent(in), pointer | iangle1, | ||
| integer(i4b), intent(in), pointer | iangle2, | ||
| integer(i4b), intent(in), pointer | iangle3, | ||
| real(dp), dimension(:), intent(in), pointer, contiguous | angle1, | ||
| real(dp), dimension(:), intent(in), pointer, contiguous | angle2, | ||
| real(dp), dimension(:), intent(in), pointer, contiguous | angle3, | ||
| integer(i4b), intent(in), optional, pointer | inewton, | ||
| integer(i4b), dimension(:), intent(in), optional, pointer, contiguous | icelltype ) |
Definition at line 58 of file Xt3dInterface.f90.
|
private |
| [in] | qsat | saturated flow into n from m; if present, its sign selects the upstream cell |
Definition at line 71 of file Xt3dInterface.f90.
| procedure xt3dmodule::xt3dtype::xt3d_da | ( | class(xt3dtype) | this | ) |
Definition at line 65 of file Xt3dInterface.f90.
| procedure xt3dmodule::xt3dtype::xt3d_df | ( | class(xt3dtype) | this, |
| class(disbasetype), intent(inout), pointer | dis ) |
Definition at line 55 of file Xt3dInterface.f90.
| procedure xt3dmodule::xt3dtype::xt3d_fc | ( | class(xt3dtype) | this, |
| integer(i4b) | kiter, | ||
| class(matrixbasetype), pointer | matrix_sln, | ||
| integer(i4b), dimension(:), intent(in) | idxglo, | ||
| real(dp), dimension(:), intent(inout) | rhs, | ||
| real(dp), dimension(:), intent(inout) | hnew ) |
Definition at line 59 of file Xt3dInterface.f90.
| procedure xt3dmodule::xt3dtype::xt3d_fcpc | ( | class(xt3dtype) | this, |
| integer(i4b), intent(in) | nodes, | ||
| logical, intent(in) | lsat ) |
| [in] | lsat | if true, then calculations made with saturated areas (should be false for solute dispersion; should be true for heat) |
Definition at line 60 of file Xt3dInterface.f90.
| procedure xt3dmodule::xt3dtype::xt3d_fhfb | ( | class(xt3dtype) | this, |
| integer(i4b) | kiter, | ||
| integer(i4b), intent(in) | nodes, | ||
| integer(i4b), intent(in) | nja, | ||
| class(matrixbasetype), pointer | matrix_sln, | ||
| integer(i4b), dimension(nja), intent(in) | idxglo, | ||
| real(dp), dimension(nodes), intent(inout) | rhs, | ||
| real(dp), dimension(nodes), intent(inout) | hnew, | ||
| integer(i4b) | n, | ||
| integer(i4b) | m, | ||
| real(dp) | condhfb ) |
Definition at line 61 of file Xt3dInterface.f90.
|
private |
angle1, 2, and 3 must be in radians.
Definition at line 80 of file Xt3dInterface.f90.
| procedure xt3dmodule::xt3dtype::xt3d_flowja | ( | class(xt3dtype) | this, |
| real(dp), dimension(:), intent(inout) | hnew, | ||
| real(dp), dimension(:), intent(inout) | flowja ) |
Definition at line 64 of file Xt3dInterface.f90.
| procedure xt3dmodule::xt3dtype::xt3d_flowjahfb | ( | class(xt3dtype) | this, |
| integer(i4b) | n, | ||
| integer(i4b) | m, | ||
| real(dp), dimension(:), intent(inout) | hnew, | ||
| real(dp), dimension(:), intent(inout) | flowja, | ||
| real(dp) | condhfb ) |
Definition at line 62 of file Xt3dInterface.f90.
| procedure xt3dmodule::xt3dtype::xt3d_fn | ( | class(xt3dtype) | this, |
| integer(i4b) | kiter, | ||
| integer(i4b), intent(in) | nodes, | ||
| integer(i4b), intent(in) | nja, | ||
| class(matrixbasetype), pointer | matrix_sln, | ||
| integer(i4b), dimension(nja), intent(in) | idxglo, | ||
| real(dp), dimension(nodes), intent(inout) | rhs, | ||
| real(dp), dimension(nodes), intent(inout) | hnew ) |
Definition at line 63 of file Xt3dInterface.f90.
|
private |
Definition at line 77 of file Xt3dInterface.f90.
|
private |
Definition at line 78 of file Xt3dInterface.f90.
|
private |
Definition at line 76 of file Xt3dInterface.f90.
|
private |
Definition at line 70 of file Xt3dInterface.f90.
|
private |
Definition at line 68 of file Xt3dInterface.f90.
|
private |
Definition at line 69 of file Xt3dInterface.f90.
| procedure xt3dmodule::xt3dtype::xt3d_mc | ( | class(xt3dtype) | this, |
| integer(i4b), intent(in) | moffset, | ||
| class(matrixbasetype), pointer | matrix_sln ) |
Definition at line 57 of file Xt3dInterface.f90.
|
private |
Definition at line 81 of file Xt3dInterface.f90.
|
private |
Definition at line 79 of file Xt3dInterface.f90.
| real(dp), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::amatpc => null() |
Definition at line 32 of file Xt3dInterface.f90.
| real(dp), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::amatpcx => null() |
Definition at line 33 of file Xt3dInterface.f90.
| real(dp), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::angle1 => null() |
Definition at line 48 of file Xt3dInterface.f90.
| real(dp), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::angle2 => null() |
Definition at line 49 of file Xt3dInterface.f90.
| real(dp), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::angle3 => null() |
Definition at line 50 of file Xt3dInterface.f90.
| class(disbasetype), pointer xt3dmodule::xt3dtype::dis => null() |
Definition at line 36 of file Xt3dInterface.f90.
| integer(i4b), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::ia_xt3d => null() |
Definition at line 23 of file Xt3dInterface.f90.
| integer(i4b), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::iallpc => null() |
Definition at line 34 of file Xt3dInterface.f90.
| integer(i4b), pointer xt3dmodule::xt3dtype::iangle1 => null() |
Definition at line 45 of file Xt3dInterface.f90.
| integer(i4b), pointer xt3dmodule::xt3dtype::iangle2 => null() |
Definition at line 46 of file Xt3dInterface.f90.
| integer(i4b), pointer xt3dmodule::xt3dtype::iangle3 => null() |
Definition at line 47 of file Xt3dInterface.f90.
| integer(i4b), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::iax => null() |
Definition at line 20 of file Xt3dInterface.f90.
| integer(i4b), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::ibound => null() |
Definition at line 19 of file Xt3dInterface.f90.
| integer(i4b), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::icelltype => null() |
Definition at line 44 of file Xt3dInterface.f90.
| integer(i4b), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::idxglox => null() |
Definition at line 22 of file Xt3dInterface.f90.
| integer(i4b), pointer xt3dmodule::xt3dtype::ik22 => null() |
Definition at line 41 of file Xt3dInterface.f90.
| integer(i4b), pointer xt3dmodule::xt3dtype::ik33 => null() |
Definition at line 42 of file Xt3dInterface.f90.
| integer(i4b), pointer xt3dmodule::xt3dtype::inewton => null() |
Definition at line 18 of file Xt3dInterface.f90.
| integer(i4b), pointer xt3dmodule::xt3dtype::inunit => null() |
Definition at line 16 of file Xt3dInterface.f90.
| integer(i4b), pointer xt3dmodule::xt3dtype::iout => null() |
Definition at line 17 of file Xt3dInterface.f90.
| integer(i4b), pointer xt3dmodule::xt3dtype::ixt3d => null() |
Definition at line 26 of file Xt3dInterface.f90.
| integer(i4b), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::ja_xt3d => null() |
Definition at line 24 of file Xt3dInterface.f90.
| integer(i4b), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::jax => null() |
Definition at line 21 of file Xt3dInterface.f90.
| real(dp), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::k11 => null() |
Definition at line 38 of file Xt3dInterface.f90.
| real(dp), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::k22 => null() |
Definition at line 39 of file Xt3dInterface.f90.
| real(dp), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::k33 => null() |
Definition at line 40 of file Xt3dInterface.f90.
| logical, pointer xt3dmodule::xt3dtype::lamatsaved => null() |
Definition at line 35 of file Xt3dInterface.f90.
| logical, pointer xt3dmodule::xt3dtype::ldispersion => null() |
Definition at line 51 of file Xt3dInterface.f90.
| character(len=lenmempath) xt3dmodule::xt3dtype::memorypath |
Definition at line 15 of file Xt3dInterface.f90.
| integer(i4b), pointer xt3dmodule::xt3dtype::nbrmax => null() |
Definition at line 31 of file Xt3dInterface.f90.
| logical, pointer xt3dmodule::xt3dtype::nozee => null() |
Definition at line 27 of file Xt3dInterface.f90.
| integer(i4b), pointer xt3dmodule::xt3dtype::numextnbrs => null() |
Definition at line 25 of file Xt3dInterface.f90.
| real(dp), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::qsat => null() |
Definition at line 30 of file Xt3dInterface.f90.
| real(dp), dimension(:, :), pointer, contiguous xt3dmodule::xt3dtype::rmatck => null() |
Definition at line 29 of file Xt3dInterface.f90.
| real(dp), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::sat => null() |
Definition at line 43 of file Xt3dInterface.f90.
| real(dp), pointer xt3dmodule::xt3dtype::vcthresh => null() |
Definition at line 28 of file Xt3dInterface.f90.