MODFLOW 6  version 6.5.0.dev2
MODFLOW 6 Code Documentation
gwf-maw.f90 File Reference

Go to the source code of this file.

Data Types

type  mawmodule::mawtype
 

Modules

module  mawmodule
 

Functions/Subroutines

subroutine, public mawmodule::maw_create (packobj, id, ibcnum, inunit, iout, namemodel, pakname)
 Create a New Multi-Aquifer Well (MAW) Package. More...
 
subroutine mawmodule::maw_allocate_scalars (this)
 Allocate scalar members. More...
 
subroutine mawmodule::maw_allocate_well_conn_arrays (this)
 Allocate well arrays. More...
 
subroutine mawmodule::maw_allocate_arrays (this)
 Allocate arrays. More...
 
subroutine mawmodule::maw_read_wells (this)
 Read the packagedata for this package. More...
 
subroutine mawmodule::maw_read_well_connections (this)
 Read the dimensions for this package. More...
 
subroutine mawmodule::maw_read_dimensions (this)
 Read the dimensions for this package. More...
 
subroutine mawmodule::maw_read_initial_attr (this)
 Read the initial parameters for this package. More...
 
subroutine mawmodule::maw_set_stressperiod (this, imaw, iheadlimit_warning)
 Set a stress period attribute for mawweslls(imaw) using keywords. More...
 
subroutine mawmodule::maw_set_attribute_error (this, imaw, keyword, msg)
 Issue a parameter error for mawweslls(imaw) More...
 
subroutine mawmodule::maw_check_attributes (this)
 Issue parameter errors for mawwells(imaw) More...
 
subroutine mawmodule::maw_ac (this, moffset, sparse)
 Add package connection to matrix. More...
 
subroutine mawmodule::maw_mc (this, moffset, matrix_sln)
 Map package connection to matrix. More...
 
subroutine mawmodule::maw_read_options (this, option, found)
 Set options specific to MawType. More...
 
subroutine mawmodule::maw_ar (this)
 Allocate and Read. More...
 
subroutine mawmodule::maw_rp (this)
 Read and Prepare. More...
 
subroutine mawmodule::maw_ad (this)
 Add package connection to matrix. More...
 
subroutine mawmodule::maw_cf (this)
 Formulate the HCOF and RHS terms. More...
 
subroutine mawmodule::maw_fc (this, rhs, ia, idxglo, matrix_sln)
 Copy rhs and hcof into solution rhs and amat. More...
 
subroutine mawmodule::maw_fn (this, rhs, ia, idxglo, matrix_sln)
 Fill newton terms. More...
 
subroutine mawmodule::maw_nur (this, neqpak, x, xtemp, dx, inewtonur, dxmax, locmax)
 Calculate under-relaxation of groundwater flow model MAW Package heads for current outer iteration using the well bottom. More...
 
subroutine mawmodule::maw_cq (this, x, flowja, iadv)
 Calculate flows. More...
 
subroutine mawmodule::maw_ot_model_flows (this, icbcfl, ibudfl, icbcun, imap)
 Write flows to binary file and/or print flows to budget. More...
 
subroutine mawmodule::maw_ot_package_flows (this, icbcfl, ibudfl)
 Output MAW package flow terms. More...
 
subroutine mawmodule::maw_ot_dv (this, idvsave, idvprint)
 Save maw-calculated values to binary file. More...
 
subroutine mawmodule::maw_ot_bdsummary (this, kstp, kper, iout, ibudfl)
 Write MAW budget to listing file. More...
 
subroutine mawmodule::maw_da (this)
 Deallocate memory. More...
 
subroutine mawmodule::define_listlabel (this)
 Define the list heading that is written to iout when PRINT_INPUT option is used. More...
 
subroutine mawmodule::maw_set_pointers (this, neq, ibound, xnew, xold, flowja)
 Set pointers to model arrays and variables so that a package has has access to these things. More...
 
logical function mawmodule::maw_obs_supported (this)
 Return true because MAW package supports observations. More...
 
subroutine mawmodule::maw_df_obs (this)
 Store observation type supported by MAW package. More...
 
subroutine mawmodule::maw_bd_obs (this)
 Calculate observations this time step and call ObsTypeSaveOneSimval for each MawType observation. More...
 
subroutine mawmodule::maw_rp_obs (this)
 Process each observation. More...
 
subroutine mawmodule::maw_process_obsid (obsrv, dis, inunitobs, iout)
 This procedure is pointed to by ObsDataTypeProcesssIdPtr. It processes the ID string of an observation definition for MAW package observations. More...
 
subroutine mawmodule::maw_redflow_csv_init (this, fname)
 Initialize the auto flow reduce csv output file. More...
 
subroutine mawmodule::maw_redflow_csv_write (this)
 MAW reduced flows only when & where they occur. More...
 
subroutine mawmodule::maw_calculate_satcond (this, i, j, node)
 Calculate the appropriate saturated conductance to use based on aquifer and multi-aquifer well characteristics. More...
 
subroutine mawmodule::maw_calculate_saturation (this, n, j, node, sat)
 Calculate the saturation between the aquifer maw well_head. More...
 
subroutine mawmodule::maw_calculate_conn_terms (this, n, j, icflow, cmaw, cterm, term, flow, term2)
 Calculate matrix terms for a multi-aquifer well connection. Terms for fc and fn methods are calculated based on whether term2 is passed Arguments are as follows: n : maw well number j : connection number for well n icflow : flag indicating that flow should be corrected cmaw : maw-gwf conducance cterm : correction term for flow to dry cell term : xxx flow : calculated flow for this connection, positive into well term2 : xxx. More...
 
subroutine mawmodule::maw_calculate_wellq (this, n, hmaw, q)
 Calculate well pumping rate based on constraints. More...
 
subroutine mawmodule::maw_calculate_qpot (this, n, qnet)
 Calculate groundwater inflow to a maw well. More...
 
subroutine mawmodule::maw_cfupdate (this)
 Update MAW satcond and package rhs and hcof. More...
 
subroutine mawmodule::maw_setup_budobj (this)
 Set up the budget object that stores all the maw flows The terms listed here must correspond in number and order to the ones listed in the maw_fill_budobj routine. More...
 
subroutine mawmodule::maw_fill_budobj (this)
 Copy flow terms into thisbudobj. More...
 
subroutine mawmodule::maw_setup_tableobj (this)
 Set up the table object that is used to write the maw head data. More...
 
integer(i4b) function mawmodule::get_jpos (this, n, j)
 Get position of value in connection data. More...
 
integer(i4b) function mawmodule::get_gwfnode (this, n, j)
 Get the gwfnode for connection. More...
 
subroutine mawmodule::maw_activate_density (this)
 Activate density terms. More...
 
subroutine mawmodule::maw_activate_viscosity (this)
 Activate viscosity terms. More...
 
subroutine mawmodule::maw_calculate_density_exchange (this, iconn, hmaw, hgwf, cond, bmaw, flow, hcofterm, rhsterm)
 Calculate the groundwater-maw density exchange terms. More...
 

Variables

character(len=lenftype) mawmodule::ftype = 'MAW'
 
character(len=lenpackagename) mawmodule::text = ' MAW'