MODFLOW 6
version 6.7.0.dev0
USGS Modular Hydrologic Model
|
Data Types | |
type | ghostnodetype |
Functions/Subroutines | |
subroutine, public | gnc_cr (gncobj, name_parent, inunit, iout) |
Create new GNC exchange object. More... | |
subroutine | gnc_df (this, m1, m2) |
Initialize a gnc object. More... | |
subroutine | gnc_ac (this, sparse) |
Single or Two-Model GNC Add Connections. More... | |
subroutine | gnc_mc (this, matrix_sln) |
Single or Two-Model GNC Map Connections. More... | |
subroutine | gnc_fmsav (this, kiter, matrix) |
Store the n-m Picard conductance in cond prior to the Newton terms terms being added. More... | |
subroutine | gnc_fc (this, kiter, matrix) |
Fill matrix terms. More... | |
subroutine | gnc_fn (this, kiter, matrix_sln, condsat, ihc_opt, ivarcv_opt, ictm1_opt, ictm2_opt) |
Fill GNC Newton terms. More... | |
subroutine | gnc_ot (this, ibudfl) |
Single Model GNC Output. More... | |
subroutine | gnc_cq (this, flowja) |
Add GNC to flowja. More... | |
real(dp) function | deltaqgnc (this, ignc) |
Single Model deltaQgnc (ghost node correction flux) More... | |
subroutine | allocate_scalars (this) |
Allocate gnc scalar variables. More... | |
subroutine | allocate_arrays (this) |
Allocate gnc scalar variables. More... | |
subroutine | gnc_da (this) |
Deallocate memory. More... | |
subroutine | read_options (this) |
Read a gnc options block. More... | |
subroutine | read_dimensions (this) |
Single Model GNC Read Dimensions. More... | |
subroutine | read_data (this) |
Read a GNCDATA block. More... | |
subroutine | nodeu_to_noder (this, nodeu, noder, model) |
Convert the user-based node number into a reduced number. More... | |
subroutine ghostnodemodule::allocate_arrays | ( | class(ghostnodetype) | this | ) |
Definition at line 571 of file GhostNode.f90.
subroutine ghostnodemodule::allocate_scalars | ( | class(ghostnodetype) | this | ) |
Definition at line 546 of file GhostNode.f90.
|
private |
Calculate the deltaQgnc value for any GNC in the GNC list
Definition at line 509 of file GhostNode.f90.
subroutine ghostnodemodule::gnc_ac | ( | class(ghostnodetype) | this, |
type(sparsematrix), intent(inout) | sparse | ||
) |
For implicit GNC, expand the sparse solution matrix
Definition at line 134 of file GhostNode.f90.
|
private |
Definition at line 478 of file GhostNode.f90.
subroutine, public ghostnodemodule::gnc_cr | ( | type(ghostnodetype), intent(inout), pointer | gncobj, |
character(len=*), intent(in) | name_parent, | ||
integer(i4b), intent(in) | inunit, | ||
integer(i4b), intent(in) | iout | ||
) |
subroutine ghostnodemodule::gnc_da | ( | class(ghostnodetype) | this | ) |
Definition at line 602 of file GhostNode.f90.
|
private |
Definition at line 84 of file GhostNode.f90.
subroutine ghostnodemodule::gnc_fc | ( | class(ghostnodetype) | this, |
integer(i4b), intent(in) | kiter, | ||
class(matrixbasetype), pointer | matrix | ||
) |
Add the GNC terms to the solution matrix or model rhs depending on whether whether GNC is implicit or explicit
Definition at line 280 of file GhostNode.f90.
subroutine ghostnodemodule::gnc_fmsav | ( | class(ghostnodetype) | this, |
integer(i4b), intent(in) | kiter, | ||
class(matrixbasetype), pointer | matrix | ||
) |
Definition at line 251 of file GhostNode.f90.
subroutine ghostnodemodule::gnc_fn | ( | class(ghostnodetype) | this, |
integer(i4b) | kiter, | ||
class(matrixbasetype), pointer | matrix_sln, | ||
real(dp), dimension(:), intent(in) | condsat, | ||
integer(i4b), dimension(:), optional | ihc_opt, | ||
integer(i4b), optional | ivarcv_opt, | ||
integer(i4b), dimension(:), optional | ictm1_opt, | ||
integer(i4b), dimension(:), optional | ictm2_opt | ||
) |
Required arguments: kiter : outer iteration number matrix_sln: the solution matrix condsat is of size(njas) if single model, otherwise nexg
Optional arguments: ihc_opt : an optional vector of size(nexg), which contains a horizontal connection code (0=vertical, 1=horizontal, 2=vertically staggered) ivarcv_opt : variable vertical conductance flag (default is 0) ictm1_opt : icelltype for model 1 integer vector (default is 1) ictm2_opt : icelltype for model 2 integer vector (default is 1)
Definition at line 340 of file GhostNode.f90.
subroutine ghostnodemodule::gnc_mc | ( | class(ghostnodetype) | this, |
class(matrixbasetype), pointer | matrix_sln | ||
) |
Fill the following mapping arrays: thisidiagn, thisidiagm (diagonal positions in solution amat) thisidxglo (nm connection in solution amat) thisidxsymglo (mn connection in solution amat) thisjposinrown (position of j in row n of solution amat) thisjposinrowm (position of j in row m of solution amat)
Definition at line 172 of file GhostNode.f90.
subroutine ghostnodemodule::gnc_ot | ( | class(ghostnodetype) | this, |
integer(i4b), intent(in) | ibudfl | ||
) |
subroutine ghostnodemodule::nodeu_to_noder | ( | class(ghostnodetype) | this, |
integer(i4b), intent(in) | nodeu, | ||
integer(i4b), intent(inout) | noder, | ||
class(numericalmodeltype), intent(in) | model | ||
) |
subroutine ghostnodemodule::read_data | ( | class(ghostnodetype) | this | ) |
Read list of GNCs from input file
Definition at line 739 of file GhostNode.f90.
subroutine ghostnodemodule::read_dimensions | ( | class(ghostnodetype) | this | ) |
Read dimensions (size of gnc list) from input file
Definition at line 693 of file GhostNode.f90.
subroutine ghostnodemodule::read_options | ( | class(ghostnodetype) | this | ) |
Read options from input file
Definition at line 637 of file GhostNode.f90.