MODFLOW 6
version 6.7.0.dev0
USGS Modular Hydrologic Model
|
This module contains the storage package methods. More...
Data Types | |
type | gwfstotype |
Functions/Subroutines | |
subroutine, public | sto_cr (stoobj, name_model, mempath, inunit, iout) |
@ brief Create a new package object More... | |
subroutine | sto_ar (this, dis, ibound) |
@ brief Allocate and read method for package More... | |
subroutine | sto_rp (this) |
@ brief Read and prepare method for package More... | |
subroutine | sto_ad (this) |
@ brief Advance the package More... | |
subroutine | sto_fc (this, kiter, hold, hnew, matrix_sln, idxglo, rhs) |
@ brief Fill A and right-hand side for the package More... | |
subroutine | sto_fn (this, kiter, hold, hnew, matrix_sln, idxglo, rhs) |
@ brief Fill Newton-Raphson terms in A and right-hand side for the package More... | |
subroutine | sto_cq (this, flowja, hnew, hold) |
@ brief Calculate flows for package More... | |
subroutine | sto_bd (this, isuppress_output, model_budget) |
@ brief Model budget calculation for package More... | |
subroutine | sto_save_model_flows (this, icbcfl, icbcun) |
@ brief Save model flows for package More... | |
subroutine | sto_da (this) |
@ brief Deallocate package memory More... | |
subroutine | allocate_scalars (this) |
@ brief Allocate scalars More... | |
subroutine | allocate_arrays (this, nodes) |
@ brief Allocate package arrays More... | |
subroutine | source_options (this) |
@ brief Source input options for package More... | |
subroutine | log_options (this, found) |
@ brief Log found options for package More... | |
subroutine | source_data (this) |
@ brief Source input data for package More... | |
subroutine | save_old_ss_sy (this) |
@ brief Save old storage property values More... | |
Variables | |
character(len=lenbudtxt), dimension(2) | budtxt = [' STO-SS', ' STO-SY'] |
This module contains the methods used to add the effects of storage on the groundwater flow equation. The contribution of specific storage and specific yield can be represented.
subroutine gwfstomodule::allocate_arrays | ( | class(gwfstotype), target | this, |
integer(i4b), intent(in) | nodes | ||
) |
Allocate and initialize STO package arrays.
this | GwfStoType object | |
[in] | nodes | active model nodes |
Definition at line 733 of file gwf-sto.f90.
subroutine gwfstomodule::allocate_scalars | ( | class(gwfstotype) | this | ) |
Allocate and initialize scalars for the STO package. The base numerical package allocate scalars method is also called.
this | GwfStoType object |
Definition at line 699 of file gwf-sto.f90.
subroutine gwfstomodule::log_options | ( | class(gwfstotype) | this, |
type(gwfstoparamfoundtype), intent(in) | found | ||
) |
Log options block for STO package.
this | GwfStoType object |
Definition at line 837 of file gwf-sto.f90.
subroutine gwfstomodule::save_old_ss_sy | ( | class(gwfstotype) | this | ) |
Save ss and sy values from the previous time step for use with storage integration when integratechanges is non-zero.
this | GwfStoType object |
Definition at line 987 of file gwf-sto.f90.
subroutine gwfstomodule::source_data | ( | class(gwfstotype) | this | ) |
Source griddata block parameters for STO package.
this | GwfStoType object |
Definition at line 891 of file gwf-sto.f90.
subroutine gwfstomodule::source_options | ( | class(gwfstotype) | this | ) |
Source options block parameters for STO package.
this | GwfStoType object |
Definition at line 777 of file gwf-sto.f90.
subroutine gwfstomodule::sto_ad | ( | class(gwfstotype) | this | ) |
Advance data in the STO package.
this | GwfStoType object |
Definition at line 204 of file gwf-sto.f90.
subroutine gwfstomodule::sto_ar | ( | class(gwfstotype) | this, |
class(disbasetype), intent(in), pointer | dis, | ||
integer(i4b), dimension(:), pointer, contiguous | ibound | ||
) |
Method to allocate and read static data for the STO package.
this | GwfStoType object | |
[in] | dis | model discretization object |
ibound | model ibound array |
Definition at line 104 of file gwf-sto.f90.
subroutine gwfstomodule::sto_bd | ( | class(gwfstotype) | this, |
integer(i4b), intent(in) | isuppress_output, | ||
type(budgettype), intent(inout) | model_budget | ||
) |
Budget calculation for the STO package components. Components include specific storage and specific yield storage.
this | GwfStoType object | |
[in] | isuppress_output | flag to suppress model output |
[in,out] | model_budget | model budget object |
Definition at line 572 of file gwf-sto.f90.
subroutine gwfstomodule::sto_cq | ( | class(gwfstotype) | this, |
real(dp), dimension(:), intent(inout), contiguous | flowja, | ||
real(dp), dimension(:), intent(in), contiguous | hnew, | ||
real(dp), dimension(:), intent(in), contiguous | hold | ||
) |
Flow calculation for the STO package components. Components include specific storage and specific yield storage.
this | GwfStoType object | |
[in,out] | flowja | connection flows |
[in] | hnew | current head |
[in] | hold | previous head |
Definition at line 447 of file gwf-sto.f90.
subroutine, public gwfstomodule::sto_cr | ( | type(gwfstotype), pointer | stoobj, |
character(len=*), intent(in) | name_model, | ||
character(len=*), intent(in) | mempath, | ||
integer(i4b), intent(in) | inunit, | ||
integer(i4b), intent(in) | iout | ||
) |
Create a new storage (STO) object
stoobj | GwfStoType object | |
[in] | name_model | name of model |
[in] | mempath | input context mem path |
[in] | inunit | package input file unit |
[in] | iout | model listing file unit |
Definition at line 77 of file gwf-sto.f90.
subroutine gwfstomodule::sto_da | ( | class(gwfstotype) | this | ) |
Deallocate STO package scalars and arrays.
this | GwfStoType object |
Definition at line 647 of file gwf-sto.f90.
subroutine gwfstomodule::sto_fc | ( | class(gwfstotype) | this, |
integer(i4b), intent(in) | kiter, | ||
real(dp), dimension(:), intent(in) | hold, | ||
real(dp), dimension(:), intent(in) | hnew, | ||
class(matrixbasetype), pointer | matrix_sln, | ||
integer(i4b), dimension(:), intent(in) | idxglo, | ||
real(dp), dimension(:), intent(inout) | rhs | ||
) |
Fill the coefficient matrix and right-hand side with the STO package terms.
this | GwfStoType object | |
[in] | kiter | outer iteration number |
[in] | hold | previous heads |
[in] | hnew | current heads |
matrix_sln | A matrix | |
[in] | idxglo | global index model to solution |
[in,out] | rhs | right-hand side |
Definition at line 226 of file gwf-sto.f90.
subroutine gwfstomodule::sto_fn | ( | class(gwfstotype) | this, |
integer(i4b), intent(in) | kiter, | ||
real(dp), dimension(:), intent(in) | hold, | ||
real(dp), dimension(:), intent(in) | hnew, | ||
class(matrixbasetype), pointer | matrix_sln, | ||
integer(i4b), dimension(:), intent(in) | idxglo, | ||
real(dp), dimension(:), intent(inout) | rhs | ||
) |
Fill the coefficient matrix and right-hand side with STO package with Newton-Raphson terms.
this | GwfStoType object | |
[in] | kiter | outer iteration number |
[in] | hold | previous heads |
[in] | hnew | current heads |
matrix_sln | A matrix | |
[in] | idxglo | global index model to solution |
[in,out] | rhs | right-hand side |
Definition at line 353 of file gwf-sto.f90.
subroutine gwfstomodule::sto_rp | ( | class(gwfstotype) | this | ) |
Method to read and prepare stress period data for the STO package.
this | GwfStoType object |
Definition at line 151 of file gwf-sto.f90.
subroutine gwfstomodule::sto_save_model_flows | ( | class(gwfstotype) | this, |
integer(i4b), intent(in) | icbcfl, | ||
integer(i4b), intent(in) | icbcun | ||
) |
Save cell-by-cell budget terms for the STO package.
this | GwfStoType object | |
[in] | icbcfl | flag to output budget data |
[in] | icbcun | cell-by-cell file unit number |
Definition at line 602 of file gwf-sto.f90.
character(len=lenbudtxt), dimension(2) gwfstomodule::budtxt = [' STO-SS', ' STO-SY'] |
Definition at line 28 of file gwf-sto.f90.