MODFLOW 6  version 6.8.0.dev0
USGS Modular Hydrologic Model
tspspcmodule::tspspctype Type Reference

Derived type for managing SPC input. More...

Collaboration diagram for tspspcmodule::tspspctype:
Collaboration graph

Private Member Functions

procedure initialize
 
procedure allocate_scalars
 
procedure allocate_arrays
 
procedure get_value
 
procedure apply_input_values
 
procedure spc_rp
 
procedure spc_ad
 
procedure spc_da
 
procedure check_flow_package
 

Private Attributes

character(len=lenmodelname) name_model = ''
 the name of the model that contains this package More...
 
character(len=lenpackagename) packname = ''
 name of the package More...
 
character(len=lenpackagename) packnameflow = ''
 name of the corresponding flow package More...
 
character(len=lenvarname) depvarname = ''
 name of the dependent variable (CONCENTRATION or TEMPERATURE) More...
 
character(len=lenmempath) memorypath = ''
 the location in the memory manager where the variables are stored More...
 
character(len=lenmempath) input_mempath = ''
 input memory path for SPC data More...
 
character(len=linelength) input_fname = ''
 SPC input file name. More...
 
integer(i4b), pointer id => null()
 id number for this spc package More...
 
integer(i4b), pointer iout => null()
 unit number for output More...
 
integer(i4b), pointer maxbound => null()
 length of dblvec More...
 
integer(i4b), pointer iprpak => null()
 flag for printing input More...
 
logical(lgp), pointer readasarrays => null()
 flag for reading concentrations as an array More...
 
logical(lgp) ts_active = .false.
 .true. if timeseries or time-array series are active More...
 
real(dp), dimension(:), pointer, contiguous dblvec => null()
 vector of floats read from file More...
 
class(disbasetype), pointer dis => null()
 model discretization object More...
 

Detailed Description

This derived type reads pre-loaded values from the SPC input memory path and provides concentrations or temperatures to the SSM package for individual GWF stress packages.

Definition at line 34 of file TspSpc.f90.

Member Function/Subroutine Documentation

◆ allocate_arrays()

procedure tspspcmodule::tspspctype::allocate_arrays
private

Definition at line 56 of file TspSpc.f90.

◆ allocate_scalars()

procedure tspspcmodule::tspspctype::allocate_scalars
private

Definition at line 55 of file TspSpc.f90.

◆ apply_input_values()

procedure tspspcmodule::tspspctype::apply_input_values
private

Definition at line 58 of file TspSpc.f90.

◆ check_flow_package()

procedure tspspcmodule::tspspctype::check_flow_package
private

Definition at line 62 of file TspSpc.f90.

◆ get_value()

procedure tspspcmodule::tspspctype::get_value
private

Definition at line 57 of file TspSpc.f90.

◆ initialize()

procedure tspspcmodule::tspspctype::initialize
private

Definition at line 54 of file TspSpc.f90.

◆ spc_ad()

procedure tspspcmodule::tspspctype::spc_ad
private

Definition at line 60 of file TspSpc.f90.

◆ spc_da()

procedure tspspcmodule::tspspctype::spc_da
private

Definition at line 61 of file TspSpc.f90.

◆ spc_rp()

procedure tspspcmodule::tspspctype::spc_rp
private

Definition at line 59 of file TspSpc.f90.

Member Data Documentation

◆ dblvec

real(dp), dimension(:), pointer, contiguous tspspcmodule::tspspctype::dblvec => null()
private

Definition at line 49 of file TspSpc.f90.

49  real(DP), dimension(:), pointer, contiguous :: dblvec => null() !< vector of floats read from file

◆ depvarname

character(len=lenvarname) tspspcmodule::tspspctype::depvarname = ''
private

Definition at line 39 of file TspSpc.f90.

39  character(len=LENVARNAME) :: depvarname = '' !< name of the dependent variable (CONCENTRATION or TEMPERATURE)

◆ dis

class(disbasetype), pointer tspspcmodule::tspspctype::dis => null()
private

Definition at line 50 of file TspSpc.f90.

50  class(DisBaseType), pointer :: dis => null() !< model discretization object

◆ id

integer(i4b), pointer tspspcmodule::tspspctype::id => null()
private

Definition at line 43 of file TspSpc.f90.

43  integer(I4B), pointer :: id => null() !< id number for this spc package

◆ input_fname

character(len=linelength) tspspcmodule::tspspctype::input_fname = ''
private

Definition at line 42 of file TspSpc.f90.

42  character(len=LINELENGTH) :: input_fname = '' !< SPC input file name

◆ input_mempath

character(len=lenmempath) tspspcmodule::tspspctype::input_mempath = ''
private

Definition at line 41 of file TspSpc.f90.

41  character(len=LENMEMPATH) :: input_mempath = '' !< input memory path for SPC data

◆ iout

integer(i4b), pointer tspspcmodule::tspspctype::iout => null()
private

Definition at line 44 of file TspSpc.f90.

44  integer(I4B), pointer :: iout => null() !< unit number for output

◆ iprpak

integer(i4b), pointer tspspcmodule::tspspctype::iprpak => null()
private

Definition at line 46 of file TspSpc.f90.

46  integer(I4B), pointer :: iprpak => null() !< flag for printing input

◆ maxbound

integer(i4b), pointer tspspcmodule::tspspctype::maxbound => null()
private

Definition at line 45 of file TspSpc.f90.

45  integer(I4B), pointer :: maxbound => null() !< length of dblvec

◆ memorypath

character(len=lenmempath) tspspcmodule::tspspctype::memorypath = ''
private

Definition at line 40 of file TspSpc.f90.

40  character(len=LENMEMPATH) :: memoryPath = '' !< the location in the memory manager where the variables are stored

◆ name_model

character(len=lenmodelname) tspspcmodule::tspspctype::name_model = ''
private

Definition at line 36 of file TspSpc.f90.

36  character(len=LENMODELNAME) :: name_model = '' !< the name of the model that contains this package

◆ packname

character(len=lenpackagename) tspspcmodule::tspspctype::packname = ''
private

Definition at line 37 of file TspSpc.f90.

37  character(len=LENPACKAGENAME) :: packName = '' !< name of the package

◆ packnameflow

character(len=lenpackagename) tspspcmodule::tspspctype::packnameflow = ''
private

Definition at line 38 of file TspSpc.f90.

38  character(len=LENPACKAGENAME) :: packNameFlow = '' !< name of the corresponding flow package

◆ readasarrays

logical(lgp), pointer tspspcmodule::tspspctype::readasarrays => null()
private

Definition at line 47 of file TspSpc.f90.

47  logical(LGP), pointer :: readasarrays => null() !< flag for reading concentrations as an array

◆ ts_active

logical(lgp) tspspcmodule::tspspctype::ts_active = .false.
private

Definition at line 48 of file TspSpc.f90.

48  logical(LGP) :: ts_active = .false. !< .true. if timeseries or time-array series are active

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