![]() |
MODFLOW 6 version 6.9.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. | |
| subroutine, public | buy_cr (buyobj, name_model, input_mempath, inunit, iout) |
| Create a new BUY object. | |
| subroutine | buy_df (this, dis, buy_input) |
| Read options and package data, or set from argument. | |
| subroutine | buy_ar (this, npf, ibound) |
| Allocate and Read. | |
| subroutine | buy_ar_bnd (this, packobj, hnew) |
| Buoyancy ar_bnd routine to activate density in packages. | |
| subroutine | buy_rp (this) |
| Check for new buy period data. | |
| subroutine | buy_ad (this) |
| Advance. | |
| subroutine | buy_cf (this, kiter) |
| Fill coefficients. | |
| subroutine | buy_cf_bnd (this, packobj, hnew) |
| Fill coefficients. | |
| 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: | |
| subroutine | buy_cf_ghb (packobj, dense, elev, denseref, locelev, locdense, locconc, drhodc, crhoref, ctemp) |
| Fill ghb coefficients. | |
| subroutine | calc_ghb_hcof_rhs_terms (denseref, denseghb, densenode, elevghb, elevnode, hghb, cond, rhsterm, hcofterm) |
| Calculate density hcof and rhs terms for ghb conditions. | |
| subroutine | buy_cf_riv (packobj, hnew, dense, elev, denseref, locelev, locdense, locconc, drhodc, crhoref, ctemp) |
| Fill riv coefficients. | |
| subroutine | buy_cf_drn (packobj, dense, denseref) |
| Fill drn coefficients. | |
| 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. | |
| 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. | |
| 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. | |
| subroutine | buy_fc (this, kiter, matrix_sln, idxglo, rhs, hnew) |
| Fill coefficients. | |
| subroutine | buy_ot_dv (this, idvfl) |
| Save density array to binary file. | |
| subroutine | buy_cq (this, hnew, flowja) |
| Add buy term to flowja. | |
| subroutine | buy_da (this) |
| Deallocate. | |
| subroutine | source_dimensions (this) |
| @ brief Source dimensions for package | |
| subroutine | source_packagedata (this) |
| @ brief source packagedata for package | |
| subroutine | set_packagedata (this, input_data) |
| Sets package data instead of reading from file. | |
| subroutine | calcbuy (this, n, m, icon, hn, hm, buy) |
| Calculate buyancy term for this connection. | |
| subroutine | calchhterms (this, n, m, icon, hn, hm, rhsterm, amatnn, amatnm) |
| Calculate hydraulic head term for this connection. | |
| subroutine | buy_calcdens (this) |
| calculate fluid density from concentration | |
| subroutine | buy_calcelev (this) |
| Calculate cell elevations to use in density flow equations. | |
| subroutine | allocate_scalars (this) |
| Allocate scalars used by the package. | |
| subroutine | allocate_arrays (this, nodes) |
| Allocate arrays used by the package. | |
| subroutine | source_options (this) |
| @ brief Source input options | |
| subroutine | log_options (this, found, densityfile) |
| @ brief log input options | |
| subroutine | set_options (this, input_data) |
| Sets options as opposed to reading them from a file. | |
| 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. | |
|
private |
Definition at line 1326 of file gwf-buy.f90.
|
private |
Definition at line 1290 of file gwf-buy.f90.
|
private |
Definition at line 275 of file gwf-buy.f90.
|
private |
Definition at line 174 of file gwf-buy.f90.

|
private |
This routine is called from gwf_ar() as it goes through each package
Definition at line 199 of file gwf-buy.f90.
|
private |
Definition at line 1248 of file gwf-buy.f90.

|
private |
Definition at line 1272 of file gwf-buy.f90.
|
private |
Definition at line 285 of file gwf-buy.f90.
|
private |
Definition at line 300 of file gwf-buy.f90.

|
private |
Definition at line 601 of file gwf-buy.f90.

|
private |
Definition at line 435 of file gwf-buy.f90.


|
private |
Definition at line 636 of file gwf-buy.f90.


|
private |
Definition at line 742 of file gwf-buy.f90.


|
private |
Definition at line 532 of file gwf-buy.f90.


|
private |
Definition at line 689 of file gwf-buy.f90.


|
private |
Definition at line 870 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 ) |
Definition at line 103 of file gwf-buy.f90.

|
private |
Definition at line 902 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.
|
private |
Definition at line 793 of file gwf-buy.f90.
|
private |
Definition at line 833 of file gwf-buy.f90.
|
private |
Definition at line 244 of file gwf-buy.f90.

|
private |
These terms only affect the diagonal and cannot make the matrix asymmetric, so they are added to the matrix for both hydraulic head formulations. Lagging them on the right-hand side for HHFORMULATION_RHS caused outer iterations to cycle when a RIV switched across rbot.
Definition at line 497 of file gwf-buy.f90.

|
private |
Definition at line 1073 of file gwf-buy.f90.

| real(dp) function gwfbuymodule::calcdens | ( | real(dp), intent(in) | denseref, |
| real(dp), dimension(:), intent(in) | drhodc, | ||
| real(dp), dimension(:), intent(in) | crhoref, | ||
| real(dp), dimension(:), intent(in) | conc ) |
Definition at line 82 of file gwf-buy.f90.

|
private |
Definition at line 1155 of file gwf-buy.f90.

|
private |
Definition at line 398 of file gwf-buy.f90.


|
private |
Definition at line 1407 of file gwf-buy.f90.
|
private |
This routine is called from the gwfgwt exchange in the exg_ar() method
Definition at line 1465 of file gwf-buy.f90.
|
private |
| [in] | input_data | the input data to be set |
Definition at line 1444 of file gwf-buy.f90.
|
private |
| this | this buyoancy pkg | |
| [in] | input_data | the input data to be set |
Definition at line 1056 of file gwf-buy.f90.
|
private |
Definition at line 935 of file gwf-buy.f90.

|
private |
Definition at line 1362 of file gwf-buy.f90.

|
private |
Definition at line 961 of file gwf-buy.f90.
