MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
gwf-buy.f90 File Reference

Go to the source code of this file.

Data Types

type  gwfbuymodule::concentrationpointer
type  gwfbuymodule::gwfbuytype

Modules

module  gwfbuymodule

Functions/Subroutines

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