MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
gweinputdatamodule::gweinputdatatype Type Reference

Data for sharing among multiple packages. Originally read in from. More...

Collaboration diagram for gweinputdatamodule::gweinputdatatype:
Collaboration graph

Public Member Functions

procedure, public set_gwe_dat_ptrs (this, gwerhow, gwecpw, gwelatheatvap, gwerhos, gwecps)
 Allocate and read data from EST.
procedure, public gweshared_dat_da (this)
 Deallocate memory.

Public Attributes

integer(i4b) nnodes
 number of cells
character(len=lenmempath) memorypath = ''
 the location in the memory manager where the variables are stored
real(dp), pointer gwerhow => null()
 Density of water (for GWE purposes, a constant scalar).
real(dp), pointer gwecpw => null()
 Heat capacity of water (non-spatially varying).
real(dp), pointer gwelatheatvap => null()
 latent heat of vaporization
real(dp), dimension(:), pointer, contiguous gwerhos => null()
 Density of the aquifer material.
real(dp), dimension(:), pointer, contiguous gwecps => null()
 Heat capacity of solids (spatially varying).

Private Member Functions

procedure, private set_gwe_scalar_ptrs (this, gwerhow, gwecpw, gwelatheatvap)
 Set pointers to scalars read by the EST package for use by other packages.
procedure, private set_gwe_array_ptrs (this, gwerhos, gwecps)
 Set pointers to data arrays read by the EST package for use by other packages.

Detailed Description

Definition at line 15 of file GweInputData.f90.

Member Function/Subroutine Documentation

◆ gweshared_dat_da()

procedure, public gweinputdatamodule::gweinputdatatype::gweshared_dat_da ( class(gweinputdatatype) this)

Set pointers to null

Parameters
thisthe input data block

Definition at line 34 of file GweInputData.f90.

◆ set_gwe_array_ptrs()

procedure, private gweinputdatamodule::gweinputdatatype::set_gwe_array_ptrs ( class(gweinputdatatype) this,
real(dp), dimension(:), intent(in), pointer, contiguous gwerhos,
real(dp), dimension(:), intent(in), pointer, contiguous gwecps )
private

Set pointers to GWE-related arrays for use by multiple packages

Parameters
thisGweInputDataType object

Definition at line 37 of file GweInputData.f90.

◆ set_gwe_dat_ptrs()

procedure, public gweinputdatamodule::gweinputdatatype::set_gwe_dat_ptrs ( class(gweinputdatatype) this,
real(dp), intent(in), pointer gwerhow,
real(dp), intent(in), pointer gwecpw,
real(dp), intent(in), pointer gwelatheatvap,
real(dp), dimension(:), pointer, contiguous gwerhos,
real(dp), dimension(:), pointer, contiguous gwecps )

EST data, including heat capacity of water (cpw), density of water (rhow), latent heat of vaporization (latheatvap), heat capacity of the aquifer material (cps), and density of the aquifer material (rhow) is used among other packages and is therefore stored in a separate class

Parameters
thisthe input data block
[in]gwerhowptr to density of water specified in EST
[in]gwecpwptr to heat capacity of water specified in EST
[in]gwelatheatvapptr to latent heat of vaporization specified in EST
gwerhosptr to sptially-variably density of aquifer material specified in EST
gwecpsptr to sptially-variably heat capacity of aquifer material specified in EST

Definition at line 33 of file GweInputData.f90.

◆ set_gwe_scalar_ptrs()

procedure, private gweinputdatamodule::gweinputdatatype::set_gwe_scalar_ptrs ( class(gweinputdatatype) this,
real(dp), intent(in), pointer gwerhow,
real(dp), intent(in), pointer gwecpw,
real(dp), intent(in), optional, pointer gwelatheatvap )
private

Set pointers to GWE-related scalars and arrays for use by multiple packages. For example, a package capable of simulating evaporation will need access to latent heat of of vaporization.

Parameters
thisGweInputDataType object
[in]gwerhowdensity of water
[in]gwecpwmass-based heat capacity of water
[in]gwelatheatvaplatent heat of vaporization

Definition at line 36 of file GweInputData.f90.

Member Data Documentation

◆ gwecps

real(dp), dimension(:), pointer, contiguous gweinputdatamodule::gweinputdatatype::gwecps => null()

Definition at line 28 of file GweInputData.f90.

◆ gwecpw

real(dp), pointer gweinputdatamodule::gweinputdatatype::gwecpw => null()

Definition at line 25 of file GweInputData.f90.

◆ gwelatheatvap

real(dp), pointer gweinputdatamodule::gweinputdatatype::gwelatheatvap => null()

Definition at line 26 of file GweInputData.f90.

◆ gwerhos

real(dp), dimension(:), pointer, contiguous gweinputdatamodule::gweinputdatatype::gwerhos => null()

Definition at line 27 of file GweInputData.f90.

◆ gwerhow

real(dp), pointer gweinputdatamodule::gweinputdatatype::gwerhow => null()

Definition at line 24 of file GweInputData.f90.

◆ memorypath

character(len=lenmempath) gweinputdatamodule::gweinputdatatype::memorypath = ''

Definition at line 21 of file GweInputData.f90.

◆ nnodes

integer(i4b) gweinputdatamodule::gweinputdatatype::nnodes

Definition at line 18 of file GweInputData.f90.

18 integer(I4B) :: nnodes !< number of cells

The documentation for this type was generated from the following file: