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

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.

Detailed Description

Definition at line 17 of file gwt-dsp.f90.

Member Function/Subroutine Documentation

◆ allocate_arrays()

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.

◆ allocate_scalars() [1/2]

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.

◆ 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 gwtdspmodule::gwtdsptype::calcdispcoef ( class(gwtdsptype) this)
private

Definition at line 69 of file gwt-dsp.f90.

◆ calcdispellipse()

procedure, private gwtdspmodule::gwtdsptype::calcdispellipse ( class(gwtdsptype) this)
private

Definition at line 68 of file gwt-dsp.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.

◆ dsp_ac()

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.

◆ dsp_ad()

procedure gwtdspmodule::gwtdsptype::dsp_ad ( class(gwtdsptype) this)

Definition at line 58 of file gwt-dsp.f90.

◆ dsp_ar()

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.

◆ dsp_cq()

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.

◆ dsp_da()

procedure gwtdspmodule::gwtdsptype::dsp_da ( class(gwtdsptype) this)

Method to deallocate memory for the package.

Definition at line 61 of file gwt-dsp.f90.

◆ dsp_df()

procedure gwtdspmodule::gwtdsptype::dsp_df ( class(gwtdsptype) this,
class(disbasetype), pointer dis,
type(gwtdspoptionstype), intent(in), optional dspoptions )
Parameters
[in]dspoptionsthe optional DSP options, used when not creating DSP from file

Definition at line 54 of file gwt-dsp.f90.

◆ dsp_fc()

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.

◆ dsp_mc()

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.

◆ 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 gwtdspmodule::gwtdsptype::log_griddata ( class(gwtdsptype) this,
type(gwtdspparamfoundtype), intent(in) found )
private

Definition at line 67 of file gwt-dsp.f90.

◆ log_options()

procedure, private gwtdspmodule::gwtdsptype::log_options ( class(gwtdsptype) this,
type(gwtdspparamfoundtype), intent(in) found )
private

Definition at line 66 of file gwt-dsp.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 gwtdspmodule::gwtdsptype::source_griddata ( class(gwtdsptype) this)
private

Definition at line 65 of file gwt-dsp.f90.

◆ source_options()

procedure, private gwtdspmodule::gwtdsptype::source_options ( class(gwtdsptype) this)
private

Definition at line 64 of file gwt-dsp.f90.

Member Data Documentation

◆ alh

real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::alh => null()

Definition at line 23 of file gwt-dsp.f90.

◆ alv

real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::alv => null()

Definition at line 24 of file gwt-dsp.f90.

◆ angle1

real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::angle1 => null()

Definition at line 45 of file gwt-dsp.f90.

◆ angle2

real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::angle2 => null()

Definition at line 46 of file gwt-dsp.f90.

◆ angle3

real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::angle3 => null()

Definition at line 47 of file gwt-dsp.f90.

◆ ath1

real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::ath1 => null()

Definition at line 25 of file gwt-dsp.f90.

◆ ath2

real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::ath2 => null()

Definition at line 26 of file gwt-dsp.f90.

◆ atv

real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::atv => null()

Definition at line 27 of file gwt-dsp.f90.

◆ d11

real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::d11 => null()

Definition at line 42 of file gwt-dsp.f90.

◆ d22

real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::d22 => null()

Definition at line 43 of file gwt-dsp.f90.

◆ d33

real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::d33 => null()

Definition at line 44 of file gwt-dsp.f90.

◆ diffc

real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::diffc => null()

Definition at line 22 of file gwt-dsp.f90.

◆ dis

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

Definition at line 50 of file NumericalPackage.f90.

◆ dispcoef

real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::dispcoef => null()

Definition at line 39 of file gwt-dsp.f90.

◆ filtyp

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

Definition at line 33 of file NumericalPackage.f90.

◆ fmi

type(tspfmitype), pointer gwtdspmodule::gwtdsptype::fmi => null()

Definition at line 20 of file gwt-dsp.f90.

◆ ialh

integer(i4b), pointer gwtdspmodule::gwtdsptype::ialh => null()

Definition at line 30 of file gwt-dsp.f90.

◆ ialv

integer(i4b), pointer gwtdspmodule::gwtdsptype::ialv => null()

Definition at line 31 of file gwt-dsp.f90.

◆ iangle1

integer(i4b), pointer gwtdspmodule::gwtdsptype::iangle1 => null()

Definition at line 48 of file gwt-dsp.f90.

◆ iangle2

integer(i4b), pointer gwtdspmodule::gwtdsptype::iangle2 => null()

Definition at line 49 of file gwt-dsp.f90.

◆ iangle3

integer(i4b), pointer gwtdspmodule::gwtdsptype::iangle3 => null()

Definition at line 50 of file gwt-dsp.f90.

◆ iasym

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

Definition at line 41 of file NumericalPackage.f90.

◆ iath1

integer(i4b), pointer gwtdspmodule::gwtdsptype::iath1 => null()

Definition at line 32 of file gwt-dsp.f90.

◆ iath2

integer(i4b), pointer gwtdspmodule::gwtdsptype::iath2 => null()

Definition at line 33 of file gwt-dsp.f90.

◆ iatv

integer(i4b), pointer gwtdspmodule::gwtdsptype::iatv => null()

Definition at line 34 of file gwt-dsp.f90.

◆ ibound

integer(i4b), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::ibound => null()

Definition at line 19 of file gwt-dsp.f90.

◆ id

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

Definition at line 37 of file NumericalPackage.f90.

◆ id22

integer(i4b), pointer gwtdspmodule::gwtdsptype::id22 => null()

Definition at line 40 of file gwt-dsp.f90.

◆ id33

integer(i4b), pointer gwtdspmodule::gwtdsptype::id33 => null()

Definition at line 41 of file gwt-dsp.f90.

◆ idiffc

integer(i4b), pointer gwtdspmodule::gwtdsptype::idiffc => null()

Definition at line 28 of file gwt-dsp.f90.

◆ idisp

integer(i4b), pointer gwtdspmodule::gwtdsptype::idisp => null()

Definition at line 29 of file gwt-dsp.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 gwtdspmodule::gwtdsptype::ixt3d => null()

Definition at line 37 of file gwt-dsp.f90.

◆ ixt3doff

integer(i4b), pointer gwtdspmodule::gwtdsptype::ixt3doff => null()

Definition at line 35 of file gwt-dsp.f90.

◆ ixt3drhs

integer(i4b), pointer gwtdspmodule::gwtdsptype::ixt3drhs => null()

Definition at line 36 of file gwt-dsp.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

◆ thetam

real(dp), dimension(:), pointer, contiguous gwtdspmodule::gwtdsptype::thetam => null()

Definition at line 21 of file gwt-dsp.f90.

◆ xt3d

type(xt3dtype), pointer gwtdspmodule::gwtdsptype::xt3d => null()

Definition at line 38 of file gwt-dsp.f90.


The documentation for this type was generated from the following file:
  • /home/runner/work/modflow6/modflow6/src/Model/GroundWaterTransport/gwt-dsp.f90