MODFLOW 6
version 6.7.0.dev0
USGS Modular Hydrologic Model
|
Data Types | |
type | gwtlkttype |
Functions/Subroutines | |
subroutine, public | lkt_create (packobj, id, ibcnum, inunit, iout, namemodel, pakname, fmi, eqnsclfac, dvt, dvu, dvua) |
Create a new lkt package. More... | |
subroutine | find_lkt_package (this) |
Find corresponding lkt package. More... | |
subroutine | lkt_fc_expanded (this, rhs, ia, idxglo, matrix_sln) |
Add matrix terms related to LKT. More... | |
subroutine | lkt_solve (this) |
Add terms specific to lakes to the explicit lake solve. More... | |
integer(i4b) function | lkt_get_nbudterms (this) |
Function to return the number of budget terms just for this package. More... | |
subroutine | lkt_setup_budobj (this, idx) |
Set up the budget object that stores all the lake flows. More... | |
subroutine | lkt_fill_budobj (this, idx, x, flowja, ccratin, ccratout) |
Copy flow terms into thisbudobj. More... | |
subroutine | allocate_scalars (this) |
Allocate scalars specific to the lake mass transport (LKT) package. More... | |
subroutine | lkt_allocate_arrays (this) |
Allocate arrays specific to the lake mass transport (LKT) package. More... | |
subroutine | lkt_da (this) |
Deallocate memory. More... | |
subroutine | lkt_rain_term (this, ientry, n1, n2, rrate, rhsval, hcofval) |
Rain term. More... | |
subroutine | lkt_evap_term (this, ientry, n1, n2, rrate, rhsval, hcofval) |
Evaporative term. More... | |
subroutine | lkt_roff_term (this, ientry, n1, n2, rrate, rhsval, hcofval) |
Runoff term. More... | |
subroutine | lkt_iflw_term (this, ientry, n1, n2, rrate, rhsval, hcofval) |
Inflow Term. More... | |
subroutine | lkt_wdrl_term (this, ientry, n1, n2, rrate, rhsval, hcofval) |
Specified withdrawal term. More... | |
subroutine | lkt_outf_term (this, ientry, n1, n2, rrate, rhsval, hcofval) |
Outflow term. More... | |
subroutine | lkt_df_obs (this) |
Defined observation types. More... | |
subroutine | lkt_rp_obs (this, obsrv, found) |
Process package specific obs. More... | |
subroutine | lkt_bd_obs (this, obstypeid, jj, v, found) |
Calculate observation value and pass it back to APT. More... | |
subroutine | lkt_set_stressperiod (this, itemno, keyword, found) |
Sets the stress period attributes for keyword use. More... | |
Variables | |
character(len= *), parameter | ftype = 'LKT' |
character(len= *), parameter | flowtype = 'LAK' |
character(len=16) | text = ' LKT' |
subroutine gwtlktmodule::allocate_scalars | ( | class(gwtlkttype) | this | ) |
Definition at line 606 of file gwt-lkt.f90.
subroutine gwtlktmodule::find_lkt_package | ( | class(gwtlkttype) | this | ) |
subroutine gwtlktmodule::lkt_allocate_arrays | ( | class(gwtlkttype), intent(inout) | this | ) |
Definition at line 636 of file gwt-lkt.f90.
subroutine gwtlktmodule::lkt_bd_obs | ( | class(gwtlkttype), intent(inout) | this, |
character(len=*), intent(in) | obstypeid, | ||
integer(i4b), intent(in) | jj, | ||
real(dp), intent(inout) | v, | ||
logical, intent(inout) | found | ||
) |
Definition at line 971 of file gwt-lkt.f90.
subroutine, public gwtlktmodule::lkt_create | ( | class(bndtype), pointer | packobj, |
integer(i4b), intent(in) | id, | ||
integer(i4b), intent(in) | ibcnum, | ||
integer(i4b), intent(in) | inunit, | ||
integer(i4b), intent(in) | iout, | ||
character(len=*), intent(in) | namemodel, | ||
character(len=*), intent(in) | pakname, | ||
type(tspfmitype), pointer | fmi, | ||
real(dp), intent(in), pointer | eqnsclfac, | ||
character(len=*), intent(in) | dvt, | ||
character(len=*), intent(in) | dvu, | ||
character(len=*), intent(in) | dvua | ||
) |
[in] | eqnsclfac | governing equation scale factor |
[in] | dvt | For GWT, set to "CONCENTRATION" in TspAptType |
[in] | dvu | For GWT, set to "mass" in TspAptType |
[in] | dvua | For GWT, set to "M" in TspAptType |
Definition at line 97 of file gwt-lkt.f90.
subroutine gwtlktmodule::lkt_da | ( | class(gwtlkttype) | this | ) |
Definition at line 665 of file gwt-lkt.f90.
subroutine gwtlktmodule::lkt_df_obs | ( | class(gwtlkttype) | this | ) |
Store the observation type supported by the APT package and override BndTypebnd_df_obs
Definition at line 863 of file gwt-lkt.f90.
subroutine gwtlktmodule::lkt_evap_term | ( | class(gwtlkttype) | this, |
integer(i4b), intent(in) | ientry, | ||
integer(i4b), intent(inout) | n1, | ||
integer(i4b), intent(inout) | n2, | ||
real(dp), intent(inout), optional | rrate, | ||
real(dp), intent(inout), optional | rhsval, | ||
real(dp), intent(inout), optional | hcofval | ||
) |
Definition at line 717 of file gwt-lkt.f90.
subroutine gwtlktmodule::lkt_fc_expanded | ( | class(gwtlkttype) | this, |
real(dp), dimension(:), intent(inout) | rhs, | ||
integer(i4b), dimension(:), intent(in) | ia, | ||
integer(i4b), dimension(:), intent(in) | idxglo, | ||
class(matrixbasetype), pointer | matrix_sln | ||
) |
This will be called from TspAptTypeapt_fc_expanded() in order to add matrix terms specifically for LKT
Definition at line 274 of file gwt-lkt.f90.
subroutine gwtlktmodule::lkt_fill_budobj | ( | class(gwtlkttype) | this, |
integer(i4b), intent(inout) | idx, | ||
real(dp), dimension(:), intent(in) | x, | ||
real(dp), dimension(:), intent(inout), contiguous | flowja, | ||
real(dp), intent(inout) | ccratin, | ||
real(dp), intent(inout) | ccratout | ||
) |
Definition at line 527 of file gwt-lkt.f90.
integer(i4b) function gwtlktmodule::lkt_get_nbudterms | ( | class(gwtlkttype) | this | ) |
This overrides a function in the parent class.
Definition at line 420 of file gwt-lkt.f90.
subroutine gwtlktmodule::lkt_iflw_term | ( | class(gwtlkttype) | this, |
integer(i4b), intent(in) | ientry, | ||
integer(i4b), intent(inout) | n1, | ||
integer(i4b), intent(inout) | n2, | ||
real(dp), intent(inout), optional | rrate, | ||
real(dp), intent(inout), optional | rhsval, | ||
real(dp), intent(inout), optional | hcofval | ||
) |
Accounts for mass flowing into a lake from a connected stream, for example.
Definition at line 779 of file gwt-lkt.f90.
subroutine gwtlktmodule::lkt_outf_term | ( | class(gwtlkttype) | this, |
integer(i4b), intent(in) | ientry, | ||
integer(i4b), intent(inout) | n1, | ||
integer(i4b), intent(inout) | n2, | ||
real(dp), intent(inout), optional | rrate, | ||
real(dp), intent(inout), optional | rhsval, | ||
real(dp), intent(inout), optional | hcofval | ||
) |
Accounts for the mass leaving a lake, for example, mass exiting a lake via a flow into a draining stream channel.
Definition at line 835 of file gwt-lkt.f90.
subroutine gwtlktmodule::lkt_rain_term | ( | class(gwtlkttype) | this, |
integer(i4b), intent(in) | ientry, | ||
integer(i4b), intent(inout) | n1, | ||
integer(i4b), intent(inout) | n2, | ||
real(dp), intent(inout), optional | rrate, | ||
real(dp), intent(inout), optional | rhsval, | ||
real(dp), intent(inout), optional | hcofval | ||
) |
Definition at line 692 of file gwt-lkt.f90.
subroutine gwtlktmodule::lkt_roff_term | ( | class(gwtlkttype) | this, |
integer(i4b), intent(in) | ientry, | ||
integer(i4b), intent(inout) | n1, | ||
integer(i4b), intent(inout) | n2, | ||
real(dp), intent(inout), optional | rrate, | ||
real(dp), intent(inout), optional | rhsval, | ||
real(dp), intent(inout), optional | hcofval | ||
) |
Definition at line 751 of file gwt-lkt.f90.
subroutine gwtlktmodule::lkt_rp_obs | ( | class(gwtlkttype), intent(inout) | this, |
type(observetype), intent(inout) | obsrv, | ||
logical, intent(inout) | found | ||
) |
Method to process specific observations for this package.
[in,out] | this | package class |
[in,out] | obsrv | observation object |
[in,out] | found | indicate whether observation was found |
Definition at line 940 of file gwt-lkt.f90.
subroutine gwtlktmodule::lkt_set_stressperiod | ( | class(gwtlkttype), intent(inout) | this, |
integer(i4b), intent(in) | itemno, | ||
character(len=*), intent(in) | keyword, | ||
logical, intent(inout) | found | ||
) |
Definition at line 1014 of file gwt-lkt.f90.
subroutine gwtlktmodule::lkt_setup_budobj | ( | class(gwtlkttype) | this, |
integer(i4b), intent(inout) | idx | ||
) |
Definition at line 434 of file gwt-lkt.f90.
subroutine gwtlktmodule::lkt_solve | ( | class(gwtlkttype) | this | ) |
Definition at line 359 of file gwt-lkt.f90.
subroutine gwtlktmodule::lkt_wdrl_term | ( | class(gwtlkttype) | this, |
integer(i4b), intent(in) | ientry, | ||
integer(i4b), intent(inout) | n1, | ||
integer(i4b), intent(inout) | n2, | ||
real(dp), intent(inout), optional | rrate, | ||
real(dp), intent(inout), optional | rhsval, | ||
real(dp), intent(inout), optional | hcofval | ||
) |
Accounts for mass associated with a withdrawal of water from a lake or group of lakes.
Definition at line 807 of file gwt-lkt.f90.
character(len=*), parameter gwtlktmodule::flowtype = 'LAK' |
Definition at line 52 of file gwt-lkt.f90.
character(len=*), parameter gwtlktmodule::ftype = 'LKT' |
Definition at line 51 of file gwt-lkt.f90.
character(len=16) gwtlktmodule::text = ' LKT' |
Definition at line 53 of file gwt-lkt.f90.