MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
Collaboration diagram for xt3dmodule::xt3dtype:
Collaboration graph

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.

Detailed Description

Definition at line 13 of file Xt3dInterface.f90.

Member Function/Subroutine Documentation

◆ allocate_arrays()

procedure, private xt3dmodule::xt3dtype::allocate_arrays ( class(xt3dtype) this)
private

Definition at line 67 of file Xt3dInterface.f90.

◆ allocate_scalars()

procedure, private xt3dmodule::xt3dtype::allocate_scalars ( class(xt3dtype) this)
private

Definition at line 66 of file Xt3dInterface.f90.

◆ xt3d_ac()

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.

◆ xt3d_amat_nbrnbrs()

procedure, private xt3dmodule::xt3dtype::xt3d_amat_nbrnbrs ( class(xt3dtype) this,
integer(i4b), intent(in) nodes,
integer(i4b) n,
integer(i4b) m,
integer(i4b) ii01,
integer(i4b) nnbr,
integer(i4b) nja,
class(matrixbasetype), pointer matrix_sln,
integer(i4b), dimension(this%nbrmax) inbr,
integer(i4b), dimension(nja), intent(in) idxglo,
real(dp), dimension(this%nbrmax) chat )
private

Definition at line 74 of file Xt3dInterface.f90.

◆ xt3d_amat_nbrs()

procedure, private xt3dmodule::xt3dtype::xt3d_amat_nbrs ( class(xt3dtype) this,
integer(i4b), intent(in) nodes,
integer(i4b) n,
integer(i4b) idiag,
integer(i4b) nnbr,
integer(i4b) nja,
class(matrixbasetype), pointer matrix_sln,
integer(i4b), dimension(this%nbrmax) inbr,
integer(i4b), dimension(nja), intent(in) idxglo,
real(dp), dimension(this%nbrmax) chat )
private

Definition at line 72 of file Xt3dInterface.f90.

◆ xt3d_amatpc_nbrs()

procedure, private xt3dmodule::xt3dtype::xt3d_amatpc_nbrs ( class(xt3dtype) this,
integer(i4b), intent(in) nodes,
integer(i4b) n,
integer(i4b) idiag,
integer(i4b) nnbr,
integer(i4b), dimension(this%nbrmax) inbr,
real(dp), dimension(this%nbrmax) chat )
private

Definition at line 73 of file Xt3dInterface.f90.

◆ xt3d_amatpcx_nbrnbrs()

procedure, private xt3dmodule::xt3dtype::xt3d_amatpcx_nbrnbrs ( class(xt3dtype) this,
integer(i4b), intent(in) nodes,
integer(i4b) n,
integer(i4b) m,
integer(i4b) ii01,
integer(i4b) nnbr,
integer(i4b), dimension(this%nbrmax) inbr,
real(dp), dimension(this%nbrmax) chat )
private

Definition at line 75 of file Xt3dInterface.f90.

◆ xt3d_ar()

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.

◆ xt3d_areas()

procedure, private xt3dmodule::xt3dtype::xt3d_areas ( class(xt3dtype) this,
integer(i4b) nodes,
integer(i4b) n,
integer(i4b) m,
integer(i4b) jjs01,
logical lsat,
real(dp) ar01,
real(dp) ar10,
real(dp), dimension(:), intent(inout), optional hnew,
real(dp), intent(in), optional qsat )
private
Parameters
[in]qsatsaturated flow into n from m; if present, its sign selects the upstream cell

Definition at line 71 of file Xt3dInterface.f90.

◆ xt3d_da()

procedure xt3dmodule::xt3dtype::xt3d_da ( class(xt3dtype) this)

Definition at line 65 of file Xt3dInterface.f90.

◆ xt3d_df()

procedure xt3dmodule::xt3dtype::xt3d_df ( class(xt3dtype) this,
class(disbasetype), intent(inout), pointer dis )

Definition at line 55 of file Xt3dInterface.f90.

◆ xt3d_fc()

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.

◆ xt3d_fcpc()

procedure xt3dmodule::xt3dtype::xt3d_fcpc ( class(xt3dtype) this,
integer(i4b), intent(in) nodes,
logical, intent(in) lsat )
Parameters
[in]lsatif 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.

◆ xt3d_fhfb()

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.

◆ xt3d_fillrmatck()

procedure, private xt3dmodule::xt3dtype::xt3d_fillrmatck ( class(xt3dtype) this,
integer(i4b), intent(in) n )
private

angle1, 2, and 3 must be in radians.

Definition at line 80 of file Xt3dInterface.f90.

◆ xt3d_flowja()

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.

◆ xt3d_flowjahfb()

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.

◆ xt3d_fn()

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.

◆ xt3d_get_iinm()

procedure, private xt3dmodule::xt3dtype::xt3d_get_iinm ( class(xt3dtype) this,
integer(i4b) n,
integer(i4b) m,
integer(i4b) iinm )
private

Definition at line 77 of file Xt3dInterface.f90.

◆ xt3d_get_iinmx()

procedure, private xt3dmodule::xt3dtype::xt3d_get_iinmx ( class(xt3dtype) this,
integer(i4b) n,
integer(i4b) m,
integer(i4b) iinmx )
private

Definition at line 78 of file Xt3dInterface.f90.

◆ xt3d_iallpc()

procedure, private xt3dmodule::xt3dtype::xt3d_iallpc ( class(xt3dtype) this)
private

Definition at line 76 of file Xt3dInterface.f90.

◆ xt3d_indices()

procedure, private xt3dmodule::xt3dtype::xt3d_indices ( class(xt3dtype) this,
integer(i4b) n,
integer(i4b) m,
integer(i4b) il0,
integer(i4b) ii01,
integer(i4b) jjs01,
integer(i4b) il01,
integer(i4b) il10,
integer(i4b) ii00,
integer(i4b) ii11,
integer(i4b) ii10 )
private

Definition at line 70 of file Xt3dInterface.f90.

◆ xt3d_load()

procedure, private xt3dmodule::xt3dtype::xt3d_load ( class(xt3dtype) this,
integer(i4b), intent(in) nodes,
integer(i4b) n,
integer(i4b) nnbr,
integer(i4b), dimension(this%nbrmax) inbr,
real(dp), dimension(this%nbrmax, 3) vc,
real(dp), dimension(this%nbrmax, 3) vn,
real(dp), dimension(this%nbrmax) dl,
real(dp), dimension(this%nbrmax) dln,
real(dp), dimension(3, 3) ck,
logical allhc )
private

Definition at line 68 of file Xt3dInterface.f90.

◆ xt3d_load_inbr()

procedure, private xt3dmodule::xt3dtype::xt3d_load_inbr ( class(xt3dtype) this,
integer(i4b) n,
integer(i4b) nnbr,
integer(i4b), dimension(this%nbrmax) inbr )
private

Definition at line 69 of file Xt3dInterface.f90.

◆ xt3d_mc()

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.

◆ xt3d_qnbrs()

procedure, private xt3dmodule::xt3dtype::xt3d_qnbrs ( class(xt3dtype) this,
integer(i4b), intent(in) nodes,
integer(i4b) n,
integer(i4b) m,
integer(i4b) nnbr,
integer(i4b), dimension(this%nbrmax) inbr,
real(dp), dimension(this%nbrmax) chat,
real(dp), dimension(nodes), intent(inout) hnew,
real(dp) qnbrs )
private

Definition at line 81 of file Xt3dInterface.f90.

◆ xt3d_rhs()

procedure, private xt3dmodule::xt3dtype::xt3d_rhs ( class(xt3dtype) this,
integer(i4b), intent(in) nodes,
integer(i4b) n,
integer(i4b) m,
integer(i4b) nnbr,
integer(i4b), dimension(this%nbrmax) inbr,
real(dp), dimension(this%nbrmax) chat,
real(dp), dimension(nodes), intent(inout) hnew,
real(dp), dimension(nodes), intent(inout) rhs )
private

Definition at line 79 of file Xt3dInterface.f90.

Member Data Documentation

◆ amatpc

real(dp), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::amatpc => null()

Definition at line 32 of file Xt3dInterface.f90.

◆ amatpcx

real(dp), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::amatpcx => null()

Definition at line 33 of file Xt3dInterface.f90.

◆ angle1

real(dp), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::angle1 => null()

Definition at line 48 of file Xt3dInterface.f90.

◆ angle2

real(dp), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::angle2 => null()

Definition at line 49 of file Xt3dInterface.f90.

◆ angle3

real(dp), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::angle3 => null()

Definition at line 50 of file Xt3dInterface.f90.

◆ dis

class(disbasetype), pointer xt3dmodule::xt3dtype::dis => null()

Definition at line 36 of file Xt3dInterface.f90.

◆ ia_xt3d

integer(i4b), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::ia_xt3d => null()

Definition at line 23 of file Xt3dInterface.f90.

◆ iallpc

integer(i4b), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::iallpc => null()

Definition at line 34 of file Xt3dInterface.f90.

◆ iangle1

integer(i4b), pointer xt3dmodule::xt3dtype::iangle1 => null()

Definition at line 45 of file Xt3dInterface.f90.

◆ iangle2

integer(i4b), pointer xt3dmodule::xt3dtype::iangle2 => null()

Definition at line 46 of file Xt3dInterface.f90.

◆ iangle3

integer(i4b), pointer xt3dmodule::xt3dtype::iangle3 => null()

Definition at line 47 of file Xt3dInterface.f90.

◆ iax

integer(i4b), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::iax => null()

Definition at line 20 of file Xt3dInterface.f90.

◆ ibound

integer(i4b), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::ibound => null()

Definition at line 19 of file Xt3dInterface.f90.

◆ icelltype

integer(i4b), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::icelltype => null()

Definition at line 44 of file Xt3dInterface.f90.

◆ idxglox

integer(i4b), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::idxglox => null()

Definition at line 22 of file Xt3dInterface.f90.

◆ ik22

integer(i4b), pointer xt3dmodule::xt3dtype::ik22 => null()

Definition at line 41 of file Xt3dInterface.f90.

◆ ik33

integer(i4b), pointer xt3dmodule::xt3dtype::ik33 => null()

Definition at line 42 of file Xt3dInterface.f90.

◆ inewton

integer(i4b), pointer xt3dmodule::xt3dtype::inewton => null()

Definition at line 18 of file Xt3dInterface.f90.

◆ inunit

integer(i4b), pointer xt3dmodule::xt3dtype::inunit => null()

Definition at line 16 of file Xt3dInterface.f90.

◆ iout

integer(i4b), pointer xt3dmodule::xt3dtype::iout => null()

Definition at line 17 of file Xt3dInterface.f90.

◆ ixt3d

integer(i4b), pointer xt3dmodule::xt3dtype::ixt3d => null()

Definition at line 26 of file Xt3dInterface.f90.

◆ ja_xt3d

integer(i4b), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::ja_xt3d => null()

Definition at line 24 of file Xt3dInterface.f90.

◆ jax

integer(i4b), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::jax => null()

Definition at line 21 of file Xt3dInterface.f90.

◆ k11

real(dp), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::k11 => null()

Definition at line 38 of file Xt3dInterface.f90.

◆ k22

real(dp), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::k22 => null()

Definition at line 39 of file Xt3dInterface.f90.

◆ k33

real(dp), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::k33 => null()

Definition at line 40 of file Xt3dInterface.f90.

◆ lamatsaved

logical, pointer xt3dmodule::xt3dtype::lamatsaved => null()

Definition at line 35 of file Xt3dInterface.f90.

◆ ldispersion

logical, pointer xt3dmodule::xt3dtype::ldispersion => null()

Definition at line 51 of file Xt3dInterface.f90.

◆ memorypath

character(len=lenmempath) xt3dmodule::xt3dtype::memorypath

Definition at line 15 of file Xt3dInterface.f90.

15 character(len=LENMEMPATH) :: memoryPath !< location in memory manager for storing package variables

◆ nbrmax

integer(i4b), pointer xt3dmodule::xt3dtype::nbrmax => null()

Definition at line 31 of file Xt3dInterface.f90.

◆ nozee

logical, pointer xt3dmodule::xt3dtype::nozee => null()

Definition at line 27 of file Xt3dInterface.f90.

◆ numextnbrs

integer(i4b), pointer xt3dmodule::xt3dtype::numextnbrs => null()

Definition at line 25 of file Xt3dInterface.f90.

◆ qsat

real(dp), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::qsat => null()

Definition at line 30 of file Xt3dInterface.f90.

◆ rmatck

real(dp), dimension(:, :), pointer, contiguous xt3dmodule::xt3dtype::rmatck => null()

Definition at line 29 of file Xt3dInterface.f90.

◆ sat

real(dp), dimension(:), pointer, contiguous xt3dmodule::xt3dtype::sat => null()

Definition at line 43 of file Xt3dInterface.f90.

◆ vcthresh

real(dp), pointer xt3dmodule::xt3dtype::vcthresh => null()

Definition at line 28 of file Xt3dInterface.f90.


The documentation for this type was generated from the following file: