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


Public Member Functions | |
| procedure | dsp_df (this, dis, dspoptions) |
| Define DSP object. | |
| procedure | dsp_ac (this, moffset, sparse) |
| Add connections to DSP. | |
| procedure | dsp_mc (this, moffset, matrix_sln) |
| Map DSP connections. | |
| procedure | dsp_ar (this, ibound, thetam) |
| Allocate and read method for package. | |
| procedure | dsp_ad (this) |
| Advance method for the package. | |
| procedure | dsp_fc (this, kiter, nodes, nja, matrix_sln, idxglo, rhs, cnew) |
| Fill coefficient method for package. | |
| procedure | dsp_cq (this, cnew, flowja) |
| Calculate flows for package. | |
| procedure | dsp_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() |
| real(dp), dimension(:), pointer, contiguous | thetam => null() |
| real(dp), dimension(:), pointer, contiguous | diffc => 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() |
| integer(i4b), pointer | idiffc => 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 | 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() |
| 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 DSP 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 17 of file gwt-dsp.f90.
| procedure gwtdspmodule::gwtdsptype::allocate_arrays | ( | class(gwtdsptype) | this, |
| integer(i4b), intent(in) | nodes ) |
Method to allocate arrays for the package.
Definition at line 63 of file gwt-dsp.f90.
| procedure gwtdspmodule::gwtdsptype::allocate_scalars | ( | class(gwtdsptype) | this | ) |
Method to allocate scalar variables for the package.
Definition at line 62 of file gwt-dsp.f90.
|
inherited |
Allocate and initialize base numerical package scalars.
| this | NumericalPackageType object |
Definition at line 54 of file NumericalPackage.f90.
|
private |
Definition at line 69 of file gwt-dsp.f90.
|
private |
Definition at line 68 of file gwt-dsp.f90.
|
inherited |
Deallocate and initialize base numerical package scalars.
| this | NumericalPackageType object |
Definition at line 55 of file NumericalPackage.f90.
| procedure gwtdspmodule::gwtdsptype::dsp_ac | ( | class(gwtdsptype) | this, |
| integer(i4b), intent(in) | moffset, | ||
| type(sparsematrix), intent(inout) | sparse ) |
Add connections for extended neighbors to the sparse matrix
Definition at line 55 of file gwt-dsp.f90.
| procedure gwtdspmodule::gwtdsptype::dsp_ad | ( | class(gwtdsptype) | this | ) |
Definition at line 58 of file gwt-dsp.f90.
| procedure gwtdspmodule::gwtdsptype::dsp_ar | ( | class(gwtdsptype) | this, |
| integer(i4b), dimension(:), pointer, contiguous | ibound, | ||
| real(dp), dimension(:), pointer, contiguous | thetam ) |
Method to allocate and read static data for the package.
Definition at line 57 of file gwt-dsp.f90.
| procedure gwtdspmodule::gwtdsptype::dsp_cq | ( | class(gwtdsptype) | this, |
| real(dp), dimension(:), intent(inout) | cnew, | ||
| real(dp), dimension(:), intent(inout) | flowja ) |
Method to calculate dispersion contribution to flowja
Definition at line 60 of file gwt-dsp.f90.
| procedure gwtdspmodule::gwtdsptype::dsp_da | ( | class(gwtdsptype) | this | ) |
Method to deallocate memory for the package.
Definition at line 61 of file gwt-dsp.f90.
| procedure gwtdspmodule::gwtdsptype::dsp_df | ( | class(gwtdsptype) | this, |
| class(disbasetype), pointer | dis, | ||
| type(gwtdspoptionstype), intent(in), optional | dspoptions ) |
| [in] | dspoptions | the optional DSP options, used when not creating DSP from file |
Definition at line 54 of file gwt-dsp.f90.
| procedure gwtdspmodule::gwtdsptype::dsp_fc | ( | class(gwtdsptype) | 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 59 of file gwt-dsp.f90.
| procedure gwtdspmodule::gwtdsptype::dsp_mc | ( | class(gwtdsptype) | this, |
| integer(i4b), intent(in) | moffset, | ||
| class(matrixbasetype), pointer | matrix_sln ) |
Map connections and construct iax, jax, and idxglox
Definition at line 56 of file gwt-dsp.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 67 of file gwt-dsp.f90.
|
private |
Definition at line 66 of file gwt-dsp.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 65 of file gwt-dsp.f90.
|
private |
Definition at line 64 of file gwt-dsp.f90.
| real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::alh => null() |
Definition at line 23 of file gwt-dsp.f90.
| real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::alv => null() |
Definition at line 24 of file gwt-dsp.f90.
| real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::angle1 => null() |
Definition at line 45 of file gwt-dsp.f90.
| real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::angle2 => null() |
Definition at line 46 of file gwt-dsp.f90.
| real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::angle3 => null() |
Definition at line 47 of file gwt-dsp.f90.
| real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::ath1 => null() |
Definition at line 25 of file gwt-dsp.f90.
| real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::ath2 => null() |
Definition at line 26 of file gwt-dsp.f90.
| real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::atv => null() |
Definition at line 27 of file gwt-dsp.f90.
| real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::d11 => null() |
Definition at line 42 of file gwt-dsp.f90.
| real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::d22 => null() |
Definition at line 43 of file gwt-dsp.f90.
| real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::d33 => null() |
Definition at line 44 of file gwt-dsp.f90.
| real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::diffc => null() |
Definition at line 22 of file gwt-dsp.f90.
|
inherited |
Definition at line 50 of file NumericalPackage.f90.
| real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::dispcoef => null() |
Definition at line 39 of file gwt-dsp.f90.
|
inherited |
Definition at line 33 of file NumericalPackage.f90.
| type(tspfmitype), pointer gwtdspmodule::gwtdsptype::fmi => null() |
Definition at line 20 of file gwt-dsp.f90.
| integer(i4b), pointer gwtdspmodule::gwtdsptype::ialh => null() |
Definition at line 30 of file gwt-dsp.f90.
| integer(i4b), pointer gwtdspmodule::gwtdsptype::ialv => null() |
Definition at line 31 of file gwt-dsp.f90.
| integer(i4b), pointer gwtdspmodule::gwtdsptype::iangle1 => null() |
Definition at line 48 of file gwt-dsp.f90.
| integer(i4b), pointer gwtdspmodule::gwtdsptype::iangle2 => null() |
Definition at line 49 of file gwt-dsp.f90.
| integer(i4b), pointer gwtdspmodule::gwtdsptype::iangle3 => null() |
Definition at line 50 of file gwt-dsp.f90.
|
inherited |
Definition at line 41 of file NumericalPackage.f90.
| integer(i4b), pointer gwtdspmodule::gwtdsptype::iath1 => null() |
Definition at line 32 of file gwt-dsp.f90.
| integer(i4b), pointer gwtdspmodule::gwtdsptype::iath2 => null() |
Definition at line 33 of file gwt-dsp.f90.
| integer(i4b), pointer gwtdspmodule::gwtdsptype::iatv => null() |
Definition at line 34 of file gwt-dsp.f90.
| integer(i4b), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::ibound => null() |
Definition at line 19 of file gwt-dsp.f90.
|
inherited |
Definition at line 37 of file NumericalPackage.f90.
| integer(i4b), pointer gwtdspmodule::gwtdsptype::id22 => null() |
Definition at line 40 of file gwt-dsp.f90.
| integer(i4b), pointer gwtdspmodule::gwtdsptype::id33 => null() |
Definition at line 41 of file gwt-dsp.f90.
| integer(i4b), pointer gwtdspmodule::gwtdsptype::idiffc => null() |
Definition at line 28 of file gwt-dsp.f90.
| integer(i4b), pointer gwtdspmodule::gwtdsptype::idisp => null() |
Definition at line 29 of file gwt-dsp.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 gwtdspmodule::gwtdsptype::ixt3d => null() |
Definition at line 37 of file gwt-dsp.f90.
| integer(i4b), pointer gwtdspmodule::gwtdsptype::ixt3doff => null() |
Definition at line 35 of file gwt-dsp.f90.
| integer(i4b), pointer gwtdspmodule::gwtdsptype::ixt3drhs => null() |
Definition at line 36 of file gwt-dsp.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 gwtdspmodule::gwtdsptype::thetam => null() |
Definition at line 21 of file gwt-dsp.f90.
| type(xt3dtype), pointer gwtdspmodule::gwtdsptype::xt3d => null() |
Definition at line 38 of file gwt-dsp.f90.