![]() |
MODFLOW 6
version 6.7.0.dev2
USGS Modular Hydrologic Model
|
Data Types | |
type | concentrationpointer |
type | gwfbuytype |
Functions/Subroutines | |
real(dp) function | calcdens (denseref, drhodc, crhoref, conc) |
Generic function to calculate fluid density from concentration. More... | |
subroutine, public | buy_cr (buyobj, name_model, input_mempath, inunit, iout) |
Create a new BUY object. More... | |
subroutine | buy_df (this, dis, buy_input) |
Read options and package data, or set from argument. More... | |
subroutine | buy_ar (this, npf, ibound) |
Allocate and Read. More... | |
subroutine | buy_ar_bnd (this, packobj, hnew) |
Buoyancy ar_bnd routine to activate density in packages. More... | |
subroutine | buy_rp (this) |
Check for new buy period data. More... | |
subroutine | buy_ad (this) |
Advance. More... | |
subroutine | buy_cf (this, kiter) |
Fill coefficients. More... | |
subroutine | buy_cf_bnd (this, packobj, hnew) |
Fill coefficients. More... | |
real(dp) function | get_bnd_density (n, locdense, locconc, denseref, drhodc, crhoref, ctemp, auxvar) |
Return the density of the boundary package using one of several different options in the following order of priority: More... | |
subroutine | buy_cf_ghb (packobj, hnew, dense, elev, denseref, locelev, locdense, locconc, drhodc, crhoref, ctemp, iform) |
Fill ghb coefficients. More... | |
subroutine | calc_ghb_hcof_rhs_terms (denseref, denseghb, densenode, elevghb, elevnode, hghb, hnode, cond, iform, rhsterm, hcofterm) |
Calculate density hcof and rhs terms for ghb conditions. More... | |
subroutine | buy_cf_riv (packobj, hnew, dense, elev, denseref, locelev, locdense, locconc, drhodc, crhoref, ctemp, iform) |
Fill riv coefficients. More... | |
subroutine | buy_cf_drn (packobj, hnew, dense, denseref) |
Fill drn coefficients. More... | |
subroutine | buy_cf_lak (packobj, hnew, dense, elev, denseref, locdense, locconc, drhodc, crhoref, ctemp, iform) |
Pass density information into lak package; density terms are calculated in the lake package as part of lak_calculate_density_exchange method. More... | |
subroutine | buy_cf_sfr (packobj, hnew, dense, elev, denseref, locdense, locconc, drhodc, crhoref, ctemp, iform) |
Pass density information into sfr package; density terms are calculated in the sfr package as part of sfr_calculate_density_exchange method. More... | |
subroutine | buy_cf_maw (packobj, hnew, dense, elev, denseref, locdense, locconc, drhodc, crhoref, ctemp, iform) |
Pass density information into maw package; density terms are calculated in the maw package as part of maw_calculate_density_exchange method. More... | |
subroutine | buy_fc (this, kiter, matrix_sln, idxglo, rhs, hnew) |
Fill coefficients. More... | |
subroutine | buy_ot_dv (this, idvfl) |
Save density array to binary file. More... | |
subroutine | buy_cq (this, hnew, flowja) |
Add buy term to flowja. More... | |
subroutine | buy_da (this) |
Deallocate. More... | |
subroutine | source_dimensions (this) |
@ brief Source dimensions for package More... | |
subroutine | source_packagedata (this) |
@ brief source packagedata for package More... | |
subroutine | set_packagedata (this, input_data) |
Sets package data instead of reading from file. More... | |
subroutine | calcbuy (this, n, m, icon, hn, hm, buy) |
Calculate buyancy term for this connection. More... | |
subroutine | calchhterms (this, n, m, icon, hn, hm, rhsterm, amatnn, amatnm) |
Calculate hydraulic head term for this connection. More... | |
subroutine | buy_calcdens (this) |
calculate fluid density from concentration More... | |
subroutine | buy_calcelev (this) |
Calculate cell elevations to use in density flow equations. More... | |
subroutine | allocate_scalars (this) |
Allocate scalars used by the package. More... | |
subroutine | allocate_arrays (this, nodes) |
Allocate arrays used by the package. More... | |
subroutine | source_options (this) |
@ brief Source input options More... | |
subroutine | log_options (this, found, densityfile) |
@ brief log input options More... | |
subroutine | set_options (this, input_data) |
Sets options as opposed to reading them from a file. More... | |
subroutine | set_concentration_pointer (this, modelname, conc, icbund) |
Pass in a gwt model name, concentration array and ibound, and store a pointer to these in the BUY package so that density can be calculated from them. More... | |
subroutine gwfbuymodule::allocate_arrays | ( | class(gwfbuytype) | this, |
integer(i4b), intent(in) | nodes | ||
) |
Definition at line 1338 of file gwf-buy.f90.
|
private |
Definition at line 1302 of file gwf-buy.f90.
subroutine gwfbuymodule::buy_ad | ( | class(gwfbuytype) | this | ) |
Definition at line 275 of file gwf-buy.f90.
|
private |
|
private |
This routine is called from gwf_ar() as it goes through each package
Definition at line 199 of file gwf-buy.f90.
subroutine gwfbuymodule::buy_calcdens | ( | class(gwfbuytype) | this | ) |
|
private |
Definition at line 1284 of file gwf-buy.f90.
|
private |
Definition at line 285 of file gwf-buy.f90.
|
private |
subroutine gwfbuymodule::buy_cf_drn | ( | class(bndtype), pointer | packobj, |
real(dp), dimension(:), intent(in) | hnew, | ||
real(dp), dimension(:), intent(in) | dense, | ||
real(dp), intent(in) | denseref | ||
) |
Definition at line 612 of file gwf-buy.f90.
|
private |
Definition at line 435 of file gwf-buy.f90.
subroutine gwfbuymodule::buy_cf_lak | ( | class(bndtype), pointer | packobj, |
real(dp), dimension(:), intent(in) | hnew, | ||
real(dp), dimension(:), intent(in) | dense, | ||
real(dp), dimension(:), intent(in) | elev, | ||
real(dp), intent(in) | denseref, | ||
integer(i4b), intent(in) | locdense, | ||
integer(i4b), dimension(:), intent(in) | locconc, | ||
real(dp), dimension(:), intent(in) | drhodc, | ||
real(dp), dimension(:), intent(in) | crhoref, | ||
real(dp), dimension(:), intent(inout) | ctemp, | ||
integer(i4b), intent(in) | iform | ||
) |
Definition at line 653 of file gwf-buy.f90.
subroutine gwfbuymodule::buy_cf_maw | ( | class(bndtype), pointer | packobj, |
real(dp), dimension(:), intent(in) | hnew, | ||
real(dp), dimension(:), intent(in) | dense, | ||
real(dp), dimension(:), intent(in) | elev, | ||
real(dp), intent(in) | denseref, | ||
integer(i4b), intent(in) | locdense, | ||
integer(i4b), dimension(:), intent(in) | locconc, | ||
real(dp), dimension(:), intent(in) | drhodc, | ||
real(dp), dimension(:), intent(in) | crhoref, | ||
real(dp), dimension(:), intent(inout) | ctemp, | ||
integer(i4b), intent(in) | iform | ||
) |
Definition at line 759 of file gwf-buy.f90.
|
private |
Definition at line 541 of file gwf-buy.f90.
subroutine gwfbuymodule::buy_cf_sfr | ( | class(bndtype), pointer | packobj, |
real(dp), dimension(:), intent(in) | hnew, | ||
real(dp), dimension(:), intent(in) | dense, | ||
real(dp), dimension(:), intent(in) | elev, | ||
real(dp), intent(in) | denseref, | ||
integer(i4b), intent(in) | locdense, | ||
integer(i4b), dimension(:), intent(in) | locconc, | ||
real(dp), dimension(:), intent(in) | drhodc, | ||
real(dp), dimension(:), intent(in) | crhoref, | ||
real(dp), dimension(:), intent(inout) | ctemp, | ||
integer(i4b), intent(in) | iform | ||
) |
Definition at line 706 of file gwf-buy.f90.
|
private |
Definition at line 887 of file gwf-buy.f90.
subroutine, public gwfbuymodule::buy_cr | ( | type(gwfbuytype), pointer | buyobj, |
character(len=*), intent(in) | name_model, | ||
character(len=*), intent(in) | input_mempath, | ||
integer(i4b), intent(in) | inunit, | ||
integer(i4b), intent(in) | iout | ||
) |
|
private |
Definition at line 919 of file gwf-buy.f90.
|
private |
this | this buoyancy package | |
[in] | dis | pointer to discretization |
[in] | buy_input | optional buy input data, otherwise read from file |
Definition at line 127 of file gwf-buy.f90.
subroutine gwfbuymodule::buy_fc | ( | class(gwfbuytype) | this, |
integer(i4b) | kiter, | ||
class(matrixbasetype), pointer | matrix_sln, | ||
integer(i4b), dimension(:), intent(in) | idxglo, | ||
real(dp), dimension(:), intent(inout) | rhs, | ||
real(dp), dimension(:), intent(inout) | hnew | ||
) |
Definition at line 810 of file gwf-buy.f90.
|
private |
Definition at line 850 of file gwf-buy.f90.
subroutine gwfbuymodule::buy_rp | ( | class(gwfbuytype) | this | ) |
Definition at line 244 of file gwf-buy.f90.
subroutine gwfbuymodule::calc_ghb_hcof_rhs_terms | ( | real(dp), intent(in) | denseref, |
real(dp), intent(in) | denseghb, | ||
real(dp), intent(in) | densenode, | ||
real(dp), intent(in) | elevghb, | ||
real(dp), intent(in) | elevnode, | ||
real(dp), intent(in) | hghb, | ||
real(dp), intent(in) | hnode, | ||
real(dp), intent(in) | cond, | ||
integer(i4b), intent(in) | iform, | ||
real(dp), intent(inout) | rhsterm, | ||
real(dp), intent(inout) | hcofterm | ||
) |
|
private |
Definition at line 1085 of file gwf-buy.f90.
|
private |
subroutine gwfbuymodule::calchhterms | ( | class(gwfbuytype) | this, |
integer(i4b), intent(in) | n, | ||
integer(i4b), intent(in) | m, | ||
integer(i4b), intent(in) | icon, | ||
real(dp), intent(in) | hn, | ||
real(dp), intent(in) | hm, | ||
real(dp), intent(inout) | rhsterm, | ||
real(dp), intent(inout) | amatnn, | ||
real(dp), intent(inout) | amatnm | ||
) |
real(dp) function gwfbuymodule::get_bnd_density | ( | integer(i4b), intent(in) | n, |
integer(i4b), intent(in) | locdense, | ||
integer(i4b), dimension(:), intent(in) | locconc, | ||
real(dp), intent(in) | denseref, | ||
real(dp), dimension(:), intent(in) | drhodc, | ||
real(dp), dimension(:), intent(in) | crhoref, | ||
real(dp), dimension(:), intent(inout) | ctemp, | ||
real(dp), dimension(:, :), intent(in) | auxvar | ||
) |
Definition at line 398 of file gwf-buy.f90.
subroutine gwfbuymodule::log_options | ( | class(gwfbuytype), intent(inout) | this, |
type(gwfbuyparamfoundtype), intent(in) | found, | ||
character(len=*), intent(in) | densityfile | ||
) |
Definition at line 1419 of file gwf-buy.f90.
|
private |
This routine is called from the gwfgwt exchange in the exg_ar() method
Definition at line 1477 of file gwf-buy.f90.
subroutine gwfbuymodule::set_options | ( | class(gwfbuytype) | this, |
type(gwfbuyinputdatatype), intent(in) | input_data | ||
) |
subroutine gwfbuymodule::set_packagedata | ( | class(gwfbuytype) | this, |
type(gwfbuyinputdatatype), intent(in) | input_data | ||
) |
this | this buyoancy pkg | |
[in] | input_data | the input data to be set |
Definition at line 1068 of file gwf-buy.f90.
|
private |
Definition at line 952 of file gwf-buy.f90.
|
private |
Definition at line 1374 of file gwf-buy.f90.
subroutine gwfbuymodule::source_packagedata | ( | class(gwfbuytype), intent(inout) | this | ) |
Definition at line 978 of file gwf-buy.f90.