MODFLOW 6
version 6.7.0.dev0
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, 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 | read_dimensions (this) |
Read the dimensions for this package. More... | |
subroutine | read_packagedata (this) |
Read PACKAGEDATA block. 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 | read_options (this) |
Read package 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 1355 of file gwf-buy.f90.
|
private |
Definition at line 1319 of file gwf-buy.f90.
subroutine gwfbuymodule::buy_ad | ( | class(gwfbuytype) | this | ) |
Definition at line 276 of file gwf-buy.f90.
|
private |
|
private |
This routine is called from gwf_ar() as it goes through each package
Definition at line 200 of file gwf-buy.f90.
subroutine gwfbuymodule::buy_calcdens | ( | class(gwfbuytype) | this | ) |
|
private |
Definition at line 1301 of file gwf-buy.f90.
|
private |
Definition at line 286 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 613 of file gwf-buy.f90.
|
private |
Definition at line 436 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 654 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 760 of file gwf-buy.f90.
|
private |
Definition at line 542 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 707 of file gwf-buy.f90.
|
private |
Definition at line 888 of file gwf-buy.f90.
subroutine, public gwfbuymodule::buy_cr | ( | type(gwfbuytype), pointer | buyobj, |
character(len=*), intent(in) | name_model, | ||
integer(i4b), intent(in) | inunit, | ||
integer(i4b), intent(in) | iout | ||
) |
|
private |
Definition at line 920 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 128 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 811 of file gwf-buy.f90.
|
private |
Definition at line 851 of file gwf-buy.f90.
subroutine gwfbuymodule::buy_rp | ( | class(gwfbuytype) | this | ) |
Definition at line 245 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 1102 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 399 of file gwf-buy.f90.
|
private |
|
private |
Definition at line 1391 of file gwf-buy.f90.
|
private |
|
private |
This routine is called from the gwfgwt exchange in the exg_ar() method
Definition at line 1483 of file gwf-buy.f90.
subroutine gwfbuymodule::set_options | ( | class(gwfbuytype) | this, |
type(gwfbuyinputdatatype), intent(in) | input_data | ||
) |
|
private |
this | this buyoancy pkg | |
[in] | input_data | the input data to be set |
Definition at line 1085 of file gwf-buy.f90.