![]() |
MODFLOW 6
version 6.8.0.dev0
USGS Modular Hydrologic Model
|
This module contains the TspSpc Module. More...
Data Types | |
| type | tspspctype |
| Derived type for managing SPC input. More... | |
Functions/Subroutines | |
| subroutine | initialize (this, dis, id, input_mempath, iout, name_model, packNameFlow, dvn, input_fname) |
| Initialize the SPC type. More... | |
| subroutine | allocate_scalars (this) |
| Allocate package scalars. More... | |
| subroutine | allocate_arrays (this) |
| Allocate package arrays. More... | |
| real(dp) function | get_value (this, ientry, nbound_flow) |
| Get the data value from this package. More... | |
| subroutine | apply_input_values (this) |
| Apply current input mempath values to dblvec. More... | |
| subroutine | spc_rp (this, nbound_flowpack, budtxt) |
| Read and prepare stress period data. More... | |
| subroutine | spc_ad (this, nbound_flowpack, budtxt) |
| Advance. More... | |
| subroutine | spc_da (this) |
| Deallocate variables. More... | |
| subroutine | check_flow_package (this, nbound_flowpack, budtxt) |
| Check flow package consistency. More... | |
Variables | |
| character(len=lenftype) | ftype = 'SPC' |
This module contains the code for reading and storing a generic input file of source and sink concentrations or temperatures.
| subroutine tspspcmodule::allocate_arrays | ( | class(tspspctype) | this | ) |
| this | TspSpcType object |
Definition at line 163 of file TspSpc.f90.
|
private |
|
private |
For list-based SPC, iterates BNDNO/value rows. For array-based SPCA, copies the depvarname array directly.
| [in,out] | this | TspSpcType object |
Definition at line 220 of file TspSpc.f90.
| subroutine tspspcmodule::check_flow_package | ( | class(tspspctype), intent(inout) | this, |
| integer(i4b), intent(in) | nbound_flowpack, | ||
| character(len=*), intent(in) | budtxt | ||
| ) |
Check that MAXBOUND is not less than nbound_flowpack and that readasarrays is consistent with the flow package type.
| [in,out] | this | TspSpcType object |
Definition at line 342 of file TspSpc.f90.

| real(dp) function tspspcmodule::get_value | ( | class(tspspctype) | this, |
| integer(i4b), intent(in) | ientry, | ||
| integer(i4b), intent(in) | nbound_flow | ||
| ) |
Get the floating point value from the dblvec array.
| this | TspSpcType object | |
| [in] | ientry | index of the data to return |
| [in] | nbound_flow | size of bound list in flow package |
Definition at line 183 of file TspSpc.f90.
|
private |
Initialize the SPC object using input context data.
| this | TspSpcType | |
| [in] | dis | discretization package |
| [in] | id | id number for this spc package |
| [in] | input_mempath | input memory path |
| [in] | iout | unit number for output |
| [in] | name_model | model name |
| [in] | packnameflow | name of corresponding flow package |
| [in] | dvn | dependent variable name (CONCENTRATION or TEMPERATURE) |
| [in] | input_fname | SPC input file name |
Definition at line 73 of file TspSpc.f90.

|
private |
Apply advanced input values at each time step.
| [in,out] | this | TspSpcType object |
Definition at line 306 of file TspSpc.f90.
|
private |
|
private |
Copies input period data into dblvec when new data has been loaded for this stress period.
| [in,out] | this | TspSpcType object |
Definition at line 277 of file TspSpc.f90.
|
private |
Definition at line 26 of file TspSpc.f90.