MODFLOW 6
version 6.6.0.dev0
USGS Modular Hydrologic Model
|
This module contains the base numerical package type. More...
Data Types | |
type | numericalpackagetype |
Functions/Subroutines | |
subroutine | set_names (this, ibcnum, name_model, pakname, ftype, input_mempath) |
@ brief Set package names More... | |
subroutine | allocate_scalars (this) |
@ brief Allocate package scalars More... | |
subroutine | da (this) |
@ brief Deallocate package scalars More... | |
subroutine | read_check_ionper (this) |
@ brief Check ionper More... | |
subroutine | get_block_data (this, tags, lfound, varinames) |
@ brief Read griddata block for a package More... | |
This module contains the base model package class that is extended by all model packages.
|
private |
Allocate and initialize base numerical package scalars.
this | NumericalPackageType object |
Definition at line 105 of file NumericalPackage.f90.
subroutine numericalpackagemodule::da | ( | class(numericalpackagetype) | this | ) |
Deallocate and initialize base numerical package scalars.
this | NumericalPackageType object |
Definition at line 173 of file NumericalPackage.f90.
subroutine numericalpackagemodule::get_block_data | ( | class(numericalpackagetype) | this, |
character(len=24), dimension(:), intent(in) | tags, | ||
logical, dimension(:), intent(inout) | lfound, | ||
character(len=24), dimension(:), intent(in), optional | varinames | ||
) |
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 228 of file NumericalPackage.f90.
subroutine numericalpackagemodule::read_check_ionper | ( | class(numericalpackagetype), intent(inout) | this | ) |
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 202 of file NumericalPackage.f90.
|
private |
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 69 of file NumericalPackage.f90.