MODFLOW 6
version 6.7.0.dev0
USGS Modular Hydrologic Model
|
This module contains the storage package methods. More...
Data Types | |
type | swfstotype |
Functions/Subroutines | |
subroutine, public | sto_cr (stoobj, name_model, mempath, inunit, iout, cxs) |
@ 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, stage_old, stage_new, matrix_sln, idxglo, rhs) |
@ brief Fill A and right-hand side for the package More... | |
subroutine | sto_fc_dis1d (this, kiter, stage_old, stage_new, matrix_sln, idxglo, rhs) |
@ brief Fill A and right-hand side for the package More... | |
subroutine | sto_fc_dis2d (this, kiter, stage_old, stage_new, matrix_sln, idxglo, rhs) |
@ brief Fill A and right-hand side for the package More... | |
subroutine | sto_cq (this, flowja, stage_new, stage_old) |
@ brief Calculate flows for package More... | |
subroutine | calc_storage_dis1d (this, n, stage_new, stage_old, dx, qsto, derv) |
subroutine | calc_storage_dis2d (this, n, stage_new, stage_old, qsto, derv) |
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 | set_dfw_pointers (this) |
Set pointers to channel properties in DFW Package. More... | |
real(dp) function, dimension(:), pointer | reach_length_pointer (this) |
Variables | |
character(len=lenbudtxt), dimension(1) | budtxt = [' STORAGE'] |
This module contains the methods used to add the effects of storage on the surface water flow equation.
subroutine swfstomodule::allocate_arrays | ( | class(swfstotype), target | this, |
integer(i4b), intent(in) | nodes | ||
) |
Allocate and initialize STO package arrays.
this | SwfStoType object | |
[in] | nodes | active model nodes |
Definition at line 545 of file swf-sto.f90.
subroutine swfstomodule::allocate_scalars | ( | class(swfstotype) | this | ) |
Allocate and initialize scalars for the STO package. The base numerical package allocate scalars method is also called.
this | SwfStoType object |
Definition at line 524 of file swf-sto.f90.
subroutine swfstomodule::calc_storage_dis1d | ( | class(swfstotype) | this, |
integer(i4b), intent(in) | n, | ||
real(dp), intent(in) | stage_new, | ||
real(dp), intent(in) | stage_old, | ||
real(dp), intent(in) | dx, | ||
real(dp), intent(inout) | qsto, | ||
real(dp), intent(inout), optional | derv | ||
) |
Definition at line 360 of file swf-sto.f90.
subroutine swfstomodule::calc_storage_dis2d | ( | class(swfstotype) | this, |
integer(i4b), intent(in) | n, | ||
real(dp), intent(in) | stage_new, | ||
real(dp), intent(in) | stage_old, | ||
real(dp), intent(inout) | qsto, | ||
real(dp), intent(inout), optional | derv | ||
) |
subroutine swfstomodule::log_options | ( | class(swfstotype) | this, |
type(swfstoparamfoundtype), intent(in) | found | ||
) |
Log options block for STO package.
this | SwfStoType object |
Definition at line 601 of file swf-sto.f90.
real(dp) function, dimension(:), pointer swfstomodule::reach_length_pointer | ( | class(swfstotype) | this | ) |
this | this instance |
Definition at line 666 of file swf-sto.f90.
subroutine swfstomodule::set_dfw_pointers | ( | class(swfstotype) | this | ) |
this | this instance |
Definition at line 653 of file swf-sto.f90.
subroutine swfstomodule::source_data | ( | class(swfstotype) | this | ) |
Source griddata block parameters for STO package.
this | SwfStoType object |
Definition at line 628 of file swf-sto.f90.
subroutine swfstomodule::source_options | ( | class(swfstotype) | this | ) |
Source options block parameters for STO package.
this | SwfStoType object |
Definition at line 575 of file swf-sto.f90.
subroutine swfstomodule::sto_ad | ( | class(swfstotype) | this | ) |
Advance data in the STO package.
this | SwfStoType object |
Definition at line 189 of file swf-sto.f90.
subroutine swfstomodule::sto_ar | ( | class(swfstotype) | 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 | SwfStoType object | |
[in] | dis | model discretization object |
ibound | model ibound array |
Definition at line 102 of file swf-sto.f90.
subroutine swfstomodule::sto_bd | ( | class(swfstotype) | 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 | SwfStoType object | |
[in] | isuppress_output | flag to suppress model output |
[in,out] | model_budget | model budget object |
Definition at line 437 of file swf-sto.f90.
subroutine swfstomodule::sto_cq | ( | class(swfstotype) | this, |
real(dp), dimension(:), intent(inout) | flowja, | ||
real(dp), dimension(:), intent(inout) | stage_new, | ||
real(dp), dimension(:), intent(inout) | stage_old | ||
) |
Definition at line 320 of file swf-sto.f90.
subroutine, public swfstomodule::sto_cr | ( | type(swfstotype), pointer | stoobj, |
character(len=*), intent(in) | name_model, | ||
character(len=*), intent(in) | mempath, | ||
integer(i4b), intent(in) | inunit, | ||
integer(i4b), intent(in) | iout, | ||
type(swfcxstype), intent(in), pointer | cxs | ||
) |
Create a new storage (STO) object
stoobj | SwfStoType 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 |
[in] | cxs | the pointer to the cxs package |
Definition at line 70 of file swf-sto.f90.
subroutine swfstomodule::sto_da | ( | class(swfstotype) | this | ) |
Deallocate STO package scalars and arrays.
this | SwfStoType object |
Definition at line 498 of file swf-sto.f90.
subroutine swfstomodule::sto_fc | ( | class(swfstotype) | this, |
integer(i4b) | kiter, | ||
real(dp), dimension(:), intent(inout) | stage_old, | ||
real(dp), dimension(:), intent(inout) | stage_new, | ||
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.
Definition at line 200 of file swf-sto.f90.
subroutine swfstomodule::sto_fc_dis1d | ( | class(swfstotype) | this, |
integer(i4b) | kiter, | ||
real(dp), dimension(:), intent(inout) | stage_old, | ||
real(dp), dimension(:), intent(inout) | stage_new, | ||
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.
Definition at line 241 of file swf-sto.f90.
subroutine swfstomodule::sto_fc_dis2d | ( | class(swfstotype) | this, |
integer(i4b) | kiter, | ||
real(dp), dimension(:), intent(inout) | stage_old, | ||
real(dp), dimension(:), intent(inout) | stage_new, | ||
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.
Definition at line 283 of file swf-sto.f90.
subroutine swfstomodule::sto_rp | ( | class(swfstotype) | this | ) |
Method to read and prepare stress period data for the STO package.
this | SwfStoType object |
Definition at line 146 of file swf-sto.f90.
subroutine swfstomodule::sto_save_model_flows | ( | class(swfstotype) | this, |
integer(i4b), intent(in) | icbcfl, | ||
integer(i4b), intent(in) | icbcun | ||
) |
Save cell-by-cell budget terms for the STO package.
this | SwfStoType object | |
[in] | icbcfl | flag to output budget data |
[in] | icbcun | cell-by-cell file unit number |
Definition at line 460 of file swf-sto.f90.
character(len=lenbudtxt), dimension(1) swfstomodule::budtxt = [' STORAGE'] |
Definition at line 23 of file swf-sto.f90.