MODFLOW 6
version 6.5.0.dev2
MODFLOW 6 Code Documentation
|
This module contains the GwtSpc Module. More...
Data Types | |
type | gwtspctype |
Derived type for managing SPC input. More... | |
Functions/Subroutines | |
subroutine | initialize (this, dis, id, inunit, iout, name_model, packNameFlow) |
@ brief Initialize the SPC type More... | |
subroutine | allocate_scalars (this) |
@ brief Allocate package scalars More... | |
subroutine | read_options (this) |
@ brief Read options for package More... | |
subroutine | read_dimensions (this) |
@ brief Read dimensions for package More... | |
subroutine | allocate_arrays (this) |
@ brief Allocate package arrays More... | |
real(dp) function | get_value (this, ientry, nbound_flow) |
@ brief Get the data value from this package More... | |
subroutine | spc_rp (this) |
@ brief Read and prepare More... | |
subroutine | spc_rp_list (this) |
@ brief spc_rp_list More... | |
subroutine | spc_rp_array (this, line) |
@ brief spc_rp_array More... | |
subroutine | spc_ad (this, nbound_flowpack, budtxt) |
@ brief Advance More... | |
subroutine | spc_da (this) |
@ brief Deallocate variables More... | |
subroutine | read_check_ionper (this) |
@ brief Check ionper More... | |
subroutine | set_value (this, ival) |
@ brief Set the data value from the input file More... | |
subroutine | check_flow_package (this, nbound_flowpack, budtxt) |
@ brief check_flow_package More... | |
Variables | |
character(len=lenftype) | ftype = 'SPC' |
character(len=lenpackagename) | text = 'STRESS PACK CONC' |
This module contains the code for reading and storing a generic input file of source and sink concentrations.
|
private |
Allocate and initialize package arrays.
this | GwtSpcType object |
Definition at line 321 of file GwtSpc.f90.
|
private |
Allocate and initialize package scalars.
this | GwtSpcType object |
Definition at line 148 of file GwtSpc.f90.
subroutine gwtspcmodule::check_flow_package | ( | class(gwtspctype), intent(inout) | this, |
integer(i4b), intent(in) | nbound_flowpack, | ||
character(len=*), intent(in) | budtxt | ||
) |
Check to make sure that flow package information is consistent with this SPC information.
[in,out] | this | GwtSpcType object |
Definition at line 745 of file GwtSpc.f90.
real(dp) function gwtspcmodule::get_value | ( | class(gwtspctype) | this, |
integer(i4b), intent(in) | ientry, | ||
integer(i4b), intent(in) | nbound_flow | ||
) |
Get the floating point value from the dblvec array.
this | GwtSpcType object | |
[in] | ientry | index of the data to return |
[in] | nbound_flow | size of bound list in flow package |
Definition at line 346 of file GwtSpc.f90.
|
private |
Initialize the SPC object by setting up the parser, and time series manager, reading options and dimensions, and allocating memory.
this | GwtSpcType | |
[in] | dis | discretization package |
[in] | id | id number for this spc package |
[in] | inunit | unit number for input |
[in] | iout | unit number for output |
[in] | name_model | character string containing model name |
[in] | packnameflow | character string containing name of corresponding flow package |
Definition at line 87 of file GwtSpc.f90.
subroutine gwtspcmodule::read_check_ionper | ( | class(gwtspctype), intent(inout) | this | ) |
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. Copied from NumericalPackage
[in,out] | this | GwtSpcType object |
Definition at line 683 of file GwtSpc.f90.
|
private |
Read dimensions for this package.
[in,out] | this | GwtSpcType object |
Definition at line 263 of file GwtSpc.f90.
subroutine gwtspcmodule::read_options | ( | class(gwtspctype) | this | ) |
Read options for this package.
Definition at line 187 of file GwtSpc.f90.
subroutine gwtspcmodule::set_value | ( | class(gwtspctype), intent(inout) | this, |
integer(i4b), intent(in) | ival | ||
) |
Set the floating point value in the dblvec array using strings returned from the parser. Allow for time series names.
[in,out] | this | GwtSpcType object |
Definition at line 713 of file GwtSpc.f90.
subroutine gwtspcmodule::spc_ad | ( | class(gwtspctype), intent(inout) | this, |
integer(i4b), intent(in) | nbound_flowpack, | ||
character(len=*), intent(in) | budtxt | ||
) |
Call the advance method on the time series so that new values are interpolated and entered into dblvec
[in,out] | this | GwtSpcType object |
Definition at line 623 of file GwtSpc.f90.
|
private |
Deallocate and nullify package variables.
this | GwtSpcType object |
Definition at line 647 of file GwtSpc.f90.
|
private |
Read and prepare the period data block and fill dblvec if the next period block corresponds to this time step.
[in,out] | this | GwtSpcType object |
Definition at line 391 of file GwtSpc.f90.
subroutine gwtspcmodule::spc_rp_array | ( | class(gwtspctype), intent(inout) | this, |
character(len=linelength), intent(inout) | line | ||
) |
Read the stress period data in array format
[in,out] | this | GwtSpcType object |
Definition at line 538 of file GwtSpc.f90.
subroutine gwtspcmodule::spc_rp_list | ( | class(gwtspctype), intent(inout) | this | ) |
Read the stress period data in list format
[in,out] | this | GwtSpcType object |
Definition at line 470 of file GwtSpc.f90.
|
private |
Definition at line 27 of file GwtSpc.f90.
|
private |
Definition at line 28 of file GwtSpc.f90.