MODFLOW 6
version 6.7.0.dev0
USGS Modular Hydrologic Model
|
Data Types | |
type | gwemodeltype |
Functions/Subroutines | |
subroutine, public | gwe_cr (filename, id, modelname) |
Create a new groundwater energy transport model object. More... | |
subroutine | gwe_df (this) |
Define packages of the GWE model. More... | |
subroutine | gwe_ac (this, sparse) |
Add the internal connections of this model to the sparse matrix. More... | |
subroutine | gwe_mc (this, matrix_sln) |
Map the positions of the GWE model connections in the numerical solution coefficient matrix. More... | |
subroutine | gwe_ar (this) |
GWE Model Allocate and Read. More... | |
subroutine | gwe_rp (this) |
GWE Model Read and Prepare. More... | |
subroutine | gwe_ad (this) |
GWE Model Time Step Advance. More... | |
subroutine | gwe_cf (this, kiter) |
GWE Model calculate coefficients. More... | |
subroutine | gwe_fc (this, kiter, matrix_sln, inwtflag) |
GWE Model fill coefficients. More... | |
subroutine | gwe_cc (this, innertot, kiter, iend, icnvgmod, cpak, ipak, dpak) |
GWE Model Final Convergence Check. More... | |
subroutine | gwe_cq (this, icnvg, isuppress_output) |
GWE Model calculate flow. More... | |
subroutine | gwe_bd (this, icnvg, isuppress_output) |
GWE Model Budget. More... | |
subroutine | gwe_ot_flow (this, icbcfl, ibudfl, icbcun) |
GWE model output routine. More... | |
subroutine | gwe_da (this) |
Deallocate. More... | |
subroutine | gwe_bdentry (this, budterm, budtxt, rowlabel) |
GroundWater Energy Transport Model Budget Entry. More... | |
integer(i4b) function | gwe_get_iasym (this) |
return 1 if any package causes the matrix to be asymmetric. Otherwise return 0. More... | |
subroutine | allocate_scalars (this, modelname) |
Allocate memory for non-allocatable members. More... | |
subroutine | package_create (this, filtyp, ipakid, ipaknum, pakname, mempath, inunit, iout) |
Create boundary condition packages for this model. More... | |
class(gwemodeltype) function, pointer, public | castasgwemodel (model) |
Cast to GweModelType. More... | |
subroutine | create_bndpkgs (this, bndpkgs, pkgtypes, pkgnames, mempaths, inunits) |
Source package info and begin to process. More... | |
subroutine | create_gwe_packages (this, indis) |
Source package info and begin to process. More... | |
Variables | |
character(len=lenvarname), parameter | dvt = 'TEMPERATURE ' |
dependent variable type, varies based on model type More... | |
character(len=lenvarname), parameter | dvu = 'ENERGY ' |
dependent variable unit of measure, either "mass" or "energy" More... | |
character(len=lenvarname), parameter | dvua = 'E ' |
abbreviation of the dependent variable unit of measure, either "M" or "E" More... | |
integer(i4b), parameter, public | gwe_nbasepkg = 50 |
GWE base package array descriptors. More... | |
character(len=lenpackagetype), dimension(gwe_nbasepkg), public | gwe_basepkg |
integer(i4b), parameter, public | gwe_nmultipkg = 50 |
GWE multi package array descriptors. More... | |
character(len=lenpackagetype), dimension(gwe_nmultipkg), public | gwe_multipkg |
integer(i4b), parameter | niunit_gwe = GWE_NBASEPKG + GWE_NMULTIPKG |
|
private |
A subroutine for allocating the scalars specific to the GWE model type. Additional scalars used by the parent class are allocated by the parent class.
Definition at line 672 of file gwe.f90.
class(gwemodeltype) function, pointer, public gwemodule::castasgwemodel | ( | class(*), pointer | model | ) |
|
private |
Definition at line 786 of file gwe.f90.
subroutine gwemodule::create_gwe_packages | ( | class(gwemodeltype) | this, |
integer(i4b), intent(in) | indis | ||
) |
Definition at line 840 of file gwe.f90.
subroutine gwemodule::gwe_ac | ( | class(gwemodeltype) | this, |
type(sparsematrix), intent(inout) | sparse | ||
) |
Definition at line 197 of file gwe.f90.
subroutine gwemodule::gwe_ad | ( | class(gwemodeltype) | this | ) |
This subroutine calls the attached packages' advance subroutines
Definition at line 322 of file gwe.f90.
|
private |
This subroutine:
Definition at line 249 of file gwe.f90.
subroutine gwemodule::gwe_bd | ( | class(gwemodeltype) | this, |
integer(i4b), intent(in) | icnvg, | ||
integer(i4b), intent(in) | isuppress_output | ||
) |
subroutine gwemodule::gwe_bdentry | ( | class(gwemodeltype) | this, |
real(dp), dimension(:, :), intent(in) | budterm, | ||
character(len=lenbudtxt), dimension(:), intent(in) | budtxt, | ||
character(len=*), intent(in) | rowlabel | ||
) |
This subroutine adds a budget entry to the flow budget. It was added as a method for the gwe model object so that the exchange object could add its contributions.
Definition at line 623 of file gwe.f90.
|
private |
subroutine gwemodule::gwe_cf | ( | class(gwemodeltype) | this, |
integer(i4b), intent(in) | kiter | ||
) |
|
private |
subroutine, public gwemodule::gwe_cr | ( | character(len=*), intent(in) | filename, |
integer(i4b), intent(in) | id, | ||
character(len=*), intent(in) | modelname | ||
) |
[in] | filename | input file |
[in] | id | consecutive model number listed in mfsim.nam |
[in] | modelname | name of the model |
Definition at line 95 of file gwe.f90.
|
private |
Deallocate memory at conclusion of model run
Definition at line 556 of file gwe.f90.
subroutine gwemodule::gwe_df | ( | class(gwemodeltype) | this | ) |
This subroutine defines a gwe model type. Steps include:
Definition at line 145 of file gwe.f90.
|
private |
integer(i4b) function gwemodule::gwe_get_iasym | ( | class(gwemodeltype) | this | ) |
subroutine gwemodule::gwe_mc | ( | class(gwemodeltype) | this, |
class(matrixbasetype), pointer | matrix_sln | ||
) |
subroutine gwemodule::gwe_ot_flow | ( | class(gwemodeltype) | this, |
integer(i4b), intent(in) | icbcfl, | ||
integer(i4b), intent(in) | ibudfl, | ||
integer(i4b), intent(in) | icbcun | ||
) |
subroutine gwemodule::gwe_rp | ( | class(gwemodeltype) | this | ) |
This subroutine calls the attached packages' read and prepare routines
Definition at line 292 of file gwe.f90.
subroutine gwemodule::package_create | ( | class(gwemodeltype) | this, |
character(len=*), intent(in) | filtyp, | ||
integer(i4b), intent(in) | ipakid, | ||
integer(i4b), intent(in) | ipaknum, | ||
character(len=*), intent(in) | pakname, | ||
character(len=*), intent(in) | mempath, | ||
integer(i4b), intent(in) | inunit, | ||
integer(i4b), intent(in) | iout | ||
) |
This subroutine calls the package create routines for packages activated by the user.
Definition at line 695 of file gwe.f90.
|
private |
|
private |
|
private |
character(len=lenpackagetype), dimension(gwe_nbasepkg), public gwemodule::gwe_basepkg |
character(len=lenpackagetype), dimension(gwe_nmultipkg), public gwemodule::gwe_multipkg |
integer(i4b), parameter, public gwemodule::gwe_nbasepkg = 50 |
integer(i4b), parameter, public gwemodule::gwe_nmultipkg = 50 |