MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
Inheritance diagram for gwecndmodule::gwecndtype:
Inheritance graph
Collaboration diagram for gwecndmodule::gwecndtype:
Collaboration graph

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.

Detailed Description

Definition at line 18 of file gwe-cnd.f90.

Member Function/Subroutine Documentation

◆ allocate_arrays()

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.

◆ allocate_scalars() [1/2]

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.

◆ allocate_scalars() [2/2]

procedure numericalpackagemodule::numericalpackagetype::allocate_scalars ( class(numericalpackagetype) this)
inherited

Allocate and initialize base numerical package scalars.

Parameters
thisNumericalPackageType object

Definition at line 54 of file NumericalPackage.f90.

◆ calcdispcoef()

procedure, private gwecndmodule::gwecndtype::calcdispcoef ( class(gwecndtype) this)
private

Definition at line 74 of file gwe-cnd.f90.

◆ calcdispellipse()

procedure, private gwecndmodule::gwecndtype::calcdispellipse ( class(gwecndtype) this)
private

Definition at line 73 of file gwe-cnd.f90.

◆ cnd_ac()

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.

◆ cnd_ad()

procedure gwecndmodule::gwecndtype::cnd_ad ( class(gwecndtype) this)

Definition at line 63 of file gwe-cnd.f90.

◆ cnd_ar()

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.

◆ cnd_cq()

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.

◆ cnd_da()

procedure gwecndmodule::gwecndtype::cnd_da ( class(gwecndtype) this)

Method to deallocate memory for the package.

Definition at line 66 of file gwe-cnd.f90.

◆ cnd_df()

procedure gwecndmodule::gwecndtype::cnd_df ( class(gwecndtype) this,
class(disbasetype), pointer dis,
type(gwecndoptionstype), intent(in), optional cndoptions )
Parameters
[in]cndoptionsthe optional CND options, used when not creating CND from file

Definition at line 59 of file gwe-cnd.f90.

◆ cnd_fc()

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.

◆ cnd_mc()

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.

◆ da()

procedure numericalpackagemodule::numericalpackagetype::da ( class(numericalpackagetype) this)
inherited

Deallocate and initialize base numerical package scalars.

Parameters
thisNumericalPackageType object

Definition at line 55 of file NumericalPackage.f90.

◆ get_block_data()

procedure numericalpackagemodule::numericalpackagetype::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 )
inherited

Generic method to read data in the GRIDDATA block for a package.

Parameters
thisNumericalPackageType object
[in]tagsvector with variable tags
[in,out]lfoundboolean vector indicating of a variable tag was found
[in]varinamesoptional vector of variable names

Definition at line 57 of file NumericalPackage.f90.

◆ log_griddata()

procedure, private gwecndmodule::gwecndtype::log_griddata ( class(gwecndtype) this,
type(gwecndparamfoundtype), intent(in) found )
private

Definition at line 72 of file gwe-cnd.f90.

◆ log_options()

procedure, private gwecndmodule::gwecndtype::log_options ( class(gwecndtype) this,
type(gwecndparamfoundtype), intent(in) found )
private

Definition at line 71 of file gwe-cnd.f90.

◆ read_check_ionper()

procedure numericalpackagemodule::numericalpackagetype::read_check_ionper ( class(numericalpackagetype), intent(inout) this)
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.

Parameters
[in,out]thisNumericalPackageType object

Definition at line 56 of file NumericalPackage.f90.

◆ set_names()

procedure numericalpackagemodule::numericalpackagetype::set_names ( class(numericalpackagetype), intent(inout) this,
integer(i4b), intent(in) ibcnum,
character(len=*), intent(in) name_model,
character(len=*), intent(in) pakname,
character(len=*), intent(in) ftype,
character(len=*), intent(in), optional input_mempath )
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.

Parameters
[in,out]thisNumericalPackageType object
[in]ibcnumunique package number
[in]name_modelname of the model
[in]paknamename of the package
[in]ftypepackage type

Definition at line 53 of file NumericalPackage.f90.

◆ source_griddata()

procedure, private gwecndmodule::gwecndtype::source_griddata ( class(gwecndtype) this)
private

Definition at line 70 of file gwe-cnd.f90.

◆ source_options()

procedure, private gwecndmodule::gwecndtype::source_options ( class(gwecndtype) this)
private

Definition at line 69 of file gwe-cnd.f90.

Member Data Documentation

◆ alh

real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::alh => null()

Definition at line 24 of file gwe-cnd.f90.

◆ alv

real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::alv => null()

Definition at line 25 of file gwe-cnd.f90.

◆ angle1

real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::angle1 => null()

Definition at line 49 of file gwe-cnd.f90.

◆ angle2

real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::angle2 => null()

Definition at line 50 of file gwe-cnd.f90.

◆ angle3

real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::angle3 => null()

Definition at line 51 of file gwe-cnd.f90.

◆ ath1

real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::ath1 => null()

Definition at line 26 of file gwe-cnd.f90.

◆ ath2

real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::ath2 => null()

Definition at line 27 of file gwe-cnd.f90.

◆ atv

real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::atv => null()

Definition at line 28 of file gwe-cnd.f90.

◆ d11

real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::d11 => null()

Definition at line 46 of file gwe-cnd.f90.

◆ d22

real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::d22 => null()

Definition at line 47 of file gwe-cnd.f90.

◆ d33

real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::d33 => null()

Definition at line 48 of file gwe-cnd.f90.

◆ dis

class(disbasetype), pointer numericalpackagemodule::numericalpackagetype::dis => null()
inherited

Definition at line 50 of file NumericalPackage.f90.

◆ dispcoef

real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::dispcoef => null()

Definition at line 43 of file gwe-cnd.f90.

◆ eqnsclfac

real(dp), pointer gwecndmodule::gwecndtype::eqnsclfac => null()

Definition at line 55 of file gwe-cnd.f90.

◆ filtyp

character(len=lenftype) numericalpackagemodule::numericalpackagetype::filtyp = ''
inherited

Definition at line 33 of file NumericalPackage.f90.

◆ fmi

type(tspfmitype), pointer gwecndmodule::gwecndtype::fmi => null()

Definition at line 21 of file gwe-cnd.f90.

◆ gwecommon

type(gweinputdatatype), pointer gwecndmodule::gwecndtype::gwecommon => null()

Definition at line 22 of file gwe-cnd.f90.

◆ ialh

integer(i4b), pointer gwecndmodule::gwecndtype::ialh => null()

Definition at line 32 of file gwe-cnd.f90.

◆ ialv

integer(i4b), pointer gwecndmodule::gwecndtype::ialv => null()

Definition at line 33 of file gwe-cnd.f90.

◆ iangle1

integer(i4b), pointer gwecndmodule::gwecndtype::iangle1 => null()

Definition at line 52 of file gwe-cnd.f90.

◆ iangle2

integer(i4b), pointer gwecndmodule::gwecndtype::iangle2 => null()

Definition at line 53 of file gwe-cnd.f90.

◆ iangle3

integer(i4b), pointer gwecndmodule::gwecndtype::iangle3 => null()

Definition at line 54 of file gwe-cnd.f90.

◆ iasym

integer(i4b), pointer numericalpackagemodule::numericalpackagetype::iasym => null()
inherited

Definition at line 41 of file NumericalPackage.f90.

◆ iath1

integer(i4b), pointer gwecndmodule::gwecndtype::iath1 => null()

Definition at line 34 of file gwe-cnd.f90.

◆ iath2

integer(i4b), pointer gwecndmodule::gwecndtype::iath2 => null()

Definition at line 35 of file gwe-cnd.f90.

◆ iatv

integer(i4b), pointer gwecndmodule::gwecndtype::iatv => null()

Definition at line 36 of file gwe-cnd.f90.

◆ ibound

integer(i4b), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::ibound => null()

Definition at line 20 of file gwe-cnd.f90.

◆ id

integer(i4b), pointer numericalpackagemodule::numericalpackagetype::id => null()
inherited

Definition at line 37 of file NumericalPackage.f90.

◆ id22

integer(i4b), pointer gwecndmodule::gwecndtype::id22 => null()

Definition at line 44 of file gwe-cnd.f90.

◆ id33

integer(i4b), pointer gwecndmodule::gwecndtype::id33 => null()

Definition at line 45 of file gwe-cnd.f90.

◆ idisp

integer(i4b), pointer gwecndmodule::gwecndtype::idisp => null()

Definition at line 31 of file gwe-cnd.f90.

◆ ikts

integer(i4b), pointer gwecndmodule::gwecndtype::ikts => null()

Definition at line 40 of file gwe-cnd.f90.

◆ iktw

integer(i4b), pointer gwecndmodule::gwecndtype::iktw => null()

Definition at line 39 of file gwe-cnd.f90.

◆ inewton

integer(i4b), pointer numericalpackagemodule::numericalpackagetype::inewton => null()
inherited

Definition at line 40 of file NumericalPackage.f90.

◆ input_fname

character(len=linelength), pointer numericalpackagemodule::numericalpackagetype::input_fname => null()
inherited

Definition at line 32 of file NumericalPackage.f90.

◆ input_mempath

character(len=lenmempath) numericalpackagemodule::numericalpackagetype::input_mempath = ''
inherited

Definition at line 31 of file NumericalPackage.f90.

◆ inunit

integer(i4b), pointer numericalpackagemodule::numericalpackagetype::inunit => null()
inherited

Definition at line 38 of file NumericalPackage.f90.

◆ ionper

integer(i4b), pointer numericalpackagemodule::numericalpackagetype::ionper => null()
inherited

Definition at line 45 of file NumericalPackage.f90.

◆ iout

integer(i4b), pointer numericalpackagemodule::numericalpackagetype::iout => null()
inherited

Definition at line 39 of file NumericalPackage.f90.

◆ ipakcb

integer(i4b), pointer numericalpackagemodule::numericalpackagetype::ipakcb => null()
inherited

Definition at line 44 of file NumericalPackage.f90.

◆ iprflow

integer(i4b), pointer numericalpackagemodule::numericalpackagetype::iprflow => null()
inherited

Definition at line 43 of file NumericalPackage.f90.

◆ iprpak

integer(i4b), pointer numericalpackagemodule::numericalpackagetype::iprpak => null()
inherited

Definition at line 42 of file NumericalPackage.f90.

◆ ixt3d

integer(i4b), pointer gwecndmodule::gwecndtype::ixt3d => null()

Definition at line 41 of file gwe-cnd.f90.

◆ ixt3doff

integer(i4b), pointer gwecndmodule::gwecndtype::ixt3doff => null()

Definition at line 37 of file gwe-cnd.f90.

◆ ixt3drhs

integer(i4b), pointer gwecndmodule::gwecndtype::ixt3drhs => null()

Definition at line 38 of file gwe-cnd.f90.

◆ kts

real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::kts => null()

Definition at line 30 of file gwe-cnd.f90.

◆ ktw

real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::ktw => null()

Definition at line 29 of file gwe-cnd.f90.

◆ lastonper

integer(i4b), pointer numericalpackagemodule::numericalpackagetype::lastonper => null()
inherited

Definition at line 46 of file NumericalPackage.f90.

◆ memorypath

character(len=lenmempath) numericalpackagemodule::numericalpackagetype::memorypath = ''
inherited

Definition at line 28 of file NumericalPackage.f90.

◆ memorypathmodel

character(len=lenmempath) numericalpackagemodule::numericalpackagetype::memorypathmodel = ''
inherited

Definition at line 29 of file NumericalPackage.f90.

◆ name_model

character(len=lenmodelname) numericalpackagemodule::numericalpackagetype::name_model = ''
inherited

Definition at line 26 of file NumericalPackage.f90.

◆ package_type

character(len=lenftype), pointer numericalpackagemodule::numericalpackagetype::package_type => null()
inherited

Definition at line 34 of file NumericalPackage.f90.

◆ packname

character(len=lenpackagename) numericalpackagemodule::numericalpackagetype::packname = ''
inherited

Definition at line 27 of file NumericalPackage.f90.

◆ parser

type(blockparsertype) numericalpackagemodule::numericalpackagetype::parser
inherited

Definition at line 49 of file NumericalPackage.f90.

49 type(BlockParserType) :: parser !< parser object for reading blocks of information

◆ porosity

real(dp), dimension(:), pointer, contiguous gwecndmodule::gwecndtype::porosity => null()

Definition at line 23 of file gwe-cnd.f90.

◆ xt3d

type(xt3dtype), pointer gwecndmodule::gwecndtype::xt3d => null()

Definition at line 42 of file gwe-cnd.f90.


The documentation for this type was generated from the following file:
  • /home/runner/work/modflow6/modflow6/src/Model/GroundWaterEnergy/gwe-cnd.f90