![]() |
MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
|


Public Member Functions | |
| procedure | sto_ar (this, dis, ibound) |
| Allocate and read method for package. | |
| procedure | sto_rp (this) |
| Read and prepare method for package. | |
| procedure | sto_ad (this) |
| Advance the package. | |
| procedure | sto_fc (this, kiter, stage_old, stage_new, matrix_sln, idxglo, rhs) |
| Fill A and right-hand side for the package. | |
| procedure | sto_fc_dis1d (this, kiter, stage_old, stage_new, matrix_sln, idxglo, rhs) |
| Fill A and right-hand side for the package. | |
| procedure | sto_fc_dis2d (this, kiter, stage_old, stage_new, matrix_sln, idxglo, rhs) |
| Fill A and right-hand side for the package. | |
| procedure | sto_cq (this, flowja, stage_new, stage_old) |
| Calculate flows for package. | |
| procedure | sto_bd (this, isuppress_output, model_budget) |
| Model budget calculation for package. | |
| procedure | sto_save_model_flows (this, icbcfl, icbcun) |
| Save model flows for package. | |
| procedure | sto_da (this) |
| Deallocate package memory. | |
| procedure | allocate_scalars (this) |
| Allocate scalars. | |
| procedure | set_names (this, ibcnum, name_model, pakname, ftype, input_mempath) |
| Set package names. | |
| procedure | allocate_scalars (this) |
| Allocate package scalars. | |
| procedure | da (this) |
| Deallocate package scalars. | |
| procedure | read_check_ionper (this) |
| Check ionper. | |
| procedure | get_block_data (this, tags, lfound, varinames) |
| Read griddata block for a package. | |
Public Attributes | |
| integer(i4b), pointer | iss => null() |
| steady state flag: 1 = steady, 0 = transient | |
| integer(i4b), dimension(:), pointer, contiguous | ibound => null() |
| pointer to model ibound | |
| real(dp), dimension(:), pointer, contiguous | qsto => null() |
| storage rates | |
| integer(i4b), dimension(:), pointer, contiguous | idcxs => null() |
| pointer to cross section id vector in dfw | |
| type(swfcxstype), pointer | cxs |
| integer(i4b), pointer | iper => null() |
| input context loaded period | |
| character(len=:), pointer | storage |
| input context storage string | |
| character(len=lenmodelname) | name_model = '' |
| the name of the model that contains this package | |
| character(len=lenpackagename) | packname = '' |
| name of the package | |
| character(len=lenmempath) | memorypath = '' |
| the location in the memory manager where the variables are stored | |
| character(len=lenmempath) | memorypathmodel = '' |
| the location in the memory manager where the variables of the parent model are stored | |
| character(len=lenmempath) | input_mempath = '' |
| input context mempath | |
| character(len=linelength), pointer | input_fname => null() |
| input file name | |
| character(len=lenftype) | filtyp = '' |
| file type (CHD, DRN, RIV, etc.) | |
| character(len=lenftype), pointer | package_type => null() |
| package type (same as filtyp) stored in memory manager | |
| integer(i4b), pointer | id => null() |
| consecutive package number in model | |
| integer(i4b), pointer | inunit => null() |
| unit number for input file | |
| integer(i4b), pointer | iout => null() |
| unit number for writing package output | |
| integer(i4b), pointer | inewton => null() |
| newton flag | |
| integer(i4b), pointer | iasym => null() |
| package causes matrix asymmetry | |
| integer(i4b), pointer | iprpak => null() |
| integer flag to echo input | |
| integer(i4b), pointer | iprflow => null() |
| flag to print simulated flows | |
| integer(i4b), pointer | ipakcb => null() |
| output flows (-1, 0, 1) - save_flows | |
| integer(i4b), pointer | ionper => null() |
| stress period for next data | |
| integer(i4b), pointer | lastonper => null() |
| last value of ionper (for checking) | |
| type(blockparsertype) | parser |
| parser object for reading blocks of information | |
| class(disbasetype), pointer | dis => null() |
| model discretization object | |
Private Member Functions | |
| procedure, private | allocate_arrays (this, nodes) |
| Allocate package arrays. | |
| procedure, private | source_options (this) |
| Source input options for package. | |
| procedure, private | source_data (this) |
| Source input data for package. | |
| procedure, private | log_options (this, found) |
| Log found options for package. | |
| procedure, private | set_dfw_pointers (this) |
| Set pointers to channel properties in DFW Package. | |
| procedure, private | reach_length_pointer (this) |
| procedure, private | calc_storage_dis1d (this, n, stage_new, stage_old, dx, qsto, derv) |
| procedure, private | calc_storage_dis2d (this, n, stage_new, stage_old, qsto, derv) |
Definition at line 31 of file swf-sto.f90.
|
private |
Allocate and initialize STO package arrays.
| this | SwfStoType object | |
| [in] | nodes | active model nodes |
Definition at line 58 of file swf-sto.f90.
|
inherited |
Allocate and initialize base numerical package scalars.
| this | NumericalPackageType object |
Definition at line 54 of file NumericalPackage.f90.
| procedure swfstomodule::swfstotype::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 57 of file swf-sto.f90.
|
private |
Definition at line 64 of file swf-sto.f90.
|
private |
Definition at line 65 of file swf-sto.f90.
|
inherited |
Deallocate and initialize base numerical package scalars.
| this | NumericalPackageType object |
Definition at line 55 of file NumericalPackage.f90.
|
inherited |
Generic method to read data in the GRIDDATA block for a package.
| this | NumericalPackageType object | |
| [in] | tags | vector with variable tags |
| [in,out] | lfound | boolean vector indicating of a variable tag was found |
| [in] | varinames | optional vector of variable names |
Definition at line 57 of file NumericalPackage.f90.
|
private |
Log options block for STO package.
| this | SwfStoType object |
Definition at line 61 of file swf-sto.f90.
|
private |
| this | this instance |
Definition at line 63 of file swf-sto.f90.
|
inherited |
Generic method to read and check ionperiod, which is used to determine if new period data should be read from the input file. The check of ionperiod also makes sure periods are increasing in subsequent period data blocks.
| [in,out] | this | NumericalPackageType object |
Definition at line 56 of file NumericalPackage.f90.
|
private |
| this | this instance |
Definition at line 62 of file swf-sto.f90.
|
inherited |
Method to assign the filtyp (ftype), the model name, and package name for a package. This method also creates the memoryPath and memoryPathModel that is used by the memory manager when variables are allocated.
| [in,out] | this | NumericalPackageType object |
| [in] | ibcnum | unique package number |
| [in] | name_model | name of the model |
| [in] | pakname | name of the package |
| [in] | ftype | package type |
Definition at line 53 of file NumericalPackage.f90.
|
private |
Source griddata block parameters for STO package.
| this | SwfStoType object |
Definition at line 60 of file swf-sto.f90.
|
private |
Source options block parameters for STO package.
| this | SwfStoType object |
Definition at line 59 of file swf-sto.f90.
| procedure swfstomodule::swfstotype::sto_ad | ( | class(swfstotype) | this | ) |
Advance data in the STO package.
| this | SwfStoType object |
Definition at line 48 of file swf-sto.f90.
| procedure swfstomodule::swfstotype::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 46 of file swf-sto.f90.
| procedure swfstomodule::swfstotype::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 54 of file swf-sto.f90.
| procedure swfstomodule::swfstotype::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 53 of file swf-sto.f90.
| procedure swfstomodule::swfstotype::sto_da | ( | class(swfstotype) | this | ) |
Deallocate STO package scalars and arrays.
| this | SwfStoType object |
Definition at line 56 of file swf-sto.f90.
| procedure swfstomodule::swfstotype::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 49 of file swf-sto.f90.
| procedure swfstomodule::swfstotype::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 50 of file swf-sto.f90.
| procedure swfstomodule::swfstotype::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 51 of file swf-sto.f90.
| procedure swfstomodule::swfstotype::sto_rp | ( | class(swfstotype) | this | ) |
Method to read and prepare stress period data for the STO package.
| this | SwfStoType object |
Definition at line 47 of file swf-sto.f90.
| procedure swfstomodule::swfstotype::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 55 of file swf-sto.f90.
| type(swfcxstype), pointer swfstomodule::swfstotype::cxs |
Definition at line 40 of file swf-sto.f90.
|
inherited |
Definition at line 50 of file NumericalPackage.f90.
|
inherited |
Definition at line 33 of file NumericalPackage.f90.
|
inherited |
Definition at line 41 of file NumericalPackage.f90.
| integer(i4b), dimension(:), pointer, contiguous swfstomodule::swfstotype::ibound => null() |
Definition at line 33 of file swf-sto.f90.
|
inherited |
Definition at line 37 of file NumericalPackage.f90.
| integer(i4b), dimension(:), pointer, contiguous swfstomodule::swfstotype::idcxs => null() |
Definition at line 37 of file swf-sto.f90.
|
inherited |
Definition at line 40 of file NumericalPackage.f90.
|
inherited |
Definition at line 32 of file NumericalPackage.f90.
|
inherited |
Definition at line 31 of file NumericalPackage.f90.
|
inherited |
Definition at line 38 of file NumericalPackage.f90.
|
inherited |
Definition at line 45 of file NumericalPackage.f90.
|
inherited |
Definition at line 39 of file NumericalPackage.f90.
|
inherited |
Definition at line 44 of file NumericalPackage.f90.
| integer(i4b), pointer swfstomodule::swfstotype::iper => null() |
Definition at line 43 of file swf-sto.f90.
|
inherited |
Definition at line 43 of file NumericalPackage.f90.
|
inherited |
Definition at line 42 of file NumericalPackage.f90.
| integer(i4b), pointer swfstomodule::swfstotype::iss => null() |
Definition at line 32 of file swf-sto.f90.
|
inherited |
Definition at line 46 of file NumericalPackage.f90.
|
inherited |
Definition at line 28 of file NumericalPackage.f90.
|
inherited |
Definition at line 29 of file NumericalPackage.f90.
|
inherited |
Definition at line 26 of file NumericalPackage.f90.
|
inherited |
Definition at line 34 of file NumericalPackage.f90.
|
inherited |
Definition at line 27 of file NumericalPackage.f90.
|
inherited |
Definition at line 49 of file NumericalPackage.f90.
| real(dp), dimension(:), pointer, contiguous swfstomodule::swfstotype::qsto => null() |
Definition at line 34 of file swf-sto.f90.
| character(len=:), pointer swfstomodule::swfstotype::storage |
Definition at line 44 of file swf-sto.f90.