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_dt (this) |
GWT Model time step size. 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 696 of file gwe.f90.
class(gwemodeltype) function, pointer, public gwemodule::castasgwemodel | ( | class(*), pointer | model | ) |
|
private |
Definition at line 809 of file gwe.f90.
subroutine gwemodule::create_gwe_packages | ( | class(gwemodeltype) | this, |
integer(i4b), intent(in) | indis | ||
) |
Definition at line 863 of file gwe.f90.
subroutine gwemodule::gwe_ac | ( | class(gwemodeltype) | this, |
type(sparsematrix), intent(inout) | sparse | ||
) |
Definition at line 199 of file gwe.f90.
subroutine gwemodule::gwe_ad | ( | class(gwemodeltype) | this | ) |
This subroutine calls the attached packages' advance subroutines
Definition at line 347 of file gwe.f90.
|
private |
This subroutine:
Definition at line 251 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 647 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 97 of file gwe.f90.
|
private |
Deallocate memory at conclusion of model run
Definition at line 580 of file gwe.f90.
subroutine gwemodule::gwe_df | ( | class(gwemodeltype) | this | ) |
This subroutine defines a gwe model type. Steps include:
Definition at line 147 of file gwe.f90.
subroutine gwemodule::gwe_dt | ( | class(gwemodeltype) | this | ) |
Calculate the maximum allowable time step size subject to time-step constraints. If adaptive time steps are used, then the time step used will be no larger than dtmax calculated here.
Definition at line 326 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 | ||
) |
|
private |
subroutine gwemodule::gwe_rp | ( | class(gwemodeltype) | this | ) |
This subroutine calls the attached packages' read and prepare routines
Definition at line 294 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 719 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 |