MODFLOW 6  version 6.5.0.dev2
MODFLOW 6 Code Documentation
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. More...
 
subroutine, public gwfbuymodule::buy_cr (buyobj, name_model, inunit, iout)
 Create a new BUY object. More...
 
subroutine gwfbuymodule::buy_df (this, dis, buy_input)
 Read options and package data, or set from argument. More...
 
subroutine gwfbuymodule::buy_ar (this, npf, ibound)
 Allocate and Read. More...
 
subroutine gwfbuymodule::buy_ar_bnd (this, packobj, hnew)
 Buoyancy ar_bnd routine to activate density in packages. More...
 
subroutine gwfbuymodule::buy_rp (this)
 Check for new buy period data. More...
 
subroutine gwfbuymodule::buy_ad (this)
 Advance. More...
 
subroutine gwfbuymodule::buy_cf (this, kiter)
 Fill coefficients. More...
 
subroutine gwfbuymodule::buy_cf_bnd (this, packobj, hnew)
 Fill coefficients. More...
 
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: More...
 
subroutine gwfbuymodule::buy_cf_ghb (packobj, hnew, dense, elev, denseref, locelev, locdense, locconc, drhodc, crhoref, ctemp, iform)
 Fill ghb coefficients. More...
 
subroutine gwfbuymodule::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 gwfbuymodule::buy_cf_riv (packobj, hnew, dense, elev, denseref, locelev, locdense, locconc, drhodc, crhoref, ctemp, iform)
 Fill riv coefficients. More...
 
subroutine gwfbuymodule::buy_cf_drn (packobj, hnew, dense, denseref)
 Fill drn coefficients. More...
 
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. More...
 
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. More...
 
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. More...
 
subroutine gwfbuymodule::buy_fc (this, kiter, matrix_sln, idxglo, rhs, hnew)
 Fill coefficients. More...
 
subroutine gwfbuymodule::buy_ot_dv (this, idvfl)
 Save density array to binary file. More...
 
subroutine gwfbuymodule::buy_cq (this, hnew, flowja)
 Add buy term to flowja. More...
 
subroutine gwfbuymodule::buy_da (this)
 Deallocate. More...
 
subroutine gwfbuymodule::read_dimensions (this)
 Read the dimensions for this package. More...
 
subroutine gwfbuymodule::read_packagedata (this)
 Read PACKAGEDATA block. More...
 
subroutine gwfbuymodule::set_packagedata (this, input_data)
 Sets package data instead of reading from file. More...
 
subroutine gwfbuymodule::calcbuy (this, n, m, icon, hn, hm, buy)
 Calculate buyancy term for this connection. More...
 
subroutine gwfbuymodule::calchhterms (this, n, m, icon, hn, hm, rhsterm, amatnn, amatnm)
 Calculate hydraulic head term for this connection. More...
 
subroutine gwfbuymodule::buy_calcdens (this)
 calculate fluid density from concentration More...
 
subroutine gwfbuymodule::buy_calcelev (this)
 Calculate cell elevations to use in density flow equations. More...
 
subroutine gwfbuymodule::allocate_scalars (this)
 Allocate scalars used by the package. More...
 
subroutine gwfbuymodule::allocate_arrays (this, nodes)
 Allocate arrays used by the package. More...
 
subroutine gwfbuymodule::read_options (this)
 Read package options. More...
 
subroutine gwfbuymodule::set_options (this, input_data)
 Sets options as opposed to reading them from a file. More...
 
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. More...