![]() |
MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
|


Public Member Functions | |
| procedure | maw_allocate_scalars (this) |
| Allocate scalar members. | |
| procedure | maw_allocate_well_conn_arrays (this) |
| Allocate well arrays. | |
| procedure | maw_allocate_arrays (this) |
| Allocate arrays. | |
| procedure | maw_checkin_deprecated_names (this) |
| Alias deprecated MAW variable names to their current storage. | |
| procedure | source_options (this) |
| Source OPTIONS block from input context. | |
| procedure | source_dimensions (this) |
| Source DIMENSIONS block from input context. | |
| procedure | read_initial_attr (this) |
| Read the initial parameters for this package. | |
| procedure | 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. | |
| procedure | bnd_ac (this, moffset, sparse) |
| Add package connection to matrix. | |
| procedure | bnd_mc (this, moffset, matrix_sln) |
| Map package connection to matrix. | |
| procedure | bnd_ar (this) |
| Allocate and Read. | |
| procedure | bnd_rp (this) |
| Read and Prepare. | |
| procedure | bnd_ad (this) |
| Add package connection to matrix. | |
| procedure | bnd_cf (this) |
| Formulate the HCOF and RHS terms. | |
| procedure | bnd_fc (this, rhs, ia, idxglo, matrix_sln) |
| Copy rhs and hcof into solution rhs and amat. | |
| procedure | bnd_fn (this, rhs, ia, idxglo, matrix_sln) |
| Fill newton terms. | |
| procedure | bnd_nur (this, neqpak, x, xtemp, dx, inewtonur, dxmax, locmax) |
| Apply Newton under-relaxation to the MAW Package well heads. | |
| procedure | bnd_cc (this, innertot, kiter, iend, icnvgmod, cpak, ipak, dpak) |
| Extra convergence check for the MAW package. | |
| procedure | bnd_cq (this, x, flowja, iadv) |
| Calculate flows. | |
| procedure | bnd_ot_model_flows (this, icbcfl, ibudfl, icbcun, imap) |
| Write flows to binary file and/or print flows to budget. | |
| procedure | bnd_ot_package_flows (this, icbcfl, ibudfl) |
| Output MAW package flow terms. | |
| procedure | bnd_ot_dv (this, idvsave, idvprint) |
| Save maw-calculated values to binary file. | |
| procedure | bnd_ot_bdsummary (this, kstp, kper, iout, ibudfl) |
| Write MAW budget to listing file. | |
| procedure | bnd_da (this) |
| Deallocate memory. | |
| procedure | define_listlabel (this) |
| Define the list heading that is written to iout when PRINT_INPUT option is used. | |
| procedure, public | bnd_obs_supported (this) |
| Return true because MAW package supports observations. | |
| procedure, public | bnd_df_obs (this) |
| Store observation type supported by MAW package. | |
| procedure, public | bnd_rp_obs (this) |
| Process each observation. | |
| procedure, public | bnd_bd_obs (this) |
| Calculate observations this time step and call ObsTypeSaveOneSimval for each MawType observation. | |
| procedure | maw_activate_density (this) |
| Activate density terms. | |
| procedure | maw_activate_viscosity (this) |
| Activate viscosity terms. | |
| procedure | bnd_df (this, neq, dis) |
| Define boundary package options and dimensions. | |
| procedure, public | bnd_df (this, neq, dis) |
| Define boundary package options and dimensions. | |
| procedure | bnd_ad (this) |
| Advance the package one time step. | |
| procedure | bnd_ad (this) |
| Advance the boundary package. | |
| procedure | bnd_rp (this) |
| procedure | bnd_rp (this) |
| Allocate and read method for package. | |
| procedure | bnd_rp_log (this) |
| Write the input list to the listing file if requested. | |
| procedure, public | bnd_rp_log (this) |
| Log period input for a boundary package. | |
| procedure | validate_ifno (this, ifno_val, nfeatures, nboundchk, feature_label, blockname) |
| Validate a list-input row's IFNO and update the per-feature coverage counter. | |
| procedure | report_ifno_coverage (this, nboundchk, nfeatures, feature_label, blockname, check_missing) |
| Report missing or duplicate list-input rows for each feature. | |
| procedure | bnd_da (this) |
| Deallocate package memory. | |
| procedure | bnd_da (this) |
| Deallocate package memory. | |
| procedure | allocate_scalars (this) |
| Allocate package scalars. | |
| procedure | allocate_scalars (this) |
| Allocate package scalars. | |
| procedure | allocate_scalars (this) |
| Allocate package scalars. | |
| procedure | allocate_arrays (this, nodelist, auxvar) |
| Allocate package arrays. | |
| procedure | allocate_arrays (this, nodelist, auxvar) |
| Allocate package arrays. | |
| procedure | allocate_featureauxvar (this) |
| Point the per-feature auxiliary variable array at the input context's permanent, feature-indexed AUX array. For packages with PACKAGEDATA AUX variables only. A live alias, permuted from row order to IFNO order, skipping out-of-range IFNO. | |
| procedure | source_options (this) |
| Source package options from input context. | |
| procedure | log_options (this, found, sfacauxname) |
| Log package options. | |
| procedure | source_dimensions (this) |
| Source package dimensions from input context. | |
| procedure | cellid_to_nlist (this) |
| Update package nodelist. | |
| procedure | nodeu_to_nlist (this) |
| Update package nodelist. | |
| procedure | layarr_to_nlist (this) |
| Update the nodelist based on layer number variable input. | |
| procedure | default_nodelist (this) |
| Assign default nodelist when READASARRAYS is specified. | |
| procedure | check_cellid (this, ii, cellid, mshape, ndim) |
| Check for valid cellid. | |
| procedure | write_lstfile (this) |
| Log package stress period input. | |
| procedure | bound_value (this, col, row) |
| Return a bound value. | |
| procedure | bnd_ac (this, moffset, sparse) |
| Add boundary package connection to matrix. | |
| procedure | bnd_mc (this, moffset, matrix_sln) |
| Map boundary package connection to matrix. | |
| procedure | bnd_ar (this) |
| Allocate and read method for boundary package. | |
| procedure | bnd_ck (this) |
| Check boundary package period data. | |
| procedure | bnd_reset (this) |
| Reset bnd package before formulating. | |
| procedure | bnd_cf (this) |
| Formulate the package hcof and rhs terms. | |
| procedure | bnd_fc (this, rhs, ia, idxglo, matrix_sln) |
| Copy hcof and rhs terms into solution. | |
| procedure | bnd_fn (this, rhs, ia, idxglo, matrix_sln) |
| Add Newton-Raphson terms for package into solution. | |
| procedure | bnd_nur (this, neqpak, x, xtemp, dx, inewtonur, dxmax, locmax) |
| Apply Newton-Raphson under-relaxation for package. | |
| procedure | bnd_cc (this, innertot, kiter, iend, icnvgmod, cpak, ipak, dpak) |
| Convergence check for package. | |
| procedure | bnd_cq (this, x, flowja, iadv) |
| Calculate advanced package flows. | |
| procedure | bnd_bd (this, model_budget) |
| Add package flows to model budget. | |
| procedure | bnd_ot_model_flows (this, icbcfl, ibudfl, icbcun, imap) |
| Output package flow terms. | |
| procedure | bnd_ot_package_flows (this, icbcfl, ibudfl) |
| Output advanced package flow terms. | |
| procedure | bnd_ot_dv (this, idvsave, idvprint) |
| Output advanced package dependent-variable terms. | |
| procedure | bnd_ot_bdsummary (this, kstp, kper, iout, ibudfl) |
| Output advanced package budget summary. | |
| procedure | bnd_dt (this) |
| Submit an ATS time step request (no-op by default). | |
| procedure | bnd_fp (this) |
| Final processing at end of simulation (no-op by default). | |
| procedure | pack_initialize (this) |
| Allocate and initialize select package members. | |
| procedure | read_options (this) |
| Read additional options for package. | |
| procedure | read_dimensions (this) |
| Read dimensions for package. | |
| procedure | read_initial_attr (this) |
| Read initial parameters for package. | |
| procedure | bnd_options (this, option, found) |
| Read additional options for package. | |
| procedure | bnd_cq_simrate (this, hnew, flowja, imover) |
| Calculate simrate. | |
| procedure | bnd_cq_simtomvr (this, flowja) |
| Calculate flow to the mover. | |
| procedure | set_pointers (this, neq, ibound, xnew, xold, flowja) |
| Set pointers to model variables. | |
| procedure | define_listlabel (this) |
| Define the list label for the package. | |
| procedure | copy_boundname (this) |
| Copy boundnames into boundnames_cst. | |
| procedure, public | bnd_obs_supported (this) |
| Determine if observations are supported. | |
| procedure, public | bnd_df_obs (this) |
| Define the observation types available in the package. | |
| procedure, public | bnd_bd_obs (this) |
| Save observations for the package. | |
| procedure, public | bnd_ot_obs (this) |
| Output observations for the package. | |
| procedure, public | bnd_rp_obs (this) |
| Read and prepare observations for a package. | |
| procedure, public | bnd_rp_ts (this) |
| Assign time series links for the package. | |
| procedure, public | bnd_activate_viscosity (this) |
| Activate viscosity terms. | |
| procedure | set_names (this, ibcnum, name_model, pakname, ftype, input_mempath) |
| Set package names. | |
| procedure | da (this) |
| Deallocate package scalars. | |
| procedure | read_check_ionper (this) |
| Check ionper. | |
| procedure | get_block_data (this, tags, lfound, varinames) |
| Read griddata block for a package. | |
Public Attributes | |
| character(len=lenbudtxt), dimension(:), pointer, contiguous | cmawbudget => NULL() |
| character(len=lenauxname), dimension(:), pointer, contiguous | cauxcbc => NULL() |
| logical(lgp), pointer | correct_flow => null() |
| integer(i4b), pointer | iprhed => null() |
| integer(i4b), pointer | iheadout => null() |
| integer(i4b), pointer | ibudgetout => null() |
| integer(i4b), pointer | ibudcsv => null() |
| integer(i4b), pointer | cbcauxitems => NULL() |
| integer(i4b), pointer | iflowingwells => NULL() |
| integer(i4b), pointer | imawiss => NULL() |
| integer(i4b), pointer | imawissopt => NULL() |
| integer(i4b), pointer | nmawwells => NULL() |
| integer(i4b), pointer | check_attr => NULL() |
| integer(i4b), pointer | ishutoffcnt => NULL() |
| integer(i4b), pointer | ieffradopt => NULL() |
| integer(i4b), pointer | inonvert => NULL() |
| flag indicating that non-vertical (slanted) well connections are simulated | |
| integer(i4b), pointer | ioutredflowcsv => NULL() |
| unit number for CSV output file containing MAWs with reduced extraction/injection rates | |
| real(dp), pointer | satomega => null() |
| real(dp), pointer | theta => NULL() |
| real(dp), pointer | kappa => NULL() |
| character(len=8), dimension(:), pointer, contiguous | status => null() |
| integer(i4b), dimension(:), pointer, contiguous | ngwfnodes => null() |
| integer(i4b), dimension(:), pointer, contiguous | ieqn => null() |
| integer(i4b), dimension(:), pointer, contiguous | ishutoff => null() |
| integer(i4b), dimension(:), pointer, contiguous | ifwdischarge => null() |
| real(dp), dimension(:), pointer, contiguous | strt => null() |
| real(dp), dimension(:), pointer, contiguous | radius => null() |
| real(dp), dimension(:), pointer, contiguous | area => null() |
| real(dp), dimension(:), pointer, contiguous | pumpelev => null() |
| real(dp), dimension(:), pointer, contiguous | bot => null() |
| real(dp), dimension(:), pointer, contiguous | ratesim => null() |
| real(dp), dimension(:), pointer, contiguous | qsim0 => null() |
| real(dp), dimension(:), pointer, contiguous | reduction_length => null() |
| real(dp), dimension(:), pointer, contiguous | fwelev => null() |
| real(dp), dimension(:), pointer, contiguous | fwcond => null() |
| real(dp), dimension(:), pointer, contiguous | fwrlen => null() |
| real(dp), dimension(:), pointer, contiguous | fwcondsim => null() |
| real(dp), dimension(:), pointer, contiguous | xsto => null() |
| real(dp), dimension(:), pointer, contiguous | xoldsto => null() |
| real(dp), dimension(:), pointer, contiguous | shutoffmin => null() |
| real(dp), dimension(:), pointer, contiguous | shutoffmax => null() |
| real(dp), dimension(:), pointer, contiguous | shutofflevel => null() |
| real(dp), dimension(:), pointer, contiguous | shutoffweight => null() |
| real(dp), dimension(:), pointer, contiguous | shutoffdq => null() |
| real(dp), dimension(:), pointer, contiguous | shutoffqold => null() |
| real(dp), dimension(:), pointer, contiguous | nurdxold => null() |
| real(dp), dimension(:), pointer, contiguous | nurweight => null() |
| character(len=lenboundname), dimension(:), pointer, contiguous | cmawname => null() |
| real(dp), dimension(:), pointer, contiguous | rate => null() |
| real(dp), dimension(:), pointer, contiguous | well_head => null() |
| logical(lgp), dimension(:), pointer, contiguous | well_head_set => null() |
| type(mawinputtype) | input |
| integer(i4b), dimension(:), pointer, contiguous | iaconn => null() |
| integer(i4b), dimension(:), pointer, contiguous | gwfnodes => NULL() |
| integer(i4b), dimension(:), pointer, contiguous | iboundconn => NULL() |
| connection status, 0 = inactive | |
| real(dp), dimension(:), pointer, contiguous | sradius => NULL() |
| real(dp), dimension(:), pointer, contiguous | hk => NULL() |
| real(dp), dimension(:), pointer, contiguous | satcond => NULL() |
| real(dp), dimension(:), pointer, contiguous | simcond => NULL() |
| real(dp), dimension(:), pointer, contiguous | topscrn => NULL() |
| real(dp), dimension(:), pointer, contiguous | botscrn => NULL() |
| real(dp), dimension(:), pointer, contiguous | angle => NULL() |
| tilt angle of a non-vertical connection, in degrees from vertical (0.0 = vertical) | |
| real(dp), dimension(:), pointer, contiguous | connlen => NULL() |
| user-specified in-cell screen length for a non-vertical connection (<= 0.0 = derive from angle and screen elevations) | |
| real(dp), dimension(:), pointer, contiguous | usrtopscrn => NULL() |
| user-specified screen top, retained so a non-vertical SPECIFIED connection can honor it | |
| real(dp), dimension(:), pointer, contiguous | usrbotscrn => NULL() |
| user-specified screen bottom, retained so a non-vertical SPECIFIED connection can honor it | |
| integer(i4b), dimension(:), pointer, contiguous | imap => null() |
| real(dp), dimension(:), pointer, contiguous | qauxcbc => null() |
| real(dp), dimension(:), pointer, contiguous | dbuff => null() |
| real(dp), dimension(:), pointer, contiguous | qleak => null() |
| real(dp), dimension(:), pointer, contiguous | qout => null() |
| real(dp), dimension(:), pointer, contiguous | qfw => null() |
| real(dp), dimension(:), pointer, contiguous | qsto => null() |
| real(dp), dimension(:), pointer, contiguous | qconst => null() |
| integer(i4b), pointer | bditems => NULL() |
| type(budgetobjecttype), pointer | budobj => null() |
| type(tabletype), pointer | headtab => null() |
| integer(i4b), pointer | gwfiss => NULL() |
| real(dp), dimension(:), pointer, contiguous | gwfk11 => NULL() |
| real(dp), dimension(:), pointer, contiguous | gwfk22 => NULL() |
| integer(i4b), pointer | gwfik22 => NULL() |
| real(dp), dimension(:), pointer, contiguous | gwfsat => NULL() |
| integer(i4b), dimension(:), pointer, contiguous | idxlocnode => null() |
| integer(i4b), dimension(:), pointer, contiguous | idxdglo => null() |
| integer(i4b), dimension(:), pointer, contiguous | idxoffdglo => null() |
| integer(i4b), dimension(:), pointer, contiguous | idxsymdglo => null() |
| integer(i4b), dimension(:), pointer, contiguous | idxsymoffdglo => null() |
| integer(i4b), dimension(:), pointer, contiguous | iboundpak => null() |
| real(dp), dimension(:), pointer, contiguous | xnewpak => null() |
| real(dp), dimension(:), pointer, contiguous | xoldpak => null() |
| integer(i4b), pointer | idense |
| real(dp), dimension(:, :), pointer, contiguous | denseterms => null() |
| real(dp), dimension(:, :), pointer, contiguous | viscratios => null() |
| viscosity ratios (1: maw vsc ratio; 2: gwf vsc ratio) | |
| integer(i4b), pointer | iper |
| logical(lgp), pointer | readarraygrid |
| logical(lgp), pointer | readasarrays |
| logical(lgp), pointer | ts_active |
| .true. if TS6 files are configured in OPTIONS | |
| integer(i4b), dimension(:, :), pointer, contiguous | cellid => null() |
| input user cellid list | |
| integer(i4b), dimension(:), pointer, contiguous | nodeulist => null() |
| input user nodelist | |
| integer(i4b), dimension(:), pointer, contiguous | pkg_ifno => null() |
| advanced feature index | |
| real(dp), dimension(:, :), pointer, contiguous | featureauxvar => null() |
| advanced per-feature AUX array | |
| character(len=lenlistlabel), pointer | listlabel => null() |
| title of table written for RP | |
| character(len=lenpackagename) | text = '' |
| text string for package flow term | |
| character(len=lenauxname), dimension(:), pointer, contiguous | auxname => null() |
| vector of auxname | |
| type(characterstringtype), dimension(:), pointer, contiguous | auxname_cst => null() |
| copy of vector auxname that can be stored in memory manager | |
| character(len=lenboundname), dimension(:), pointer, contiguous | boundname => null() |
| vector of boundnames | |
| type(characterstringtype), dimension(:), pointer, contiguous | boundname_cst => null() |
| copy of vector boundname that can be stored in memory manager | |
| integer(i4b), pointer | isadvpak => null() |
| flag indicating package is advanced (1) or not (0) | |
| integer(i4b), pointer | ibcnum => null() |
| consecutive package number for this boundary condition | |
| integer(i4b), pointer | maxbound => null() |
| max number of boundaries | |
| integer(i4b), pointer | nbound => null() |
| number of boundaries for current stress period | |
| integer(i4b), pointer | ncolbnd => null() |
| number of columns of the bound array | |
| integer(i4b), pointer | iscloc => null() |
| bound column to scale with SFAC | |
| integer(i4b), pointer | naux => null() |
| number of auxiliary variables | |
| integer(i4b), pointer | inamedbound => null() |
| flag to read boundnames | |
| integer(i4b), pointer | iauxmultcol => null() |
| column to use as multiplier for column iscloc | |
| integer(i4b), pointer | npakeq => null() |
| number of equations in this package (normally 0 unless package adds rows to matrix) | |
| integer(i4b), pointer | ioffset => null() |
| offset of this package in the model | |
| integer(i4b), dimension(:), pointer, contiguous | nodelist => null() |
| vector of reduced node numbers | |
| integer(i4b), dimension(:), pointer, contiguous | noupdateauxvar => null() |
| override auxvars from being updated | |
| real(dp), dimension(:, :), pointer, contiguous | bound => null() |
| array of package specific boundary numbers | |
| real(dp), dimension(:), pointer, contiguous | hcof => null() |
| diagonal contribution | |
| real(dp), dimension(:), pointer, contiguous | rhs => null() |
| right-hand side contribution | |
| real(dp), dimension(:, :), pointer, contiguous | auxvar => null() |
| auxiliary variable array | |
| real(dp), dimension(:), pointer, contiguous | simvals => null() |
| simulated values | |
| real(dp), dimension(:), pointer, contiguous | simtomvr => null() |
| simulated to mover values | |
| integer(i4b), pointer | imover => null() |
| flag indicating if the mover is active in the package | |
| type(packagemovertype), pointer | pakmvrobj => null() |
| mover object for package | |
| integer(i4b), pointer | ivsc => null() |
| flag indicating if viscosity is active in the model | |
| real(dp), dimension(:), pointer, contiguous | condinput => null() |
| stores user-specified conductance values | |
| real(dp), dimension(:), allocatable | viscratio |
| viscosity ratio applied to each boundary conductance | |
| type(timeseriesmanagertype), pointer | tsmanager => null() |
| time series manager | |
| type(timearrayseriesmanagertype), pointer | tasmanager => null() |
| time array series manager | |
| integer(i4b) | indxconvertflux = 0 |
| indxconvertflux is column of bound to multiply by area to convert flux to rate | |
| logical(lgp) | allowtimearrayseries = .false. |
| integer(i4b), pointer | inobspkg => null() |
| unit number for obs package | |
| type(obstype), pointer | obs => null() |
| observation package | |
| integer(i4b), pointer | neq |
| number of equations for model | |
| integer(i4b), dimension(:), pointer, contiguous | ibound => null() |
| model ibound array | |
| real(dp), dimension(:), pointer, contiguous | xnew => null() |
| model dependent variable (head) for this time step | |
| real(dp), dimension(:), pointer, contiguous | xold => null() |
| model dependent variable for last time step | |
| real(dp), dimension(:), pointer, contiguous | flowja => null() |
| model intercell flows | |
| integer(i4b), dimension(:), pointer, contiguous | icelltype => null() |
| pointer to icelltype array in NPF | |
| character(len=lenmempath) | ictmempath = '' |
| memory path to the icelltype data (for GWF this is in NPF) | |
| type(tabletype), pointer | inputtab => null() |
| input table object | |
| type(tabletype), pointer | outputtab => null() |
| output table object for package flows writtent to the model listing file | |
| type(tabletype), pointer | errortab => null() |
| package error table | |
| character(len=lenmodelname) | name_model = '' |
| the name of the model that contains this package | |
| character(len=lenpackagename) | packname = '' |
| name of the package | |
| character(len=lenmempath) | memorypath = '' |
| the location in the memory manager where the variables are stored | |
| character(len=lenmempath) | memorypathmodel = '' |
| the location in the memory manager where the variables of the parent model are stored | |
| character(len=lenmempath) | input_mempath = '' |
| input context mempath | |
| character(len=linelength), pointer | input_fname => null() |
| input file name | |
| character(len=lenftype) | filtyp = '' |
| file type (CHD, DRN, RIV, etc.) | |
| character(len=lenftype), pointer | package_type => null() |
| package type (same as filtyp) stored in memory manager | |
| integer(i4b), pointer | id => null() |
| consecutive package number in model | |
| integer(i4b), pointer | inunit => null() |
| unit number for input file | |
| integer(i4b), pointer | iout => null() |
| unit number for writing package output | |
| integer(i4b), pointer | inewton => null() |
| newton flag | |
| integer(i4b), pointer | iasym => null() |
| package causes matrix asymmetry | |
| integer(i4b), pointer | iprpak => null() |
| integer flag to echo input | |
| integer(i4b), pointer | iprflow => null() |
| flag to print simulated flows | |
| integer(i4b), pointer | ipakcb => null() |
| output flows (-1, 0, 1) - save_flows | |
| integer(i4b), pointer | ionper => null() |
| stress period for next data | |
| integer(i4b), pointer | lastonper => null() |
| last value of ionper (for checking) | |
| type(blockparsertype) | parser |
| parser object for reading blocks of information | |
| class(disbasetype), pointer | dis => null() |
| model discretization object | |
Private Member Functions | |
| procedure, private | maw_source_packagedata (this) |
| Source PACKAGEDATA block from input context. | |
| procedure, private | maw_source_connectiondata (this) |
| Source CONNECTIONDATA block from input context. | |
| procedure, private | maw_source_angledata (this) |
| Source ANGLEDATA block from input context for non-vertical MAW connections. | |
| procedure, private | maw_cell_extent (this, node, estimated) |
| Maximum horizontal extent of a cell. | |
| procedure, private | maw_calc_lcorr (this, i, jpos) |
| Calculate the length correction factor for a multi-aquifer well connection. | |
| procedure, private | maw_check_attributes (this) |
| Issue parameter errors for mawwells(imaw). | |
| procedure, private | maw_set_attribute_error (this, imaw, keyword, msg) |
| Issue a parameter error for mawweslls(imaw). | |
| procedure, private | maw_set_period_value (this, n, imaw, setting) |
| Apply a PERIOD setting value to well imaw. | |
| procedure, private | maw_calculate_saturation (this, n, j, node, sat, hwell_in) |
| Calculate the saturation between the aquifer maw well_head. | |
| procedure, private | maw_calculate_satcond (this, i, j, node) |
| Calculate the appropriate saturated conductance to use based on aquifer and multi-aquifer well characteristics. | |
| procedure, private | 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. | |
| procedure, private | maw_calculate_wellq (this, n, hmaw, q) |
| Calculate well pumping rate based on constraints. | |
| procedure, private | maw_calculate_qpot (this, n, qnet) |
| Calculate groundwater inflow to a maw well. | |
| procedure, private | maw_cfupdate (this) |
| Update MAW satcond and package rhs and hcof. | |
| procedure, private | get_jpos (this, n, j) |
| Get position of value in connection data. | |
| procedure, private | get_gwfnode (this, n, j) |
| Get the gwfnode for connection. | |
| procedure, private | 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. | |
| procedure, private | maw_fill_budobj (this) |
| Copy flow terms into thisbudobj. | |
| procedure, private | maw_setup_tableobj (this) |
| Set up the table object that is used to write the maw head data. | |
| procedure, private | maw_calculate_density_exchange (this, iconn, hmaw, hgwf, cond, bmaw, flow, hcofterm, rhsterm) |
| Calculate the groundwater-maw density exchange terms. | |
| procedure, private | maw_redflow_csv_init (this, fname) |
| Initialize the auto flow reduce csv output file. | |
| procedure, private | maw_redflow_csv_write (this) |
| MAW reduced flows only when & where they occur. | |
| procedure, private | pak_setup_outputtab (this) |
| Setup output table for package. | |
Definition at line 91 of file gwf-maw.f90.
|
inherited |
Allocate and initialize base boundary package arrays. This method only needs to be overridden if additional arrays are defined for a specific package.
| this | BndExtType object |
| nodelist | package nodelist |
| auxvar | package aux variable array |
Definition at line 54 of file BoundaryPackageExt.f90.
|
inherited |
Allocate and initialize base boundary package arrays. This method only needs to be overridden if additional arrays are defined for a specific package.
| this | BndType object |
| nodelist | package nodelist |
| auxvar | package aux variable array |
Definition at line 140 of file BoundaryPackage.f90.
|
inherited |
| this | BndExtType object |
Definition at line 55 of file BoundaryPackageExt.f90.
|
inherited |
Allocate and initialize base boundary package scalars. This method only needs to be overridden if additional scalars are defined for a specific package.
| this | BndExtType object |
Definition at line 53 of file BoundaryPackageExt.f90.
|
inherited |
Allocate and initialize base boundary package scalars. This method only needs to be overridden if additional scalars are defined for a specific package.
| this | BndType object |
Definition at line 139 of file BoundaryPackage.f90.
|
inherited |
Allocate and initialize base numerical package scalars.
| this | NumericalPackageType object |
Definition at line 54 of file NumericalPackage.f90.
|
inherited |
Add boundary package connection to the matrix for packages that add connections to the coefficient matrix. An example would be the GWF model MAW package. Base implementation that must be extended.
| [in,out] | this | BndType object |
| [in] | moffset | solution matrix model offset |
| [in,out] | sparse | sparse object |
Definition at line 117 of file BoundaryPackage.f90.
| procedure mawmodule::mawtype::bnd_ac | ( | class(mawtype), intent(inout) | this, |
| integer(i4b), intent(in) | moffset, | ||
| type(sparsematrix), intent(inout) | sparse ) |
Definition at line 240 of file gwf-maw.f90.
|
inherited |
Method to activate addition of viscosity terms when package type is DRN, GHB, or RIV (method not needed by other packages at this point)
| [in,out] | this | BndType object |
Definition at line 165 of file BoundaryPackage.f90.
|
inherited |
Does not call thisTsManagerad()/thisTasManagerad() – those managers are unused by this type (see bndext_df).
Definition at line 47 of file BoundaryPackageExt.f90.
|
inherited |
Advance data in the boundary package. The method sets advances time series, time array series, and observation data. A boundary package only needs to override this method if additional data needs to be advanced.
| this | BndType object |
Definition at line 121 of file BoundaryPackage.f90.
| procedure mawmodule::mawtype::bnd_ad | ( | class(mawtype) | this | ) |
Definition at line 244 of file gwf-maw.f90.
|
inherited |
Generic method to allocate and read static data for model boundary packages. A boundary package only needs to override this method if input data varies from the standard boundary package.
| [in,out] | this | BndType object |
Definition at line 119 of file BoundaryPackage.f90.
| procedure mawmodule::mawtype::bnd_ar | ( | class(mawtype), intent(inout) | this | ) |
Create new MAW package and point bndobj to the new package
Definition at line 242 of file gwf-maw.f90.
|
inherited |
Add the flow between package and the model (ratin and ratout) to the model budget. This method only needs to be overridden if a different calculation needs to be made.
| this | BndType object | |
| [in,out] | model_budget | model budget object |
Definition at line 130 of file BoundaryPackage.f90.
|
inherited |
Method to save simulated values for the boundary package. This method will need to be overridden for boundary packages with more observations than the calculate flow term (simvals) and to-mover.
| this | BndType object |
Definition at line 156 of file BoundaryPackage.f90.
| procedure, public mawmodule::mawtype::bnd_bd_obs | ( | class(mawtype) | this | ) |
Definition at line 261 of file gwf-maw.f90.
|
inherited |
Perform additional convergence checks on the flow between the package and the model it is attached to. This additional convergence check is applied to packages that solve their own continuity equation as part of the formulate step at the beginning of a Picard iteration. A boundary package only needs to override this method if a specific boundary package solves its own continuity equation. Example packages that implement this additional convergence check is the CSUB, SFR, LAK, and UZF packages.
| [in,out] | this | BndType object |
| [in] | innertot | total number of inner iterations |
| [in] | kiter | Picard iteration number |
| [in] | iend | flag indicating if this is the last Picard iteration |
| [in] | icnvgmod | flag inficating if the model has met specific convergence criteria |
| [in,out] | cpak | string for user node |
| [in,out] | ipak | location of the maximum dependent variable change |
| [in,out] | dpak | maximum dependent variable change |
Definition at line 128 of file BoundaryPackage.f90.
| procedure mawmodule::mawtype::bnd_cc | ( | class(mawtype), intent(inout) | this, |
| integer(i4b), intent(in) | innertot, | ||
| integer(i4b), intent(in) | kiter, | ||
| integer(i4b), intent(in) | iend, | ||
| integer(i4b), intent(in) | icnvgmod, | ||
| character(len=lenpakloc), intent(inout) | cpak, | ||
| integer(i4b), intent(inout) | ipak, | ||
| real(dp), intent(inout) | dpak ) |
This does two things:
Definition at line 249 of file gwf-maw.f90.
|
inherited |
Formulate the hcof and rhs terms for the package that will be added to the coefficient matrix and right-hand side vector. Base implementation that must be extended by each model boundary package.
| this | BndType object |
Definition at line 124 of file BoundaryPackage.f90.
| procedure mawmodule::mawtype::bnd_cf | ( | class(mawtype) | this | ) |
Skip if no multi-aquifer wells, otherwise, calculate hcof and rhs
Definition at line 245 of file gwf-maw.f90.
|
inherited |
Check the boundary package period data. Base implementation that must be extended by each model boundary package.
| [in,out] | this | BndType object |
Definition at line 122 of file BoundaryPackage.f90.
|
inherited |
Calculate the flow between connected advanced package control volumes. Only advanced boundary packages need to override this method.
| [in,out] | this | BndType object |
| [in] | x | current dependent-variable value |
| [in,out] | flowja | flow between two connected control volumes |
| [in] | iadv | flag that indicates if this is an advance package |
Definition at line 129 of file BoundaryPackage.f90.
| procedure mawmodule::mawtype::bnd_cq | ( | class(mawtype), intent(inout) | this, |
| real(dp), dimension(:), intent(in) | x, | ||
| real(dp), dimension(:), intent(inout), contiguous | flowja, | ||
| integer(i4b), intent(in), optional | iadv ) |
Definition at line 250 of file gwf-maw.f90.
|
inherited |
Calculate the flow between package and the model (for example, GHB and groundwater cell) and store in the simvals variable. This method only needs to be overridden if a different calculation needs to be made.
| this | BndType object | |
| [in] | hnew | current dependent-variable value |
| [in,out] | flowja | flow between package and model |
| [in] | imover | flag indicating if the mover package is active |
Definition at line 146 of file BoundaryPackage.f90.
|
inherited |
Calculate the flow between package and the model that is sent to the mover package and store in the simtomvr variable. This method only needs to be overridden if a different calculation needs to be made.
| this | BndType object | |
| [in,out] | flowja | flow between package and model |
Definition at line 147 of file BoundaryPackage.f90.
|
inherited |
| this | BndExtType object |
Definition at line 52 of file BoundaryPackageExt.f90.
|
inherited |
Deallocate base boundary package scalars and arrays. This method only needs to be overridden if additional variables are defined for a specific package.
| this | BndType object |
Definition at line 137 of file BoundaryPackage.f90.
| procedure mawmodule::mawtype::bnd_da | ( | class(mawtype) | this | ) |
Definition at line 255 of file gwf-maw.f90.
|
inherited |
Define base boundary package options and dimensions for a model boundary package.
| [in,out] | this | BndExtType object |
| [in,out] | neq | number of equations |
| dis | discretization object |
Definition at line 46 of file BoundaryPackageExt.f90.
|
inherited |
Define base boundary package options and dimensions for a model boundary package.
| [in,out] | this | BndType object |
| [in,out] | neq | number of equations |
| dis | discretization object |
Definition at line 116 of file BoundaryPackage.f90.
|
inherited |
Method to define the observation types available in a boundary package. This method should be overridden if observations are supported in a boundary package.
| this | BndType object |
Definition at line 155 of file BoundaryPackage.f90.
| procedure, public mawmodule::mawtype::bnd_df_obs | ( | class(mawtype) | this | ) |
Overrides BndTypebnd_df_obs
Definition at line 259 of file gwf-maw.f90.
|
inherited |
| this | BndType object |
Definition at line 135 of file BoundaryPackage.f90.
|
inherited |
Add the hcof and rhs terms for the boundary package to the coefficient matrix and right-hand side vector. A boundary package only needs to override this method if it is different for a specific boundary package.
| this | BndType object | |
| [in,out] | rhs | right-hand side vector for model |
| [in] | ia | solution CRS row pointers |
| [in] | idxglo | mapping vector for model (local) to solution (global) |
| matrix_sln | solution coefficient matrix |
Definition at line 125 of file BoundaryPackage.f90.
| procedure mawmodule::mawtype::bnd_fc | ( | class(mawtype) | this, |
| real(dp), dimension(:), intent(inout) | rhs, | ||
| integer(i4b), dimension(:), intent(in) | ia, | ||
| integer(i4b), dimension(:), intent(in) | idxglo, | ||
| class(matrixbasetype), pointer | matrix_sln ) |
Definition at line 246 of file gwf-maw.f90.
|
inherited |
Calculate and add the Newton-Raphson terms for the boundary package to the coefficient matrix and right-hand side vector. A boundary package only needs to override this method if a specific boundary package needs to add Newton-Raphson terms.
| this | BndType object | |
| [in,out] | rhs | right-hand side vector for model |
| [in] | ia | solution CRS row pointers |
| [in] | idxglo | mapping vector for model (local) to solution (global) |
| matrix_sln | solution coefficient matrix |
Definition at line 126 of file BoundaryPackage.f90.
| procedure mawmodule::mawtype::bnd_fn | ( | class(mawtype) | this, |
| real(dp), dimension(:), intent(inout) | rhs, | ||
| integer(i4b), dimension(:), intent(in) | ia, | ||
| integer(i4b), dimension(:), intent(in) | idxglo, | ||
| class(matrixbasetype), pointer | matrix_sln ) |
Definition at line 247 of file gwf-maw.f90.
|
inherited |
| this | BndType object |
Definition at line 136 of file BoundaryPackage.f90.
|
inherited |
Map boundary package connection to the matrix for packages that add connections to the coefficient matrix. An example would be the GWF model MAW package. Base implementation that must be extended.
| [in,out] | this | BndType object |
| [in] | moffset | solution matrix model offset |
| matrix_sln | global system matrix |
Definition at line 118 of file BoundaryPackage.f90.
| procedure mawmodule::mawtype::bnd_mc | ( | class(mawtype), intent(inout) | this, |
| integer(i4b), intent(in) | moffset, | ||
| class(matrixbasetype), pointer | matrix_sln ) |
Definition at line 241 of file gwf-maw.f90.
|
inherited |
Apply Newton-Raphson under-relaxation for a boundary package. A boundary package only needs to override this method if a specific boundary package needs to apply Newton-Raphson under-relaxation. An example is the MAW package which adds rows to the system of equations and may need to have the dependent-variable constrained by the bottom of the model.
| [in,out] | this | BndType object |
| [in] | neqpak | number of equations in the package |
| [in,out] | x | dependent variable |
| [in] | xtemp | previous dependent variable |
| [in,out] | dx | change in dependent variable |
| [in,out] | inewtonur | flag indicating if newton-raphson under-relaxation should be applied |
| [in,out] | dxmax | maximum change in the dependent variable |
| [in,out] | locmax | location of the maximum change in the dependent variable |
Definition at line 127 of file BoundaryPackage.f90.
| procedure mawmodule::mawtype::bnd_nur | ( | class(mawtype), intent(inout) | this, |
| integer(i4b), intent(in) | neqpak, | ||
| real(dp), dimension(neqpak), intent(inout) | x, | ||
| real(dp), dimension(neqpak), intent(in) | xtemp, | ||
| real(dp), dimension(neqpak), intent(inout) | dx, | ||
| integer(i4b), intent(inout) | inewtonur, | ||
| real(dp), intent(inout) | dxmax, | ||
| integer(i4b), intent(inout) | locmax ) |
Two corrections are applied to each well head, in order:
Definition at line 248 of file gwf-maw.f90.
|
inherited |
Function to determine if observations are supported by the boundary package. By default, observations are not supported. This method should be overridden if observations are supported in a boundary package.
| this | BndType object |
Definition at line 154 of file BoundaryPackage.f90.
| procedure, public mawmodule::mawtype::bnd_obs_supported | ( | class(mawtype) | this | ) |
Overrides BndTypebnd_obs_supported()
Definition at line 258 of file gwf-maw.f90.
|
inherited |
Read additional options for a boundary package. This method should be overridden options in addition to the base options are implemented in a boundary package.
| [in,out] | this | BndType object |
| [in,out] | option | option keyword string |
| [in,out] | found | boolean indicating if the option was found |
Definition at line 145 of file BoundaryPackage.f90.
|
inherited |
Output advanced boundary package budget summary. This method only needs to be overridden for advanced packages that save budget summaries to the model listing file.
| this | BndType object | |
| [in] | kstp | time step number |
| [in] | kper | period number |
| [in] | iout | flag and unit number for the model listing file |
| [in] | ibudfl | flag indicating budget should be written |
Definition at line 134 of file BoundaryPackage.f90.
| procedure mawmodule::mawtype::bnd_ot_bdsummary | ( | class(mawtype) | this, |
| integer(i4b), intent(in) | kstp, | ||
| integer(i4b), intent(in) | kper, | ||
| integer(i4b), intent(in) | iout, | ||
| integer(i4b), intent(in) | ibudfl ) |
| this | MawType object | |
| [in] | kstp | time step number |
| [in] | kper | period number |
| [in] | iout | flag and unit number for the model listing file |
| [in] | ibudfl | flag indicating budget should be written |
Definition at line 254 of file gwf-maw.f90.
|
inherited |
Output advanced boundary package dependent-variable terms. This method only needs to be overridden for advanced packages that save dependent variable terms for each control volume.
| this | BndType object | |
| [in] | idvsave | flag and unit number for dependent-variable output |
| [in] | idvprint | flag indicating if dependent-variable should be written to the model listing file |
Definition at line 133 of file BoundaryPackage.f90.
| procedure mawmodule::mawtype::bnd_ot_dv | ( | class(mawtype) | this, |
| integer(i4b), intent(in) | idvsave, | ||
| integer(i4b), intent(in) | idvprint ) |
Definition at line 253 of file gwf-maw.f90.
|
inherited |
Output flow terms between the boundary package and model to a binary file and/or print flows to the model listing file. This method should not need to be overridden.
| this | BndType object | |
| [in] | icbcfl | flag for cell-by-cell output |
| [in] | ibudfl | flag indication if cell-by-cell data should be saved |
| [in] | icbcun | unit number for cell-by-cell output |
| [in] | imap | mapping vector that converts the 1 to nbound values to lake number, maw number, etc. |
Definition at line 131 of file BoundaryPackage.f90.
| procedure mawmodule::mawtype::bnd_ot_model_flows | ( | class(mawtype) | this, |
| integer(i4b), intent(in) | icbcfl, | ||
| integer(i4b), intent(in) | ibudfl, | ||
| integer(i4b), intent(in) | icbcun, | ||
| integer(i4b), dimension(:), intent(in), optional | imap ) |
Definition at line 251 of file gwf-maw.f90.
|
inherited |
Method to output simulated values for the boundary package. This method should not need to be overridden.
| this | BndType object |
Definition at line 157 of file BoundaryPackage.f90.
|
inherited |
Output advanced boundary package flow terms. This method only needs to be overridden for advanced packages that save flow terms than contribute to the continuity equation for each control volume.
| this | BndType object | |
| [in] | icbcfl | flag and unit number for cell-by-cell output |
| [in] | ibudfl | flag indication if cell-by-cell data should be saved |
Definition at line 132 of file BoundaryPackage.f90.
| procedure mawmodule::mawtype::bnd_ot_package_flows | ( | class(mawtype) | this, |
| integer(i4b), intent(in) | icbcfl, | ||
| integer(i4b), intent(in) | ibudfl ) |
Definition at line 252 of file gwf-maw.f90.
|
inherited |
| this | BndType object |
Definition at line 123 of file BoundaryPackage.f90.
|
inherited |
| [in,out] | this | BndExtType object |
Definition at line 48 of file BoundaryPackageExt.f90.
|
inherited |
Generic method to read and prepare period data for model boundary packages. A boundary package only needs to override this method if period data varies from the standard boundary package.
| [in,out] | this | BndType object |
Definition at line 120 of file BoundaryPackage.f90.
| procedure mawmodule::mawtype::bnd_rp | ( | class(mawtype), intent(inout) | this | ) |
Read itmp and new boundaries if itmp > 0
Definition at line 243 of file gwf-maw.f90.
|
inherited |
Called from model control files after bnd_rp(), which ensures bound_value() dispatches to the correct derived type.
Definition at line 49 of file BoundaryPackageExt.f90.
|
inherited |
Write stress period input to the listing file if requested. This default implementation is a no-op; BndExtType overrides it.
Definition at line 159 of file BoundaryPackage.f90.
|
inherited |
Method to read and prepare observations for a boundary package This method should not need to be overridden for most boundary packages.
| [in,out] | this | BndType object |
Definition at line 158 of file BoundaryPackage.f90.
| procedure, public mawmodule::mawtype::bnd_rp_obs | ( | class(mawtype), intent(inout) | this | ) |
Only done the first stress period since boundaries are fixed for the simulation
Definition at line 260 of file gwf-maw.f90.
|
inherited |
Assign the time series links for the boundary package. This method will need to be overridden for boundary packages that support time series.
Definition at line 162 of file BoundaryPackage.f90.
|
inherited |
Return a bound value associated with an ncolbnd index and row. This function should be overridden in the derived package class.
| [in,out] | this | BndExtType object |
Definition at line 65 of file BoundaryPackageExt.f90.
|
inherited |
Convert period updated cellids to node numbers.
| this | BndExtType object |
Definition at line 59 of file BoundaryPackageExt.f90.
|
inherited |
| this | BndExtType object | |
| [in] | mshape | model shape |
| [in] | ndim | size of mshape |
Definition at line 63 of file BoundaryPackageExt.f90.
|
inherited |
boundnames_cst is an array of type(CharacterStringType), which can be stored in the MemoryManager.
| [in,out] | this | BndType object |
Definition at line 150 of file BoundaryPackage.f90.
|
inherited |
Deallocate and initialize base numerical package scalars.
| this | NumericalPackageType object |
Definition at line 55 of file NumericalPackage.f90.
|
inherited |
Equivalent to reading layer number array as CONSTANT 1
Definition at line 62 of file BoundaryPackageExt.f90.
|
inherited |
Method defined the list label for the boundary package. This method needs to be overridden by each boundary package.
| [in,out] | this | BndType object |
Definition at line 149 of file BoundaryPackage.f90.
| procedure mawmodule::mawtype::define_listlabel | ( | class(mawtype), intent(inout) | this | ) |
Definition at line 256 of file gwf-maw.f90.
|
inherited |
Generic method to read data in the GRIDDATA block for a package.
| this | NumericalPackageType object | |
| [in] | tags | vector with variable tags |
| [in,out] | lfound | boolean vector indicating of a variable tag was found |
| [in] | varinames | optional vector of variable names |
Definition at line 57 of file NumericalPackage.f90.
|
private |
Definition at line 278 of file gwf-maw.f90.
|
private |
Definition at line 277 of file gwf-maw.f90.
|
inherited |
This is a module scoped routine to check for I<filtyp> input. If array input was provided, INI<filtyp> and I<filtyp> will be allocated in the input context. If the read state variable INI<filtyp> shows values were given in this period block, I<filtyp> input was read and is used here to update the nodelist.
| this | BndExtType object |
Definition at line 61 of file BoundaryPackageExt.f90.
|
inherited |
| [in,out] | this | BndExtType object |
Definition at line 57 of file BoundaryPackageExt.f90.
| procedure mawmodule::mawtype::maw_activate_density | ( | class(mawtype), intent(inout) | this | ) |
Definition at line 285 of file gwf-maw.f90.
| procedure mawmodule::mawtype::maw_activate_viscosity | ( | class(mawtype), intent(inout) | this | ) |
Method to activate addition of viscosity terms for a MAW package reach.
| [in,out] | this | MawType object |
Definition at line 291 of file gwf-maw.f90.
| procedure mawmodule::mawtype::maw_allocate_arrays | ( | class(mawtype), intent(inout) | this | ) |
Definition at line 234 of file gwf-maw.f90.
| procedure mawmodule::mawtype::maw_allocate_scalars | ( | class(mawtype), intent(inout) | this | ) |
Definition at line 232 of file gwf-maw.f90.
| procedure mawmodule::mawtype::maw_allocate_well_conn_arrays | ( | class(mawtype), intent(inout) | this | ) |
Definition at line 233 of file gwf-maw.f90.
|
private |
The saturated conductance of a non-vertical (slanted) connection is scaled by the ratio of the in-cell screen length to the vertical screen thickness. The factor is 1.0 for vertical connections (angle = 0 and no connection length specified). The in-cell screen length is either specified directly (CONNLEN > 0) or derived from the screen elevations and the tilt angle, accounting for the vertical band occupied by the finite-radius borehole.
| [in] | i | well number |
| [in] | jpos | connection position |
Definition at line 267 of file gwf-maw.f90.
|
private |
Definition at line 273 of file gwf-maw.f90.
|
private |
Arguments are as follows: iconn : maw-gwf connection number hmaw : maw head hgwf : gwf head cond : conductance bmaw : bottom elevation of this connection flow : calculated flow, updated here with density terms, + into maw hcofterm : head coefficient term rhsterm : right-hand-side value, updated here with density terms
Member variable used here denseterms : shape (3, MAXBOUND), filled by buoyancy package col 1 is relative density of maw (densemaw / denseref) col 2 is relative density of gwf cell (densegwf / denseref) col 3 is elevation of gwf cell
Upon return, amat and rhs for maw row should be updated as: amat(idiag) = amat(idiag) - hcofterm rhs(n) = rhs(n) + rhsterm
Definition at line 286 of file gwf-maw.f90.
|
private |
Definition at line 275 of file gwf-maw.f90.
|
private |
Definition at line 272 of file gwf-maw.f90.
|
private |
Definition at line 271 of file gwf-maw.f90.
|
private |
Definition at line 274 of file gwf-maw.f90.
|
private |
The extent is the largest distance between two cell vertices where they are defined, and is estimated as the diagonal of a square with the same area where they are not.
| [in] | node | reduced node number of the connected cell |
| [out] | estimated | extent is estimated from the cell area |
Definition at line 266 of file gwf-maw.f90.
|
private |
Definition at line 276 of file gwf-maw.f90.
|
private |
Definition at line 268 of file gwf-maw.f90.
| procedure mawmodule::mawtype::maw_checkin_deprecated_names | ( | class(mawtype), intent(inout) | this | ) |
IDM integration moved several well variables into the input context, renaming some. These aliases share memory with the relocated variables so that programs addressing them through the API by their old package-path names continue to resolve; each use is reported as deprecated.
Definition at line 235 of file gwf-maw.f90.
|
private |
terms include a combination of the following: gwf rate [flowing_well] [storage] constant_flow [frommvr tomvr tomvrcf [tomvrfw]] [aux]
Definition at line 281 of file gwf-maw.f90.
|
private |
| [in,out] | this | MawType object |
Definition at line 288 of file gwf-maw.f90.
|
private |
| [in,out] | this | MawType object |
Definition at line 289 of file gwf-maw.f90.
|
private |
Definition at line 269 of file gwf-maw.f90.
|
private |
Shared by maw_rp (once per period) and maw_ad (per-timestep resync of TS-linked settings); validation stays with the caller.
| [in] | n | row index into input context arrays |
| [in] | imaw | well number |
| [in] | setting | uppercase tagname dispatch key |
Definition at line 270 of file gwf-maw.f90.
|
private |
Definition at line 280 of file gwf-maw.f90.
|
private |
The terms listed here must correspond in number and order to the ones written to the head table in the maw_ot method.
Definition at line 283 of file gwf-maw.f90.
|
private |
Definition at line 265 of file gwf-maw.f90.
|
private |
Definition at line 264 of file gwf-maw.f90.
|
private |
Definition at line 263 of file gwf-maw.f90.
|
inherited |
Convert period user nodes to reduced nodes. Inactive cells are excluded by the input loader.
| this | BndExtType object |
Definition at line 60 of file BoundaryPackageExt.f90.
|
inherited |
Allocate and initialize select base boundary package members. This method needs to be overridden by a package if it is needed for a specific package.
| this | BndType object |
Definition at line 141 of file BoundaryPackage.f90.
|
privateinherited |
Setup output table for a boundary package that is used to output package to model flow terms to the model listing file.
| [in,out] | this | BndType object |
Definition at line 151 of file BoundaryPackage.f90.
|
inherited |
Generic method to read and check ionperiod, which is used to determine if new period data should be read from the input file. The check of ionperiod also makes sure periods are increasing in subsequent period data blocks.
| [in,out] | this | NumericalPackageType object |
Definition at line 56 of file NumericalPackage.f90.
|
inherited |
Read base dimensions for boundary packages. This method should not need to be overridden unless more than MAXBOUND is specified in the DIMENSIONS block.
| [in,out] | this | BndType object |
Definition at line 143 of file BoundaryPackage.f90.
|
inherited |
Read initial parameters for a boundary package. This method is not needed for most boundary packages. The SFR package is an example of a package that has overridden this method.
| [in,out] | this | BndType object |
Definition at line 144 of file BoundaryPackage.f90.
| procedure mawmodule::mawtype::read_initial_attr | ( | class(mawtype), intent(inout) | this | ) |
Definition at line 238 of file gwf-maw.f90.
|
inherited |
Read base options for boundary packages.
| [in,out] | this | BndType object |
Definition at line 142 of file BoundaryPackage.f90.
|
inherited |
Set check_missing=.false. for an optional block where not every feature is expected to have a row (duplicates are still reported).
Definition at line 51 of file BoundaryPackageExt.f90.
|
inherited |
Method to assign the filtyp (ftype), the model name, and package name for a package. This method also creates the memoryPath and memoryPathModel that is used by the memory manager when variables are allocated.
| [in,out] | this | NumericalPackageType object |
| [in] | ibcnum | unique package number |
| [in] | name_model | name of the model |
| [in] | pakname | name of the package |
| [in] | ftype | package type |
Definition at line 53 of file NumericalPackage.f90.
|
inherited |
Set pointers to model variables so that a package has access to these variables. This base method should not need to be overridden.
| this | BndType object |
| neq | number of equations in the model |
| ibound | model idomain |
| xnew | current dependent variable |
| xold | previous dependent variable |
| flowja | connection flow terms |
Definition at line 148 of file BoundaryPackage.f90.
| procedure mawmodule::mawtype::set_pointers | ( | class(mawtype) | this, |
| integer(i4b), pointer | neq, | ||
| integer(i4b), dimension(:), pointer, contiguous | ibound, | ||
| real(dp), dimension(:), pointer, contiguous | xnew, | ||
| real(dp), dimension(:), pointer, contiguous | xold, | ||
| real(dp), dimension(:), pointer, contiguous | flowja ) |
Definition at line 239 of file gwf-maw.f90.
|
inherited |
| [in,out] | this | BndExtType object |
Definition at line 58 of file BoundaryPackageExt.f90.
| procedure mawmodule::mawtype::source_dimensions | ( | class(mawtype), intent(inout) | this | ) |
Definition at line 237 of file gwf-maw.f90.
|
inherited |
| [in,out] | this | BndExtType object |
Definition at line 56 of file BoundaryPackageExt.f90.
| procedure mawmodule::mawtype::source_options | ( | class(mawtype), intent(inout) | this | ) |
Definition at line 236 of file gwf-maw.f90.
|
inherited |
Returns the validated feature index, or 0 if out of range (an error is logged; the caller should skip further processing for the row).
Definition at line 50 of file BoundaryPackageExt.f90.
|
inherited |
Log period based input. This routine requires a package specific bound_value() routine to report accurate bound values.
| this | BndExtType object |
Definition at line 64 of file BoundaryPackageExt.f90.
|
inherited |
Definition at line 95 of file BoundaryPackage.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::angle => NULL() |
Definition at line 180 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::area => null() |
Definition at line 133 of file gwf-maw.f90.
|
inherited |
Definition at line 51 of file BoundaryPackage.f90.
|
inherited |
Definition at line 53 of file BoundaryPackage.f90.
|
inherited |
Definition at line 78 of file BoundaryPackage.f90.
| integer(i4b), pointer mawmodule::mawtype::bditems => NULL() |
Definition at line 198 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::bot => null() |
Definition at line 135 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::botscrn => NULL() |
Definition at line 179 of file gwf-maw.f90.
|
inherited |
Definition at line 75 of file BoundaryPackage.f90.
|
inherited |
Definition at line 55 of file BoundaryPackage.f90.
|
inherited |
Definition at line 57 of file BoundaryPackage.f90.
| type(budgetobjecttype), pointer mawmodule::mawtype::budobj => null() |
Definition at line 199 of file gwf-maw.f90.
| character(len=lenauxname), dimension(:), pointer, contiguous mawmodule::mawtype::cauxcbc => NULL() |
Definition at line 98 of file gwf-maw.f90.
| integer(i4b), pointer mawmodule::mawtype::cbcauxitems => NULL() |
Definition at line 109 of file gwf-maw.f90.
|
inherited |
Definition at line 40 of file BoundaryPackageExt.f90.
| integer(i4b), pointer mawmodule::mawtype::check_attr => NULL() |
Definition at line 114 of file gwf-maw.f90.
| character(len=lenbudtxt), dimension(:), pointer, contiguous mawmodule::mawtype::cmawbudget => NULL() |
Definition at line 96 of file gwf-maw.f90.
| character(len=lenboundname), dimension(:), pointer, contiguous mawmodule::mawtype::cmawname => null() |
Definition at line 153 of file gwf-maw.f90.
|
inherited |
Definition at line 88 of file BoundaryPackage.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::connlen => NULL() |
Definition at line 181 of file gwf-maw.f90.
| logical(lgp), pointer mawmodule::mawtype::correct_flow => null() |
Definition at line 102 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::dbuff => null() |
Definition at line 190 of file gwf-maw.f90.
| real(dp), dimension(:, :), pointer, contiguous mawmodule::mawtype::denseterms => null() |
Definition at line 223 of file gwf-maw.f90.
|
inherited |
Definition at line 50 of file NumericalPackage.f90.
|
inherited |
Definition at line 113 of file BoundaryPackage.f90.
|
inherited |
Definition at line 44 of file BoundaryPackageExt.f90.
|
inherited |
Definition at line 33 of file NumericalPackage.f90.
|
inherited |
Definition at line 106 of file BoundaryPackage.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::fwcond => null() |
Definition at line 140 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::fwcondsim => null() |
Definition at line 142 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::fwelev => null() |
Definition at line 139 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::fwrlen => null() |
Definition at line 141 of file gwf-maw.f90.
| integer(i4b), pointer mawmodule::mawtype::gwfik22 => NULL() |
Definition at line 208 of file gwf-maw.f90.
| integer(i4b), pointer mawmodule::mawtype::gwfiss => NULL() |
Definition at line 205 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::gwfk11 => NULL() |
Definition at line 206 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::gwfk22 => NULL() |
Definition at line 207 of file gwf-maw.f90.
| integer(i4b), dimension(:), pointer, contiguous mawmodule::mawtype::gwfnodes => NULL() |
Definition at line 172 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::gwfsat => NULL() |
Definition at line 209 of file gwf-maw.f90.
|
inherited |
Definition at line 76 of file BoundaryPackage.f90.
| type(tabletype), pointer mawmodule::mawtype::headtab => null() |
Definition at line 202 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::hk => NULL() |
Definition at line 175 of file gwf-maw.f90.
| integer(i4b), dimension(:), pointer, contiguous mawmodule::mawtype::iaconn => null() |
Definition at line 169 of file gwf-maw.f90.
|
inherited |
Definition at line 41 of file NumericalPackage.f90.
|
inherited |
Definition at line 69 of file BoundaryPackage.f90.
|
inherited |
Definition at line 62 of file BoundaryPackage.f90.
|
inherited |
Definition at line 103 of file BoundaryPackage.f90.
| integer(i4b), dimension(:), pointer, contiguous mawmodule::mawtype::iboundconn => NULL() |
Definition at line 173 of file gwf-maw.f90.
| integer(i4b), dimension(:), pointer, contiguous mawmodule::mawtype::iboundpak => null() |
Definition at line 217 of file gwf-maw.f90.
| integer(i4b), pointer mawmodule::mawtype::ibudcsv => null() |
Definition at line 108 of file gwf-maw.f90.
| integer(i4b), pointer mawmodule::mawtype::ibudgetout => null() |
Definition at line 107 of file gwf-maw.f90.
|
inherited |
Definition at line 107 of file BoundaryPackage.f90.
|
inherited |
Definition at line 108 of file BoundaryPackage.f90.
|
inherited |
Definition at line 37 of file NumericalPackage.f90.
| integer(i4b), pointer mawmodule::mawtype::idense |
Definition at line 222 of file gwf-maw.f90.
| integer(i4b), dimension(:), pointer, contiguous mawmodule::mawtype::idxdglo => null() |
Definition at line 213 of file gwf-maw.f90.
| integer(i4b), dimension(:), pointer, contiguous mawmodule::mawtype::idxlocnode => null() |
Definition at line 212 of file gwf-maw.f90.
| integer(i4b), dimension(:), pointer, contiguous mawmodule::mawtype::idxoffdglo => null() |
Definition at line 214 of file gwf-maw.f90.
| integer(i4b), dimension(:), pointer, contiguous mawmodule::mawtype::idxsymdglo => null() |
Definition at line 215 of file gwf-maw.f90.
| integer(i4b), dimension(:), pointer, contiguous mawmodule::mawtype::idxsymoffdglo => null() |
Definition at line 216 of file gwf-maw.f90.
| integer(i4b), pointer mawmodule::mawtype::ieffradopt => NULL() |
Definition at line 116 of file gwf-maw.f90.
| integer(i4b), dimension(:), pointer, contiguous mawmodule::mawtype::ieqn => null() |
Definition at line 128 of file gwf-maw.f90.
| integer(i4b), pointer mawmodule::mawtype::iflowingwells => NULL() |
Definition at line 110 of file gwf-maw.f90.
| integer(i4b), dimension(:), pointer, contiguous mawmodule::mawtype::ifwdischarge => null() |
Definition at line 130 of file gwf-maw.f90.
| integer(i4b), pointer mawmodule::mawtype::iheadout => null() |
Definition at line 106 of file gwf-maw.f90.
| integer(i4b), dimension(:), pointer, contiguous mawmodule::mawtype::imap => null() |
Definition at line 186 of file gwf-maw.f90.
| integer(i4b), pointer mawmodule::mawtype::imawiss => NULL() |
Definition at line 111 of file gwf-maw.f90.
| integer(i4b), pointer mawmodule::mawtype::imawissopt => NULL() |
Definition at line 112 of file gwf-maw.f90.
|
inherited |
Definition at line 83 of file BoundaryPackage.f90.
|
inherited |
Definition at line 68 of file BoundaryPackage.f90.
|
inherited |
Definition at line 94 of file BoundaryPackage.f90.
|
inherited |
Definition at line 40 of file NumericalPackage.f90.
|
inherited |
Definition at line 98 of file BoundaryPackage.f90.
| integer(i4b), pointer mawmodule::mawtype::inonvert => NULL() |
Definition at line 117 of file gwf-maw.f90.
| type(mawinputtype) mawmodule::mawtype::input |
Definition at line 166 of file gwf-maw.f90.
|
inherited |
Definition at line 32 of file NumericalPackage.f90.
|
inherited |
Definition at line 31 of file NumericalPackage.f90.
|
inherited |
Definition at line 111 of file BoundaryPackage.f90.
|
inherited |
Definition at line 38 of file NumericalPackage.f90.
|
inherited |
Definition at line 71 of file BoundaryPackage.f90.
|
inherited |
Definition at line 45 of file NumericalPackage.f90.
|
inherited |
Definition at line 39 of file NumericalPackage.f90.
| integer(i4b), pointer mawmodule::mawtype::ioutredflowcsv => NULL() |
Definition at line 118 of file gwf-maw.f90.
|
inherited |
Definition at line 44 of file NumericalPackage.f90.
|
inherited |
Definition at line 35 of file BoundaryPackageExt.f90.
|
inherited |
Definition at line 43 of file NumericalPackage.f90.
| integer(i4b), pointer mawmodule::mawtype::iprhed => null() |
Definition at line 105 of file gwf-maw.f90.
|
inherited |
Definition at line 42 of file NumericalPackage.f90.
|
inherited |
Definition at line 61 of file BoundaryPackage.f90.
|
inherited |
Definition at line 66 of file BoundaryPackage.f90.
| integer(i4b), dimension(:), pointer, contiguous mawmodule::mawtype::ishutoff => null() |
Definition at line 129 of file gwf-maw.f90.
| integer(i4b), pointer mawmodule::mawtype::ishutoffcnt => NULL() |
Definition at line 115 of file gwf-maw.f90.
|
inherited |
Definition at line 87 of file BoundaryPackage.f90.
| real(dp), pointer mawmodule::mawtype::kappa => NULL() |
Definition at line 123 of file gwf-maw.f90.
|
inherited |
Definition at line 46 of file NumericalPackage.f90.
|
inherited |
Definition at line 49 of file BoundaryPackage.f90.
|
inherited |
Definition at line 63 of file BoundaryPackage.f90.
|
inherited |
Definition at line 28 of file NumericalPackage.f90.
|
inherited |
Definition at line 29 of file NumericalPackage.f90.
|
inherited |
Definition at line 26 of file NumericalPackage.f90.
|
inherited |
Definition at line 67 of file BoundaryPackage.f90.
|
inherited |
Definition at line 64 of file BoundaryPackage.f90.
|
inherited |
Definition at line 65 of file BoundaryPackage.f90.
|
inherited |
Definition at line 102 of file BoundaryPackage.f90.
| integer(i4b), dimension(:), pointer, contiguous mawmodule::mawtype::ngwfnodes => null() |
Definition at line 127 of file gwf-maw.f90.
| integer(i4b), pointer mawmodule::mawtype::nmawwells => NULL() |
Definition at line 113 of file gwf-maw.f90.
|
inherited |
Definition at line 73 of file BoundaryPackage.f90.
|
inherited |
Definition at line 41 of file BoundaryPackageExt.f90.
|
inherited |
Definition at line 74 of file BoundaryPackage.f90.
|
inherited |
Definition at line 70 of file BoundaryPackage.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::nurdxold => null() |
Definition at line 151 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::nurweight => null() |
Definition at line 152 of file gwf-maw.f90.
|
inherited |
Definition at line 99 of file BoundaryPackage.f90.
|
inherited |
Definition at line 112 of file BoundaryPackage.f90.
|
inherited |
Definition at line 34 of file NumericalPackage.f90.
|
inherited |
Definition at line 27 of file NumericalPackage.f90.
|
inherited |
Definition at line 84 of file BoundaryPackage.f90.
|
inherited |
Definition at line 49 of file NumericalPackage.f90.
|
inherited |
Definition at line 43 of file BoundaryPackageExt.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::pumpelev => null() |
Definition at line 134 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::qauxcbc => null() |
Definition at line 189 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::qconst => null() |
Definition at line 195 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::qfw => null() |
Definition at line 193 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::qleak => null() |
Definition at line 191 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::qout => null() |
Definition at line 192 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::qsim0 => null() |
Definition at line 137 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::qsto => null() |
Definition at line 194 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::radius => null() |
Definition at line 132 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::rate => null() |
Definition at line 157 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::ratesim => null() |
Definition at line 136 of file gwf-maw.f90.
|
inherited |
Definition at line 36 of file BoundaryPackageExt.f90.
|
inherited |
Definition at line 37 of file BoundaryPackageExt.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::reduction_length => null() |
Definition at line 138 of file gwf-maw.f90.
|
inherited |
Definition at line 77 of file BoundaryPackage.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::satcond => NULL() |
Definition at line 176 of file gwf-maw.f90.
| real(dp), pointer mawmodule::mawtype::satomega => null() |
Definition at line 119 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::shutoffdq => null() |
Definition at line 149 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::shutofflevel => null() |
Definition at line 147 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::shutoffmax => null() |
Definition at line 146 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::shutoffmin => null() |
Definition at line 145 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::shutoffqold => null() |
Definition at line 150 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::shutoffweight => null() |
Definition at line 148 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::simcond => NULL() |
Definition at line 177 of file gwf-maw.f90.
|
inherited |
Definition at line 80 of file BoundaryPackage.f90.
|
inherited |
Definition at line 79 of file BoundaryPackage.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::sradius => NULL() |
Definition at line 174 of file gwf-maw.f90.
| character(len=8), dimension(:), pointer, contiguous mawmodule::mawtype::status => null() |
Definition at line 126 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::strt => null() |
Definition at line 131 of file gwf-maw.f90.
|
inherited |
Definition at line 93 of file BoundaryPackage.f90.
|
inherited |
Definition at line 50 of file BoundaryPackage.f90.
| real(dp), pointer mawmodule::mawtype::theta => NULL() |
Definition at line 122 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::topscrn => NULL() |
Definition at line 178 of file gwf-maw.f90.
|
inherited |
Definition at line 38 of file BoundaryPackageExt.f90.
|
inherited |
Definition at line 92 of file BoundaryPackage.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::usrbotscrn => NULL() |
Definition at line 183 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::usrtopscrn => NULL() |
Definition at line 182 of file gwf-maw.f90.
|
inherited |
Definition at line 89 of file BoundaryPackage.f90.
| real(dp), dimension(:, :), pointer, contiguous mawmodule::mawtype::viscratios => null() |
Definition at line 226 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::well_head => null() |
Definition at line 158 of file gwf-maw.f90.
| logical(lgp), dimension(:), pointer, contiguous mawmodule::mawtype::well_head_set => null() |
Definition at line 163 of file gwf-maw.f90.
|
inherited |
Definition at line 104 of file BoundaryPackage.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::xnewpak => null() |
Definition at line 218 of file gwf-maw.f90.
|
inherited |
Definition at line 105 of file BoundaryPackage.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::xoldpak => null() |
Definition at line 219 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::xoldsto => null() |
Definition at line 144 of file gwf-maw.f90.
| real(dp), dimension(:), pointer, contiguous mawmodule::mawtype::xsto => null() |
Definition at line 143 of file gwf-maw.f90.