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


Public Member Functions | |
| procedure | cnd_df (this, dis, cndoptions) |
| Define CND object. | |
| procedure | cnd_ac (this, moffset, sparse) |
| Add connections to CND. | |
| procedure | cnd_mc (this, moffset, matrix_sln) |
| Map CND connections. | |
| procedure | cnd_ar (this, ibound, porosity) |
| Allocate and read method for package. | |
| procedure | cnd_ad (this) |
| Advance method for the package. | |
| procedure | cnd_fc (this, kiter, nodes, nja, matrix_sln, idxglo, rhs, cnew) |
| Fill coefficient method for package. | |
| procedure | cnd_cq (this, cnew, flowja) |
| Calculate flows for package. | |
| procedure | cnd_da (this) |
| Deallocate memory. | |
| procedure | allocate_scalars (this) |
| Allocate scalar variables for package. | |
| procedure | allocate_arrays (this, nodes) |
| Allocate arrays for package. | |
| 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), dimension(:), pointer, contiguous | ibound => null() |
| type(tspfmitype), pointer | fmi => null() |
| type(gweinputdatatype), pointer | gwecommon => null() |
| pointer to shared gwe data used by multiple packages but set in est | |
| real(dp), dimension(:), pointer, contiguous | porosity => null() |
| real(dp), dimension(:), pointer, contiguous | alh => null() |
| real(dp), dimension(:), pointer, contiguous | alv => null() |
| real(dp), dimension(:), pointer, contiguous | ath1 => null() |
| real(dp), dimension(:), pointer, contiguous | ath2 => null() |
| real(dp), dimension(:), pointer, contiguous | atv => null() |
| real(dp), dimension(:), pointer, contiguous | ktw => null() |
| real(dp), dimension(:), pointer, contiguous | kts => null() |
| integer(i4b), pointer | idisp => null() |
| integer(i4b), pointer | ialh => null() |
| integer(i4b), pointer | ialv => null() |
| integer(i4b), pointer | iath1 => null() |
| integer(i4b), pointer | iath2 => null() |
| integer(i4b), pointer | iatv => null() |
| integer(i4b), pointer | ixt3doff => null() |
| integer(i4b), pointer | ixt3drhs => null() |
| integer(i4b), pointer | iktw => null() |
| integer(i4b), pointer | ikts => null() |
| integer(i4b), pointer | ixt3d => null() |
| type(xt3dtype), pointer | xt3d => null() |
| real(dp), dimension(:), pointer, contiguous | dispcoef => null() |
| integer(i4b), pointer | id22 => null() |
| integer(i4b), pointer | id33 => null() |
| real(dp), dimension(:), pointer, contiguous | d11 => null() |
| real(dp), dimension(:), pointer, contiguous | d22 => null() |
| real(dp), dimension(:), pointer, contiguous | d33 => null() |
| real(dp), dimension(:), pointer, contiguous | angle1 => null() |
| real(dp), dimension(:), pointer, contiguous | angle2 => null() |
| real(dp), dimension(:), pointer, contiguous | angle3 => null() |
| integer(i4b), pointer | iangle1 => null() |
| integer(i4b), pointer | iangle2 => null() |
| integer(i4b), pointer | iangle3 => null() |
| real(dp), pointer | eqnsclfac => null() |
| governing equation scale factor; =rhow*cpw for energy | |
| 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 | source_options (this) |
| Update simulation mempath options. | |
| procedure, private | source_griddata (this) |
| Update CND simulation data from input mempath. | |
| procedure, private | log_options (this, found) |
| Write user options to list file. | |
| procedure, private | log_griddata (this, found) |
| Write dimensions to list file. | |
| procedure, private | calcdispellipse (this) |
| Calculate dispersion coefficients. | |
| procedure, private | calcdispcoef (this) |
| Calculate dispersion coefficients. | |
Definition at line 18 of file gwe-cnd.f90.
| procedure gwecndmodule::gwecndtype::allocate_arrays | ( | class(gwecndtype) | this, |
| integer(i4b), intent(in) | nodes ) |
Method to allocate arrays for the package.
Definition at line 68 of file gwe-cnd.f90.
| procedure gwecndmodule::gwecndtype::allocate_scalars | ( | class(gwecndtype) | this | ) |
Method to allocate scalar variables for the package.
Definition at line 67 of file gwe-cnd.f90.
|
inherited |
Allocate and initialize base numerical package scalars.
| this | NumericalPackageType object |
Definition at line 54 of file NumericalPackage.f90.
|
private |
Definition at line 74 of file gwe-cnd.f90.
|
private |
Definition at line 73 of file gwe-cnd.f90.
| procedure gwecndmodule::gwecndtype::cnd_ac | ( | class(gwecndtype) | this, |
| integer(i4b), intent(in) | moffset, | ||
| type(sparsematrix), intent(inout) | sparse ) |
Add connections for extended neighbors to the sparse matrix
Definition at line 60 of file gwe-cnd.f90.
| procedure gwecndmodule::gwecndtype::cnd_ad | ( | class(gwecndtype) | this | ) |
Definition at line 63 of file gwe-cnd.f90.
| procedure gwecndmodule::gwecndtype::cnd_ar | ( | class(gwecndtype) | this, |
| integer(i4b), dimension(:), pointer, contiguous | ibound, | ||
| real(dp), dimension(:), pointer, contiguous | porosity ) |
Method to allocate and read static data for the package.
Definition at line 62 of file gwe-cnd.f90.
| procedure gwecndmodule::gwecndtype::cnd_cq | ( | class(gwecndtype) | this, |
| real(dp), dimension(:), intent(inout) | cnew, | ||
| real(dp), dimension(:), intent(inout) | flowja ) |
Method to calculate dispersion contribution to flowja
Definition at line 65 of file gwe-cnd.f90.
| procedure gwecndmodule::gwecndtype::cnd_da | ( | class(gwecndtype) | this | ) |
Method to deallocate memory for the package.
Definition at line 66 of file gwe-cnd.f90.
| procedure gwecndmodule::gwecndtype::cnd_df | ( | class(gwecndtype) | this, |
| class(disbasetype), pointer | dis, | ||
| type(gwecndoptionstype), intent(in), optional | cndoptions ) |
| [in] | cndoptions | the optional CND options, used when not creating CND from file |
Definition at line 59 of file gwe-cnd.f90.
| procedure gwecndmodule::gwecndtype::cnd_fc | ( | class(gwecndtype) | this, |
| integer(i4b) | kiter, | ||
| integer(i4b), intent(in) | nodes, | ||
| integer(i4b), intent(in) | nja, | ||
| class(matrixbasetype), pointer | matrix_sln, | ||
| integer(i4b), dimension(nja), intent(in) | idxglo, | ||
| real(dp), dimension(nodes), intent(inout) | rhs, | ||
| real(dp), dimension(nodes), intent(inout) | cnew ) |
Method to calculate and fill coefficients for the package.
Definition at line 64 of file gwe-cnd.f90.
| procedure gwecndmodule::gwecndtype::cnd_mc | ( | class(gwecndtype) | this, |
| integer(i4b), intent(in) | moffset, | ||
| class(matrixbasetype), pointer | matrix_sln ) |
Map connections and construct iax, jax, and idxglox
Definition at line 61 of file gwe-cnd.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 |
Definition at line 72 of file gwe-cnd.f90.
|
private |
Definition at line 71 of file gwe-cnd.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.
|
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 |
Definition at line 70 of file gwe-cnd.f90.
|
private |
Definition at line 69 of file gwe-cnd.f90.
| real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::alh => null() |
Definition at line 24 of file gwe-cnd.f90.
| real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::alv => null() |
Definition at line 25 of file gwe-cnd.f90.
| real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::angle1 => null() |
Definition at line 49 of file gwe-cnd.f90.
| real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::angle2 => null() |
Definition at line 50 of file gwe-cnd.f90.
| real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::angle3 => null() |
Definition at line 51 of file gwe-cnd.f90.
| real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::ath1 => null() |
Definition at line 26 of file gwe-cnd.f90.
| real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::ath2 => null() |
Definition at line 27 of file gwe-cnd.f90.
| real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::atv => null() |
Definition at line 28 of file gwe-cnd.f90.
| real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::d11 => null() |
Definition at line 46 of file gwe-cnd.f90.
| real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::d22 => null() |
Definition at line 47 of file gwe-cnd.f90.
| real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::d33 => null() |
Definition at line 48 of file gwe-cnd.f90.
|
inherited |
Definition at line 50 of file NumericalPackage.f90.
| real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::dispcoef => null() |
Definition at line 43 of file gwe-cnd.f90.
| real(dp), pointer gwecndmodule::gwecndtype::eqnsclfac => null() |
Definition at line 55 of file gwe-cnd.f90.
|
inherited |
Definition at line 33 of file NumericalPackage.f90.
| type(tspfmitype), pointer gwecndmodule::gwecndtype::fmi => null() |
Definition at line 21 of file gwe-cnd.f90.
| type(gweinputdatatype), pointer gwecndmodule::gwecndtype::gwecommon => null() |
Definition at line 22 of file gwe-cnd.f90.
| integer(i4b), pointer gwecndmodule::gwecndtype::ialh => null() |
Definition at line 32 of file gwe-cnd.f90.
| integer(i4b), pointer gwecndmodule::gwecndtype::ialv => null() |
Definition at line 33 of file gwe-cnd.f90.
| integer(i4b), pointer gwecndmodule::gwecndtype::iangle1 => null() |
Definition at line 52 of file gwe-cnd.f90.
| integer(i4b), pointer gwecndmodule::gwecndtype::iangle2 => null() |
Definition at line 53 of file gwe-cnd.f90.
| integer(i4b), pointer gwecndmodule::gwecndtype::iangle3 => null() |
Definition at line 54 of file gwe-cnd.f90.
|
inherited |
Definition at line 41 of file NumericalPackage.f90.
| integer(i4b), pointer gwecndmodule::gwecndtype::iath1 => null() |
Definition at line 34 of file gwe-cnd.f90.
| integer(i4b), pointer gwecndmodule::gwecndtype::iath2 => null() |
Definition at line 35 of file gwe-cnd.f90.
| integer(i4b), pointer gwecndmodule::gwecndtype::iatv => null() |
Definition at line 36 of file gwe-cnd.f90.
| integer(i4b), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::ibound => null() |
Definition at line 20 of file gwe-cnd.f90.
|
inherited |
Definition at line 37 of file NumericalPackage.f90.
| integer(i4b), pointer gwecndmodule::gwecndtype::id22 => null() |
Definition at line 44 of file gwe-cnd.f90.
| integer(i4b), pointer gwecndmodule::gwecndtype::id33 => null() |
Definition at line 45 of file gwe-cnd.f90.
| integer(i4b), pointer gwecndmodule::gwecndtype::idisp => null() |
Definition at line 31 of file gwe-cnd.f90.
| integer(i4b), pointer gwecndmodule::gwecndtype::ikts => null() |
Definition at line 40 of file gwe-cnd.f90.
| integer(i4b), pointer gwecndmodule::gwecndtype::iktw => null() |
Definition at line 39 of file gwe-cnd.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.
|
inherited |
Definition at line 43 of file NumericalPackage.f90.
|
inherited |
Definition at line 42 of file NumericalPackage.f90.
| integer(i4b), pointer gwecndmodule::gwecndtype::ixt3d => null() |
Definition at line 41 of file gwe-cnd.f90.
| integer(i4b), pointer gwecndmodule::gwecndtype::ixt3doff => null() |
Definition at line 37 of file gwe-cnd.f90.
| integer(i4b), pointer gwecndmodule::gwecndtype::ixt3drhs => null() |
Definition at line 38 of file gwe-cnd.f90.
| real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::kts => null() |
Definition at line 30 of file gwe-cnd.f90.
| real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::ktw => null() |
Definition at line 29 of file gwe-cnd.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 gwecndmodule::gwecndtype::porosity => null() |
Definition at line 23 of file gwe-cnd.f90.
| type(xt3dtype), pointer gwecndmodule::gwecndtype::xt3d => null() |
Definition at line 42 of file gwe-cnd.f90.