MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
Inheritance diagram for sfrmodule::sfrtype:
Inheritance graph
Collaboration diagram for sfrmodule::sfrtype:
Collaboration graph

Public Member Functions

procedure sfr_allocate_scalars (this)
 Allocate scalars.
procedure sfr_allocate_arrays (this)
 Allocate arrays.
procedure sfr_checkin_deprecated_names (this)
 Alias deprecated SFR variable names to their current storage.
procedure source_options (this)
 Source OPTIONS from input context.
procedure source_dimensions (this)
 Source DIMENSIONS block from input context and load static data.
procedure bnd_ar (this)
 Allocate and read method for package.
procedure bnd_rp (this)
 Read and prepare period data for package.
procedure bnd_ad (this)
 Advance the package.
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_cc (this, innertot, kiter, iend, icnvgmod, cpak, ipak, dpak)
 Convergence check for package.
procedure bnd_cq (this, x, flowja, iadv)
 Calculate package flows.
procedure bnd_ot_package_flows (this, icbcfl, ibudfl)
 Output package flow terms.
procedure bnd_ot_dv (this, idvsave, idvprint)
 Output package dependent-variable terms.
procedure bnd_ot_bdsummary (this, kstp, kper, iout, ibudfl)
 Output advanced package budget summary.
procedure bnd_dt (this)
 Submit the ATS time step for the most Courant-constraining reach.
procedure bnd_fp (this)
 Write the Courant-number summary table to the listing file.
procedure bnd_da (this)
 Deallocate package memory.
procedure define_listlabel (this)
 Define the list label for the package.
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_rp_obs (this)
 Read and prepare observations for a package.
procedure, public bnd_bd_obs (this)
 Save observations for the package.
procedure sfr_activate_density (this)
 Activate density terms.
procedure sfr_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=16), dimension(:), pointer, contiguous csfrbudget => NULL()
 advanced package budget names
character(len=16), dimension(:), pointer, contiguous cauxcbc => NULL()
 aux names
character(len=lenboundname), dimension(:), pointer, contiguous sfrname => null()
 internal SFR reach name
integer(i4b), pointer istorage => null()
 flag for using kinematic wave approximation
integer(i4b), pointer iprhed => null()
 flag for printing stages to listing file
integer(i4b), pointer istageout => null()
 flag and unit number for binary stage output
integer(i4b), pointer ibudgetout => null()
 flag and unit number for binary sfr budget output
integer(i4b), pointer ibudcsv => null()
 unit number for csv budget output file
integer(i4b), pointer ipakcsv => null()
 flag and unit number for package convergence information
integer(i4b), pointer idiversions => null()
 flag indicating if there are any diversions
integer(i4b), pointer nconn => NULL()
 number of reach connections
integer(i4b), pointer maxsfrpicard => NULL()
 maximum number of Picard iteration calls to SFR solve
integer(i4b), pointer maxsfrit => NULL()
 maximum number of iterations in SFR solve
integer(i4b), pointer bditems => NULL()
 number of SFR budget items
integer(i4b), pointer cbcauxitems => NULL()
 number of aux items in cell-by-cell budget file
integer(i4b), pointer icheck => NULL()
 flag indicating if input should be checked (default is yes)
integer(i4b), pointer iconvchk => NULL()
 flag indicating of final convergence run is executed
integer(i4b), pointer gwfiss => NULL()
 groundwater model steady-state flag
integer(i4b), pointer ianynone => null()
 number of reaches with 'none' connection
real(dp), pointer unitconv => NULL()
 unit conversion factor (SI to model units)
real(dp), pointer lengthconv => NULL()
 length conversion factor (SI to model units)
real(dp), pointer timeconv => NULL()
 time conversion factor (SI to model units)
real(dp), pointer dmaxchg => NULL()
 maximum depth change allowed
real(dp), pointer deps => NULL()
 perturbation value
real(dp), pointer storage_weight => NULL()
 time weighting factor for kinematic wave approximation
integer(i4b), dimension(:), pointer, contiguous isfrorder => null()
 sfr reach order determined from DAG of upstream reaches
integer(i4b), dimension(:), pointer, contiguous ia => null()
 CRS row pointer for SFR reaches.
integer(i4b), dimension(:), pointer, contiguous ja => null()
 CRS column pointers for SFR reach connections.
real(dp), dimension(:), pointer, contiguous qoutflow => null()
 reach downstream flow
real(dp), dimension(:), pointer, contiguous qextoutflow => null()
 reach discharge to external boundary
real(dp), dimension(:), pointer, contiguous qauxcbc => null()
 aux value
real(dp), dimension(:), pointer, contiguous dbuff => null()
 temporary vector
type(budgetobjecttype), pointer budobj => null()
 SFR budget object.
type(tabletype), pointer stagetab => null()
 reach stage table written to the listing file
type(tabletype), pointer couranttab => null()
 Courant number table written to the listing file.
type(tabletype), pointer pakcsvtab => null()
 SFR package convergence table.
integer(i4b), dimension(:), pointer, contiguous iboundpak => null()
 ibound array for SFR reaches that defines active, inactive, and constant reaches
integer(i4b), dimension(:), pointer, contiguous igwfnode => null()
 groundwater node connected to SFR reaches
integer(i4b), dimension(:), pointer, contiguous igwftopnode => null()
 highest active groundwater node under SFR reaches
real(dp), dimension(:), pointer, contiguous length => null()
 reach length
real(dp), dimension(:), pointer, contiguous width => null()
 reach width
real(dp), dimension(:), pointer, contiguous strtop => null()
 reach bed top elevation
real(dp), dimension(:), pointer, contiguous bthick => null()
 reach bed thickness
real(dp), dimension(:), pointer, contiguous hk => null()
 vertical hydraulic conductivity of reach bed sediments
real(dp), dimension(:), pointer, contiguous slope => null()
 reach slope
integer(i4b), dimension(:), pointer, contiguous nconnreach => null()
 number of connections for each reach
real(dp), dimension(:), pointer, contiguous ustrf => null()
 upstream flow fraction for upstream connections
logical(lgp), dimension(:), pointer, contiguous bedk_set => null()
 reach has an active PERIOD BEDK override
logical(lgp), dimension(:), pointer, contiguous manning_set => null()
 reach has an active PERIOD MANNING override
logical(lgp), dimension(:), pointer, contiguous ustrf_set => null()
 reach has an active PERIOD UPSTREAM_FRACTION override
real(dp), dimension(:), pointer, contiguous ftotnd => null()
 total fraction of connected reaches that are not diversions
integer(i4b), dimension(:), pointer, contiguous ndiv => null()
 number of diversions for each reach
real(dp), dimension(:), pointer, contiguous usflow => null()
 upstream reach flow
real(dp), dimension(:), pointer, contiguous dsflow => null()
 downstream reach flow
real(dp), dimension(:), pointer, contiguous dsflowold => null()
 downstream reach flow for previous time step
real(dp), dimension(:), pointer, contiguous usinflow => null()
 upstream reach flow for previous time step
real(dp), dimension(:), pointer, contiguous usinflowold => null()
 upstream reach flow for previous time step
real(dp), dimension(:), pointer, contiguous xsaus => null()
 wetted area at the upstream inflow at the end of the last solve
real(dp), dimension(:), pointer, contiguous xsads => null()
 wetted area at the downstream flow at the end of the last solve
real(dp), dimension(:), pointer, contiguous xsausold => null()
 wetted area at the upstream inflow for previous time step
real(dp), dimension(:), pointer, contiguous xsadsold => null()
 wetted area at the downstream flow for previous time step
real(dp), pointer ats_courant => null()
 target Courant number for ATS time step submission
integer(i4b), dimension(:), pointer, contiguous itvd_upstream => null()
 upstream reach index for TVD limiter (0 = headwater or confluence)
real(dp), dimension(:), pointer, contiguous crmin => null()
 simulation-wide minimum Courant number per reach
real(dp), dimension(:), pointer, contiguous crmax => null()
 simulation-wide maximum Courant number per reach
real(dp), dimension(:), pointer, contiguous crsum => null()
 simulation-wide sum of Courant numbers per reach
integer(i4b), dimension(:), pointer, contiguous crcnt => null()
 simulation-wide count of non-zero Courant evaluations per reach
real(dp), dimension(:), pointer, contiguous depth => null()
 reach depth
real(dp), dimension(:), pointer, contiguous stage => null()
 reach stage
real(dp), dimension(:), pointer, contiguous stageold => null()
 reach stage for last timestep
real(dp), dimension(:), pointer, contiguous gwflow => null()
 flow from groundwater to reach
real(dp), dimension(:), pointer, contiguous simevap => null()
 simulated reach evaporation
real(dp), dimension(:), pointer, contiguous simrunoff => null()
 simulated reach runoff
real(dp), dimension(:), pointer, contiguous stage0 => null()
 previous reach stage iterate
real(dp), dimension(:), pointer, contiguous usflow0 => null()
 previous upstream reach flow iterate
real(dp), dimension(:), pointer, contiguous storage => null()
 previous upstream reach flow iterate
integer(i4b), pointer ncrossptstot => null()
 total number of cross-section points
integer(i4b), dimension(:), pointer, contiguous ncrosspts => null()
 number of cross-section points for each reach
integer(i4b), dimension(:), pointer, contiguous iacross => null()
 pointers to cross-section data for each reach
real(dp), dimension(:), pointer, contiguous station => null()
 cross-section station (x-position) data
real(dp), dimension(:), pointer, contiguous xsheight => null()
 cross-section height data
real(dp), dimension(:), pointer, contiguous xsrough => null()
 cross-section roughness data
integer(i4b), dimension(:), pointer, contiguous idir => null()
 reach connection direction
integer(i4b), dimension(:), pointer, contiguous idiv => null()
 reach connection diversion number
real(dp), dimension(:), pointer, contiguous qconn => null()
 reach connection flow
real(dp), dimension(:), pointer, contiguous rough => null()
 reach Manning's roughness coefficient (SI units)
real(dp), dimension(:), pointer, contiguous rain => null()
 reach rainfall
real(dp), dimension(:), pointer, contiguous evap => null()
 reach potential evaporation
real(dp), dimension(:), pointer, contiguous inflow => null()
 reach upstream inflow
real(dp), dimension(:), pointer, contiguous runoff => null()
 reach maximum runoff
real(dp), dimension(:), pointer, contiguous sstage => null()
 reach specified stage
integer(i4b), dimension(:), pointer, contiguous iadiv => null()
 row pointer for reach diversions
integer(i4b), dimension(:), pointer, contiguous divreach => null()
 diversion reach
character(len=10), dimension(:), pointer, contiguous divcprior => null()
 diversion rule
real(dp), dimension(:), pointer, contiguous divflow => null()
 specified diversion flow value
real(dp), dimension(:), pointer, contiguous divq => null()
 simulated diversion flow
integer(i4b), pointer idense
 flag indicating if density corrections are active
real(dp), dimension(:, :), pointer, contiguous denseterms => null()
 density terms
real(dp), dimension(:, :), pointer, contiguous viscratios => null()
 viscosity ratios (1: sfr vsc ratio; 2: gwf vsc ratio)
type(sfrinputtype) input
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 sfr_solve (this, n, h, hcof, rhs, update)
 Solve reach continuity equation.
procedure, private sfr_calc_constant sfr_calc_constant
 Method for solving for simple reaches.
procedure, private sfr_calc_transient sfr_calc_transient
 Method for solving for transient reaches.
procedure, private sfr_calc_tvd sfr_calc_tvd
 Kinematic-wave routing with TVD flux limiter.
procedure, private sfr_calc_celerity (this, n, q, celerity)
 Kinematic-wave celerity from a flow perturbation (0 if dry).
procedure, private sfr_calc_steady sfr_calc_steady
 Method for solving for standard reaches.
procedure, private sfr_precompute_tvd (this)
 Pre-compute the single upstream reach index for the TVD limiter.
procedure, private sfr_update_flows (this, n, qd, qgwf)
 Update flow terms.
procedure, private sfr_adjust_ro_ev (this, qc, qu, qi, qr, qro, qe, qfrommvr)
 Adjust runoff and evaporation.
procedure, private sfr_calc_qgwf (this, n, depth, hgwf, qgwf, gwfhcof, gwfrhs)
 Calculate reach-aquifer exchange.
procedure, private sfr_gwf_conn (this, n)
 Determine if a reach is connected to a gwf cell.
procedure, private sfr_calc_cond (this, n, depth, cond, hsfr, h_temp)
 Calculate reach-aquifer conductance.
procedure, private sfr_calc_qman (this, n, depth, qman)
 Calculate streamflow.
procedure, private sfr_calc_qd (this, n, depth, hgwf, qgwf, qd)
 Calculate downstream flow term.
procedure, private sfr_calc_qsource (this, n, depth, qsrc)
 Calculate sum of sources.
procedure, private sfr_calc_div (this, n, i, qd, qdiv)
 Calculate diversion flow.
procedure, private calc_area_wet (this, n, depth)
 Calculate wetted area.
procedure, private calc_perimeter_wet (this, n, depth)
 Calculate wetted perimeter.
procedure, private calc_surface_area (this, n)
 Calculate maximum surface area.
procedure, private calc_surface_area_wet (this, n, depth)
 Calculate wetted surface area.
procedure, private calc_top_width_wet (this, n, depth)
 Calculate wetted top width.
procedure, private sfr_source_packagedata (this)
 Source PACKAGEDATA block from input context.
procedure, private sfr_source_crosssections (this)
 Source CROSSSECTIONS block from input context.
procedure, private sfr_source_connectiondata (this)
 Source CONNECTIONDATA block from input context.
procedure, private sfr_source_diversions (this)
 Source DIVERSIONS block from input context.
procedure, private sfr_source_initialstages (this)
 Source INITIALSTAGES block from input context.
procedure, private sfr_calc_reach_depth (this, n, q1, d1)
 Calculate the depth at the midpoint.
procedure, private sfr_calc_xs_depth (this, n, qrch, d)
 Calculate the depth at the midpoint of a irregular cross-section.
procedure, private sfr_check_conversion (this)
 Check unit conversion data.
procedure, private sfr_check_storage_weight (this)
 Check storage weight.
procedure, private sfr_check_reaches (this)
 Check reach data.
procedure, private sfr_check_connections (this)
 Check connection data.
procedure, private sfr_check_diversions (this)
 Check diversions data.
procedure, private sfr_check_initialstages (this)
 Check initial stage data.
procedure, private sfr_check_ustrf (this)
 Check upstream fraction data.
procedure, private sfr_set_period_value (this, i, n, setting)
 Apply a PERIOD setting value to reach n.
procedure, private sfr_setup_budobj (this)
 Setup budget object for package.
procedure, private sfr_fill_budobj (this)
 Copy flow terms into budget object for package.
procedure, private sfr_setup_tableobj (this)
 Setup stage table object for package.
procedure, private sfr_calculate_density_exchange (this, n, stage, head, cond, tops, flow, gwfhcof, gwfrhs)
 Calculate density terms.
procedure, private pak_setup_outputtab (this)
 Setup output table for package.

Detailed Description

Definition at line 88 of file gwf-sfr.f90.

Member Function/Subroutine Documentation

◆ allocate_arrays() [1/2]

procedure bndextmodule::bndexttype::allocate_arrays ( class(bndexttype) this,
integer(i4b), dimension(:), optional, pointer, contiguous nodelist,
real(dp), dimension(:, :), optional, pointer, contiguous auxvar )
inherited

Allocate and initialize base boundary package arrays. This method only needs to be overridden if additional arrays are defined for a specific package.

Parameters
thisBndExtType object
nodelistpackage nodelist
auxvarpackage aux variable array

Definition at line 54 of file BoundaryPackageExt.f90.

◆ allocate_arrays() [2/2]

procedure bndmodule::bndtype::allocate_arrays ( class(bndtype) this,
integer(i4b), dimension(:), optional, pointer, contiguous nodelist,
real(dp), dimension(:, :), optional, pointer, contiguous auxvar )
inherited

Allocate and initialize base boundary package arrays. This method only needs to be overridden if additional arrays are defined for a specific package.

Parameters
thisBndType object
nodelistpackage nodelist
auxvarpackage aux variable array

Definition at line 140 of file BoundaryPackage.f90.

◆ allocate_featureauxvar()

procedure bndextmodule::bndexttype::allocate_featureauxvar ( class(bndexttype) this)
inherited
Parameters
thisBndExtType object

Definition at line 55 of file BoundaryPackageExt.f90.

◆ allocate_scalars() [1/3]

procedure bndextmodule::bndexttype::allocate_scalars ( class(bndexttype) this)
inherited

Allocate and initialize base boundary package scalars. This method only needs to be overridden if additional scalars are defined for a specific package.

Parameters
thisBndExtType object

Definition at line 53 of file BoundaryPackageExt.f90.

◆ allocate_scalars() [2/3]

procedure bndmodule::bndtype::allocate_scalars ( class(bndtype) this)
inherited

Allocate and initialize base boundary package scalars. This method only needs to be overridden if additional scalars are defined for a specific package.

Parameters
thisBndType object

Definition at line 139 of file BoundaryPackage.f90.

◆ allocate_scalars() [3/3]

procedure numericalpackagemodule::numericalpackagetype::allocate_scalars ( class(numericalpackagetype) this)
inherited

Allocate and initialize base numerical package scalars.

Parameters
thisNumericalPackageType object

Definition at line 54 of file NumericalPackage.f90.

◆ bnd_ac()

procedure bndmodule::bndtype::bnd_ac ( class(bndtype), intent(inout) this,
integer(i4b), intent(in) moffset,
type(sparsematrix), intent(inout) sparse )
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.

Parameters
[in,out]thisBndType object
[in]moffsetsolution matrix model offset
[in,out]sparsesparse object

Definition at line 117 of file BoundaryPackage.f90.

◆ bnd_activate_viscosity()

procedure, public bndmodule::bndtype::bnd_activate_viscosity ( class(bndtype), intent(inout) this)
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)

Parameters
[in,out]thisBndType object

Definition at line 165 of file BoundaryPackage.f90.

◆ bnd_ad() [1/3]

procedure bndextmodule::bndexttype::bnd_ad ( class(bndexttype) this)
inherited

Does not call thisTsManagerad()/thisTasManagerad() – those managers are unused by this type (see bndext_df).

Definition at line 47 of file BoundaryPackageExt.f90.

◆ bnd_ad() [2/3]

procedure bndmodule::bndtype::bnd_ad ( class(bndtype) this)
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.

Parameters
thisBndType object

Definition at line 121 of file BoundaryPackage.f90.

◆ bnd_ad() [3/3]

procedure sfrmodule::sfrtype::bnd_ad ( class(sfrtype) this)

Advance data in the SFR package. The method sets advances time series, time array series, and observation data.

Parameters
thisSfrType object

Definition at line 225 of file gwf-sfr.f90.

◆ bnd_ar() [1/2]

procedure bndmodule::bndtype::bnd_ar ( class(bndtype), intent(inout) this)
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.

Parameters
[in,out]thisBndType object

Definition at line 119 of file BoundaryPackage.f90.

◆ bnd_ar() [2/2]

procedure sfrmodule::sfrtype::bnd_ar ( class(sfrtype), intent(inout) this)

Method to read and prepare period data for the SFR package.

Parameters
[in,out]thisSfrType object

Definition at line 223 of file gwf-sfr.f90.

◆ bnd_bd()

procedure bndmodule::bndtype::bnd_bd ( class(bndtype) this,
type(budgettype), intent(inout) model_budget )
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.

Parameters
thisBndType object
[in,out]model_budgetmodel budget object

Definition at line 130 of file BoundaryPackage.f90.

◆ bnd_bd_obs() [1/2]

procedure, public bndmodule::bndtype::bnd_bd_obs ( class(bndtype) this)
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.

Parameters
thisBndType object

Definition at line 156 of file BoundaryPackage.f90.

◆ bnd_bd_obs() [2/2]

procedure, public sfrmodule::sfrtype::bnd_bd_obs ( class(sfrtype) this)

Method to save simulated values for the SFR package.

Parameters
thisSfrType object

Definition at line 242 of file gwf-sfr.f90.

◆ bnd_cc() [1/2]

procedure bndmodule::bndtype::bnd_cc ( class(bndtype), 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 )
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.

Parameters
[in,out]thisBndType object
[in]innertottotal number of inner iterations
[in]kiterPicard iteration number
[in]iendflag indicating if this is the last Picard iteration
[in]icnvgmodflag inficating if the model has met specific convergence criteria
[in,out]cpakstring for user node
[in,out]ipaklocation of the maximum dependent variable change
[in,out]dpakmaximum dependent variable change

Definition at line 128 of file BoundaryPackage.f90.

◆ bnd_cc() [2/2]

procedure sfrmodule::sfrtype::bnd_cc ( class(sfrtype), 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 )

Perform additional convergence checks on the flow between the SFR package and the model it is attached to.

Parameters
[in,out]thisSfrType object
[in]innertottotal number of inner iterations
[in]kiterPicard iteration number
[in]iendflag indicating if this is the last Picard iteration
[in]icnvgmodflag inficating if the model has met specific convergence criteria
[in,out]cpakstring for user node
[in,out]ipaklocation of the maximum dependent variable change
[in,out]dpakmaximum dependent variable change

Definition at line 229 of file gwf-sfr.f90.

◆ bnd_cf() [1/2]

procedure bndmodule::bndtype::bnd_cf ( class(bndtype) this)
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.

Parameters
thisBndType object

Definition at line 124 of file BoundaryPackage.f90.

◆ bnd_cf() [2/2]

procedure sfrmodule::sfrtype::bnd_cf ( class(sfrtype) this)

Formulate the hcof and rhs terms for the WEL package that will be added to the coefficient matrix and right-hand side vector.

Parameters
thisSfrType object

Definition at line 226 of file gwf-sfr.f90.

◆ bnd_ck()

procedure bndmodule::bndtype::bnd_ck ( class(bndtype), intent(inout) this)
inherited

Check the boundary package period data. Base implementation that must be extended by each model boundary package.

Parameters
[in,out]thisBndType object

Definition at line 122 of file BoundaryPackage.f90.

◆ bnd_cq() [1/2]

procedure bndmodule::bndtype::bnd_cq ( class(bndtype), intent(inout) this,
real(dp), dimension(:), intent(in) x,
real(dp), dimension(:), intent(inout), contiguous flowja,
integer(i4b), intent(in), optional iadv )
inherited

Calculate the flow between connected advanced package control volumes. Only advanced boundary packages need to override this method.

Parameters
[in,out]thisBndType object
[in]xcurrent dependent-variable value
[in,out]flowjaflow between two connected control volumes
[in]iadvflag that indicates if this is an advance package

Definition at line 129 of file BoundaryPackage.f90.

◆ bnd_cq() [2/2]

procedure sfrmodule::sfrtype::bnd_cq ( class(sfrtype), intent(inout) this,
real(dp), dimension(:), intent(in) x,
real(dp), dimension(:), intent(inout), contiguous flowja,
integer(i4b), intent(in), optional iadv )

Calculate the flow between connected SFR package control volumes.

Parameters
[in,out]thisSfrType object
[in]xcurrent dependent-variable value
[in,out]flowjaflow between two connected control volumes
[in]iadvflag that indicates if this is an advance package

Definition at line 230 of file gwf-sfr.f90.

◆ bnd_cq_simrate()

procedure bndmodule::bndtype::bnd_cq_simrate ( class(bndtype) this,
real(dp), dimension(:), intent(in) hnew,
real(dp), dimension(:), intent(inout) flowja,
integer(i4b), intent(in) imover )
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.

Parameters
thisBndType object
[in]hnewcurrent dependent-variable value
[in,out]flowjaflow between package and model
[in]imoverflag indicating if the mover package is active

Definition at line 146 of file BoundaryPackage.f90.

◆ bnd_cq_simtomvr()

procedure bndmodule::bndtype::bnd_cq_simtomvr ( class(bndtype) this,
real(dp), dimension(:), intent(inout) flowja )
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.

Parameters
thisBndType object
[in,out]flowjaflow between package and model

Definition at line 147 of file BoundaryPackage.f90.

◆ bnd_da() [1/3]

procedure bndextmodule::bndexttype::bnd_da ( class(bndexttype) this)
inherited
Parameters
thisBndExtType object

Definition at line 52 of file BoundaryPackageExt.f90.

◆ bnd_da() [2/3]

procedure bndmodule::bndtype::bnd_da ( class(bndtype) this)
inherited

Deallocate base boundary package scalars and arrays. This method only needs to be overridden if additional variables are defined for a specific package.

Parameters
thisBndType object

Definition at line 137 of file BoundaryPackage.f90.

◆ bnd_da() [3/3]

procedure sfrmodule::sfrtype::bnd_da ( class(sfrtype) this)

Deallocate SFR package scalars and arrays.

Parameters
thisSfrType object

Definition at line 236 of file gwf-sfr.f90.

◆ bnd_df() [1/2]

procedure bndextmodule::bndexttype::bnd_df ( class(bndexttype), intent(inout) this,
integer(i4b), intent(inout) neq,
class(disbasetype), pointer dis )
inherited

Define base boundary package options and dimensions for a model boundary package.

Parameters
[in,out]thisBndExtType object
[in,out]neqnumber of equations
disdiscretization object

Definition at line 46 of file BoundaryPackageExt.f90.

◆ bnd_df() [2/2]

procedure, public bndmodule::bndtype::bnd_df ( class(bndtype), intent(inout) this,
integer(i4b), intent(inout) neq,
class(disbasetype), pointer dis )
inherited

Define base boundary package options and dimensions for a model boundary package.

Parameters
[in,out]thisBndType object
[in,out]neqnumber of equations
disdiscretization object

Definition at line 116 of file BoundaryPackage.f90.

◆ bnd_df_obs() [1/2]

procedure, public bndmodule::bndtype::bnd_df_obs ( class(bndtype) this)
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.

Parameters
thisBndType object

Definition at line 155 of file BoundaryPackage.f90.

◆ bnd_df_obs() [2/2]

procedure, public sfrmodule::sfrtype::bnd_df_obs ( class(sfrtype) this)

Method to define the observation types available in the SFR package.

Parameters
thisSfrType object

Definition at line 240 of file gwf-sfr.f90.

◆ bnd_dt() [1/2]

procedure bndmodule::bndtype::bnd_dt ( class(bndtype) this)
inherited
Parameters
thisBndType object

Definition at line 135 of file BoundaryPackage.f90.

◆ bnd_dt() [2/2]

procedure sfrmodule::sfrtype::bnd_dt ( class(sfrtype) this)
Parameters
thisSfrType object

Definition at line 234 of file gwf-sfr.f90.

◆ bnd_fc() [1/2]

procedure bndmodule::bndtype::bnd_fc ( class(bndtype) this,
real(dp), dimension(:), intent(inout) rhs,
integer(i4b), dimension(:), intent(in) ia,
integer(i4b), dimension(:), intent(in) idxglo,
class(matrixbasetype), pointer matrix_sln )
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.

Parameters
thisBndType object
[in,out]rhsright-hand side vector for model
[in]iasolution CRS row pointers
[in]idxglomapping vector for model (local) to solution (global)
matrix_slnsolution coefficient matrix

Definition at line 125 of file BoundaryPackage.f90.

◆ bnd_fc() [2/2]

procedure sfrmodule::sfrtype::bnd_fc ( class(sfrtype) this,
real(dp), dimension(:), intent(inout) rhs,
integer(i4b), dimension(:), intent(in) ia,
integer(i4b), dimension(:), intent(in) idxglo,
class(matrixbasetype), pointer matrix_sln )

Add the hcof and rhs terms for the SFR package to the coefficient matrix and right-hand side vector.

Parameters
thisSfrType object
[in,out]rhsright-hand side vector for model
[in]iasolution CRS row pointers
[in]idxglomapping vector for model (local) to solution (global)
matrix_slnsolution coefficient matrix

Definition at line 227 of file gwf-sfr.f90.

◆ bnd_fn() [1/2]

procedure bndmodule::bndtype::bnd_fn ( class(bndtype) this,
real(dp), dimension(:), intent(inout) rhs,
integer(i4b), dimension(:), intent(in) ia,
integer(i4b), dimension(:), intent(in) idxglo,
class(matrixbasetype), pointer matrix_sln )
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.

Parameters
thisBndType object
[in,out]rhsright-hand side vector for model
[in]iasolution CRS row pointers
[in]idxglomapping vector for model (local) to solution (global)
matrix_slnsolution coefficient matrix

Definition at line 126 of file BoundaryPackage.f90.

◆ bnd_fn() [2/2]

procedure sfrmodule::sfrtype::bnd_fn ( class(sfrtype) this,
real(dp), dimension(:), intent(inout) rhs,
integer(i4b), dimension(:), intent(in) ia,
integer(i4b), dimension(:), intent(in) idxglo,
class(matrixbasetype), pointer matrix_sln )

Calculate and add the Newton-Raphson terms for the SFR package to the coefficient matrix and right-hand side vector.

Parameters
thisSfrType object
[in,out]rhsright-hand side vector for model
[in]iasolution CRS row pointers
[in]idxglomapping vector for model (local) to solution (global)
matrix_slnsolution coefficient matrix

Definition at line 228 of file gwf-sfr.f90.

◆ bnd_fp() [1/2]

procedure bndmodule::bndtype::bnd_fp ( class(bndtype) this)
inherited
Parameters
thisBndType object

Definition at line 136 of file BoundaryPackage.f90.

◆ bnd_fp() [2/2]

procedure sfrmodule::sfrtype::bnd_fp ( class(sfrtype) this)
Parameters
thisSfrType object

Definition at line 235 of file gwf-sfr.f90.

◆ bnd_mc()

procedure bndmodule::bndtype::bnd_mc ( class(bndtype), intent(inout) this,
integer(i4b), intent(in) moffset,
class(matrixbasetype), pointer matrix_sln )
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.

Parameters
[in,out]thisBndType object
[in]moffsetsolution matrix model offset
matrix_slnglobal system matrix

Definition at line 118 of file BoundaryPackage.f90.

◆ bnd_nur()

procedure bndmodule::bndtype::bnd_nur ( class(bndtype), 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 )
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.

Parameters
[in,out]thisBndType object
[in]neqpaknumber of equations in the package
[in,out]xdependent variable
[in]xtempprevious dependent variable
[in,out]dxchange in dependent variable
[in,out]inewtonurflag indicating if newton-raphson under-relaxation should be applied
[in,out]dxmaxmaximum change in the dependent variable
[in,out]locmaxlocation of the maximum change in the dependent variable

Definition at line 127 of file BoundaryPackage.f90.

◆ bnd_obs_supported() [1/2]

procedure, public bndmodule::bndtype::bnd_obs_supported ( class(bndtype) this)
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.

Returns
supported boolean indicating if observations are supported
boolean indicating if observations are supported
Parameters
thisBndType object

Definition at line 154 of file BoundaryPackage.f90.

◆ bnd_obs_supported() [2/2]

procedure, public sfrmodule::sfrtype::bnd_obs_supported ( class(sfrtype) this)

Function to determine if observations are supported by the SFR package. Observations are supported by the SFR package.

Returns
sfr_obs_supported boolean indicating if observations are supported
Parameters
thisSfrType object

Definition at line 239 of file gwf-sfr.f90.

◆ bnd_options()

procedure bndmodule::bndtype::bnd_options ( class(bndtype), intent(inout) this,
character(len=*), intent(inout) option,
logical(lgp), intent(inout) found )
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.

Parameters
[in,out]thisBndType object
[in,out]optionoption keyword string
[in,out]foundboolean indicating if the option was found

Definition at line 145 of file BoundaryPackage.f90.

◆ bnd_ot_bdsummary() [1/2]

procedure bndmodule::bndtype::bnd_ot_bdsummary ( class(bndtype) this,
integer(i4b), intent(in) kstp,
integer(i4b), intent(in) kper,
integer(i4b), intent(in) iout,
integer(i4b), intent(in) ibudfl )
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.

Parameters
thisBndType object
[in]kstptime step number
[in]kperperiod number
[in]ioutflag and unit number for the model listing file
[in]ibudflflag indicating budget should be written

Definition at line 134 of file BoundaryPackage.f90.

◆ bnd_ot_bdsummary() [2/2]

procedure sfrmodule::sfrtype::bnd_ot_bdsummary ( class(sfrtype) this,
integer(i4b), intent(in) kstp,
integer(i4b), intent(in) kper,
integer(i4b), intent(in) iout,
integer(i4b), intent(in) ibudfl )

Output SFR package budget summary.

Parameters
thisSfrType object
[in]kstptime step number
[in]kperperiod number
[in]ioutflag and unit number for the model listing file
[in]ibudflflag indicating budget should be written

Definition at line 233 of file gwf-sfr.f90.

◆ bnd_ot_dv() [1/2]

procedure bndmodule::bndtype::bnd_ot_dv ( class(bndtype) this,
integer(i4b), intent(in) idvsave,
integer(i4b), intent(in) idvprint )
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.

Parameters
thisBndType object
[in]idvsaveflag and unit number for dependent-variable output
[in]idvprintflag indicating if dependent-variable should be written to the model listing file

Definition at line 133 of file BoundaryPackage.f90.

◆ bnd_ot_dv() [2/2]

procedure sfrmodule::sfrtype::bnd_ot_dv ( class(sfrtype) this,
integer(i4b), intent(in) idvsave,
integer(i4b), intent(in) idvprint )

Output SFR boundary package dependent-variable terms.

Parameters
thisSfrType object
[in]idvsaveflag and unit number for dependent-variable output
[in]idvprintflag indicating if dependent-variable should be written to the model listing file

Definition at line 232 of file gwf-sfr.f90.

◆ bnd_ot_model_flows()

procedure bndmodule::bndtype::bnd_ot_model_flows ( class(bndtype) this,
integer(i4b), intent(in) icbcfl,
integer(i4b), intent(in) ibudfl,
integer(i4b), intent(in) icbcun,
integer(i4b), dimension(:), intent(in), optional imap )
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.

Parameters
thisBndType object
[in]icbcflflag for cell-by-cell output
[in]ibudflflag indication if cell-by-cell data should be saved
[in]icbcununit number for cell-by-cell output
[in]imapmapping vector that converts the 1 to nbound values to lake number, maw number, etc.

Definition at line 131 of file BoundaryPackage.f90.

◆ bnd_ot_obs()

procedure, public bndmodule::bndtype::bnd_ot_obs ( class(bndtype) this)
inherited

Method to output simulated values for the boundary package. This method should not need to be overridden.

Parameters
thisBndType object

Definition at line 157 of file BoundaryPackage.f90.

◆ bnd_ot_package_flows() [1/2]

procedure bndmodule::bndtype::bnd_ot_package_flows ( class(bndtype) this,
integer(i4b), intent(in) icbcfl,
integer(i4b), intent(in) ibudfl )
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.

Parameters
thisBndType object
[in]icbcflflag and unit number for cell-by-cell output
[in]ibudflflag indication if cell-by-cell data should be saved

Definition at line 132 of file BoundaryPackage.f90.

◆ bnd_ot_package_flows() [2/2]

procedure sfrmodule::sfrtype::bnd_ot_package_flows ( class(sfrtype) this,
integer(i4b), intent(in) icbcfl,
integer(i4b), intent(in) ibudfl )

Output SFR package flow terms.

Parameters
thisSfrType object
[in]icbcflflag and unit number for cell-by-cell output
[in]ibudflflag indication if cell-by-cell data should be saved

Definition at line 231 of file gwf-sfr.f90.

◆ bnd_reset()

procedure bndmodule::bndtype::bnd_reset ( class(bndtype) this)
inherited
Parameters
thisBndType object

Definition at line 123 of file BoundaryPackage.f90.

◆ bnd_rp() [1/3]

procedure bndextmodule::bndexttype::bnd_rp ( class(bndexttype), intent(inout) this)
inherited
Parameters
[in,out]thisBndExtType object

Definition at line 48 of file BoundaryPackageExt.f90.

◆ bnd_rp() [2/3]

procedure bndmodule::bndtype::bnd_rp ( class(bndtype), intent(inout) this)
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.

Parameters
[in,out]thisBndType object

Definition at line 120 of file BoundaryPackage.f90.

◆ bnd_rp() [3/3]

procedure sfrmodule::sfrtype::bnd_rp ( class(sfrtype), intent(inout) this)

Method to read and prepare period data for the SFR package.

Parameters
[in,out]thisSfrType object

Definition at line 224 of file gwf-sfr.f90.

◆ bnd_rp_log() [1/2]

procedure bndextmodule::bndexttype::bnd_rp_log ( class(bndexttype), intent(inout) this)
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.

◆ bnd_rp_log() [2/2]

procedure, public bndmodule::bndtype::bnd_rp_log ( class(bndtype), intent(inout) this)
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.

◆ bnd_rp_obs() [1/2]

procedure, public bndmodule::bndtype::bnd_rp_obs ( class(bndtype), intent(inout) this)
inherited

Method to read and prepare observations for a boundary package This method should not need to be overridden for most boundary packages.

Parameters
[in,out]thisBndType object

Definition at line 158 of file BoundaryPackage.f90.

◆ bnd_rp_obs() [2/2]

procedure, public sfrmodule::sfrtype::bnd_rp_obs ( class(sfrtype), intent(inout) this)

Method to read and prepare observations for a SFR package.

Parameters
[in,out]thisSfrType object

Definition at line 241 of file gwf-sfr.f90.

◆ bnd_rp_ts()

procedure, public bndmodule::bndtype::bnd_rp_ts ( class(bndtype), intent(inout) this)
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.

◆ bound_value()

procedure bndextmodule::bndexttype::bound_value ( class(bndexttype), intent(inout) this,
integer(i4b), intent(in) col,
integer(i4b), intent(in) row )
inherited

Return a bound value associated with an ncolbnd index and row. This function should be overridden in the derived package class.

Parameters
[in,out]thisBndExtType object

Definition at line 65 of file BoundaryPackageExt.f90.

◆ calc_area_wet()

procedure, private sfrmodule::sfrtype::calc_area_wet ( class(sfrtype) this,
integer(i4b), intent(in) n,
real(dp), intent(in) depth )
private

Function to calculate the wetted area for a SFR package reach.

Returns
wetted area
Parameters
thisSfrType object
[in]nreach number
[in]depthreach depth

Definition at line 283 of file gwf-sfr.f90.

◆ calc_perimeter_wet()

procedure, private sfrmodule::sfrtype::calc_perimeter_wet ( class(sfrtype) this,
integer(i4b), intent(in) n,
real(dp), intent(in) depth )
private

Function to calculate the wetted perimeter for a SFR package reach.

Returns
wetted perimeter
Parameters
thisSfrType object
[in]nreach number
[in]depthreach depth

Definition at line 284 of file gwf-sfr.f90.

◆ calc_surface_area()

procedure, private sfrmodule::sfrtype::calc_surface_area ( class(sfrtype) this,
integer(i4b), intent(in) n )
private

Function to calculate the maximum surface area for a SFR package reach.

Returns
surface area
Parameters
thisSfrType object
[in]nreach number

Definition at line 285 of file gwf-sfr.f90.

◆ calc_surface_area_wet()

procedure, private sfrmodule::sfrtype::calc_surface_area_wet ( class(sfrtype) this,
integer(i4b), intent(in) n,
real(dp), intent(in) depth )
private

Function to calculate the wetted surface area for a SFR package reach.

Returns
wetted surface area
Parameters
thisSfrType object
[in]nreach number
[in]depthreach depth

Definition at line 286 of file gwf-sfr.f90.

◆ calc_top_width_wet()

procedure, private sfrmodule::sfrtype::calc_top_width_wet ( class(sfrtype) this,
integer(i4b), intent(in) n,
real(dp), intent(in) depth )
private

Function to calculate the wetted top width for a SFR package reach.

Returns
wetted top width
Parameters
thisSfrType object
[in]nreach number
[in]depthreach depth

Definition at line 287 of file gwf-sfr.f90.

◆ cellid_to_nlist()

procedure bndextmodule::bndexttype::cellid_to_nlist ( class(bndexttype) this)
inherited

Convert period updated cellids to node numbers.

Parameters
thisBndExtType object

Definition at line 59 of file BoundaryPackageExt.f90.

◆ check_cellid()

procedure bndextmodule::bndexttype::check_cellid ( class(bndexttype) this,
integer(i4b), intent(in) ii,
integer(i4b), dimension(:), intent(in) cellid,
integer(i4b), dimension(:), intent(in) mshape,
integer(i4b), intent(in) ndim )
inherited
Parameters
thisBndExtType object
[in]mshapemodel shape
[in]ndimsize of mshape

Definition at line 63 of file BoundaryPackageExt.f90.

◆ copy_boundname()

procedure bndmodule::bndtype::copy_boundname ( class(bndtype), intent(inout) this)
inherited

boundnames_cst is an array of type(CharacterStringType), which can be stored in the MemoryManager.

Parameters
[in,out]thisBndType object

Definition at line 150 of file BoundaryPackage.f90.

◆ da()

procedure numericalpackagemodule::numericalpackagetype::da ( class(numericalpackagetype) this)
inherited

Deallocate and initialize base numerical package scalars.

Parameters
thisNumericalPackageType object

Definition at line 55 of file NumericalPackage.f90.

◆ default_nodelist()

procedure bndextmodule::bndexttype::default_nodelist ( class(bndexttype) this)
inherited

Equivalent to reading layer number array as CONSTANT 1

Definition at line 62 of file BoundaryPackageExt.f90.

◆ define_listlabel() [1/2]

procedure bndmodule::bndtype::define_listlabel ( class(bndtype), intent(inout) this)
inherited

Method defined the list label for the boundary package. This method needs to be overridden by each boundary package.

Parameters
[in,out]thisBndType object

Definition at line 149 of file BoundaryPackage.f90.

◆ define_listlabel() [2/2]

procedure sfrmodule::sfrtype::define_listlabel ( class(sfrtype), intent(inout) this)

Method defined the list label for the SFR package. The list label is the heading that is written to iout when PRINT_INPUT option is used.

Parameters
[in,out]thisSfrType object

Definition at line 237 of file gwf-sfr.f90.

◆ get_block_data()

procedure numericalpackagemodule::numericalpackagetype::get_block_data ( class(numericalpackagetype) this,
character(len=24), dimension(:), intent(in) tags,
logical, dimension(:), intent(inout) lfound,
character(len=24), dimension(:), intent(in), optional varinames )
inherited

Generic method to read data in the GRIDDATA block for a package.

Parameters
thisNumericalPackageType object
[in]tagsvector with variable tags
[in,out]lfoundboolean vector indicating of a variable tag was found
[in]varinamesoptional vector of variable names

Definition at line 57 of file NumericalPackage.f90.

◆ layarr_to_nlist()

procedure bndextmodule::bndexttype::layarr_to_nlist ( class(bndexttype) this)
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.

Parameters
thisBndExtType object

Definition at line 61 of file BoundaryPackageExt.f90.

◆ log_options()

procedure bndextmodule::bndexttype::log_options ( class(bndexttype), intent(inout) this,
type(bndextfoundtype), intent(in) found,
character(len=*), intent(in) sfacauxname )
inherited
Parameters
[in,out]thisBndExtType object

Definition at line 57 of file BoundaryPackageExt.f90.

◆ nodeu_to_nlist()

procedure bndextmodule::bndexttype::nodeu_to_nlist ( class(bndexttype) this)
inherited

Convert period user nodes to reduced nodes. Inactive cells are excluded by the input loader.

Parameters
thisBndExtType object

Definition at line 60 of file BoundaryPackageExt.f90.

◆ pack_initialize()

procedure bndmodule::bndtype::pack_initialize ( class(bndtype) this)
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.

Parameters
thisBndType object

Definition at line 141 of file BoundaryPackage.f90.

◆ pak_setup_outputtab()

procedure, private bndmodule::bndtype::pak_setup_outputtab ( class(bndtype), intent(inout) this)
privateinherited

Setup output table for a boundary package that is used to output package to model flow terms to the model listing file.

Parameters
[in,out]thisBndType object

Definition at line 151 of file BoundaryPackage.f90.

◆ read_check_ionper()

procedure numericalpackagemodule::numericalpackagetype::read_check_ionper ( class(numericalpackagetype), intent(inout) this)
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.

Parameters
[in,out]thisNumericalPackageType object

Definition at line 56 of file NumericalPackage.f90.

◆ read_dimensions()

procedure bndmodule::bndtype::read_dimensions ( class(bndtype), intent(inout) this)
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.

Parameters
[in,out]thisBndType object

Definition at line 143 of file BoundaryPackage.f90.

◆ read_initial_attr()

procedure bndmodule::bndtype::read_initial_attr ( class(bndtype), intent(inout) this)
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.

Parameters
[in,out]thisBndType object

Definition at line 144 of file BoundaryPackage.f90.

◆ read_options()

procedure bndmodule::bndtype::read_options ( class(bndtype), intent(inout) this)
inherited

Read base options for boundary packages.

Parameters
[in,out]thisBndType object

Definition at line 142 of file BoundaryPackage.f90.

◆ report_ifno_coverage()

procedure bndextmodule::bndexttype::report_ifno_coverage ( class(bndexttype), intent(inout) this,
integer(i4b), dimension(:), intent(in) nboundchk,
integer(i4b), intent(in) nfeatures,
character(len=*), intent(in) feature_label,
character(len=*), intent(in) blockname,
logical(lgp), intent(in), optional check_missing )
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.

◆ set_names()

procedure numericalpackagemodule::numericalpackagetype::set_names ( class(numericalpackagetype), intent(inout) this,
integer(i4b), intent(in) ibcnum,
character(len=*), intent(in) name_model,
character(len=*), intent(in) pakname,
character(len=*), intent(in) ftype,
character(len=*), intent(in), optional input_mempath )
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.

Parameters
[in,out]thisNumericalPackageType object
[in]ibcnumunique package number
[in]name_modelname of the model
[in]paknamename of the package
[in]ftypepackage type

Definition at line 53 of file NumericalPackage.f90.

◆ set_pointers()

procedure bndmodule::bndtype::set_pointers ( class(bndtype) 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 )
inherited

Set pointers to model variables so that a package has access to these variables. This base method should not need to be overridden.

Parameters
thisBndType object
neqnumber of equations in the model
iboundmodel idomain
xnewcurrent dependent variable
xoldprevious dependent variable
flowjaconnection flow terms

Definition at line 148 of file BoundaryPackage.f90.

◆ sfr_activate_density()

procedure sfrmodule::sfrtype::sfr_activate_density ( class(sfrtype), intent(inout) this)

Method to activate addition of density terms for a SFR package reach.

Parameters
[in,out]thisSfrType object

Definition at line 312 of file gwf-sfr.f90.

◆ sfr_activate_viscosity()

procedure sfrmodule::sfrtype::sfr_activate_viscosity ( class(sfrtype), intent(inout) this)

Method to activate addition of viscosity terms for exchange with groundwater along a SFR package reach.

Parameters
[in,out]thisSfrType object

Definition at line 315 of file gwf-sfr.f90.

◆ sfr_adjust_ro_ev()

procedure, private sfrmodule::sfrtype::sfr_adjust_ro_ev ( class(sfrtype) this,
real(dp), intent(inout) qc,
real(dp), intent(in) qu,
real(dp), intent(in) qi,
real(dp), intent(in) qr,
real(dp), intent(inout) qro,
real(dp), intent(inout) qe,
real(dp), intent(in) qfrommvr )
private

Method to adjust runoff and evaporation for a SFR package reach based on the total reach flow.

Parameters
thisSfrType object
[in,out]qctotal reach volumetric flow
[in]quupstream reach volumetric flow
[in]qireach volumetric inflow
[in]qrreach volumetric rainfall
[in,out]qroreach volumetric runoff
[in,out]qereach volumetric evaporation
[in]qfrommvrreach volumetric flow from mover

Definition at line 274 of file gwf-sfr.f90.

◆ sfr_allocate_arrays()

procedure sfrmodule::sfrtype::sfr_allocate_arrays ( class(sfrtype), intent(inout) this)

Allocate and initialize array for the SFR package.

Parameters
[in,out]thisSfrType object

Definition at line 217 of file gwf-sfr.f90.

◆ sfr_allocate_scalars()

procedure sfrmodule::sfrtype::sfr_allocate_scalars ( class(sfrtype), intent(inout) this)

Allocate and initialize scalars for the SFR package. The base model allocate scalars method is also called.

Parameters
[in,out]thisSfrType object

Definition at line 216 of file gwf-sfr.f90.

◆ sfr_calc_celerity()

procedure, private sfrmodule::sfrtype::sfr_calc_celerity ( class(sfrtype) this,
integer(i4b), intent(in) n,
real(dp), intent(in) q,
real(dp), intent(out) celerity )
private
Parameters
thisSfrType object
[in]nreach number
[in]qreach flow
[out]celeritykinematic-wave celerity

Definition at line 265 of file gwf-sfr.f90.

◆ sfr_calc_cond()

procedure, private sfrmodule::sfrtype::sfr_calc_cond ( class(sfrtype) this,
integer(i4b), intent(in) n,
real(dp), intent(in) depth,
real(dp), intent(inout) cond,
real(dp), intent(in), optional hsfr,
real(dp), intent(in), optional h_temp )
private

Method to calculate the reach-aquifer conductance for a SFR package reach.

Parameters
thisSfrType object
[in]nreach number
[in]depthreach depth
[in,out]condreach-aquifer conductance
[in]hsfrstream stage
[in]h_temphead in gw cell

Definition at line 277 of file gwf-sfr.f90.

◆ sfr_calc_constant()

procedure, private sfrmodule::sfrtype::sfr_calc_constant
private

Method to solve the continuity equation for a SFR package reach using the simple approach.

Definition at line 251 of file gwf-sfr.f90.

◆ sfr_calc_div()

procedure, private sfrmodule::sfrtype::sfr_calc_div ( class(sfrtype) this,
integer(i4b), intent(in) n,
integer(i4b), intent(in) i,
real(dp), intent(inout) qd,
real(dp), intent(inout) qdiv )
private

Method to calculate the diversion flow for a diversion connected to a SFR package reach. The downstream flow for a reach is passed in and adjusted by the diversion flow amount calculated in this method.

Parameters
thisSfrType object
[in]nreach number
[in]idiversion number in reach
[in,out]qdremaining downstream flow for reach
[in,out]qdivdiversion flow for diversion i

Definition at line 281 of file gwf-sfr.f90.

◆ sfr_calc_qd()

procedure, private sfrmodule::sfrtype::sfr_calc_qd ( class(sfrtype) this,
integer(i4b), intent(in) n,
real(dp), intent(in) depth,
real(dp), intent(in) hgwf,
real(dp), intent(inout) qgwf,
real(dp), intent(inout) qd )
private

Method to calculate downstream flow for a SFR package reach.

Parameters
thisSfrType object
[in]nreach number
[in]depthreach depth
[in]hgwfgroundwater head in connected GWF cell
[in,out]qgwfgroundwater leakage for reach
[in,out]qdresidual

Definition at line 279 of file gwf-sfr.f90.

◆ sfr_calc_qgwf()

procedure, private sfrmodule::sfrtype::sfr_calc_qgwf ( class(sfrtype) this,
integer(i4b), intent(in) n,
real(dp), intent(in) depth,
real(dp), intent(in) hgwf,
real(dp), intent(inout) qgwf,
real(dp), intent(inout), optional gwfhcof,
real(dp), intent(inout), optional gwfrhs )
private

Method to calculate the reach-aquifer exchange for a SFR package reach. The reach-aquifer exchange is relative to the reach. Calculated flow is positive if flow is from the aquifer to the reach.

Parameters
thisSfrType object
[in]nreach number
[in]depthreach depth
[in]hgwfhead in GWF cell connected to reach
[in,out]qgwfreach-aquifer exchange
[in,out]gwfhcofdiagonal coefficient term for reach
[in,out]gwfrhsright-hand side term for reach

Definition at line 275 of file gwf-sfr.f90.

◆ sfr_calc_qman()

procedure, private sfrmodule::sfrtype::sfr_calc_qman ( class(sfrtype) this,
integer(i4b), intent(in) n,
real(dp), intent(in) depth,
real(dp), intent(inout) qman )
private

Method to calculate the streamflow using Manning's equation for a SFR package reach.

Parameters
thisSfrType object
[in]nreach number
[in]depthreach depth
[in,out]qmanstreamflow

Definition at line 278 of file gwf-sfr.f90.

◆ sfr_calc_qsource()

procedure, private sfrmodule::sfrtype::sfr_calc_qsource ( class(sfrtype) this,
integer(i4b), intent(in) n,
real(dp), intent(in) depth,
real(dp), intent(inout) qsrc )
private

Method to calculate the sum of sources for reach, excluding reach leakage, for a SFR package reach.

Parameters
thisSfrType object
[in]nreach number
[in]depthreach depth
[in,out]qsrcsum of sources for reach

Definition at line 280 of file gwf-sfr.f90.

◆ sfr_calc_reach_depth()

procedure, private sfrmodule::sfrtype::sfr_calc_reach_depth ( class(sfrtype) this,
integer(i4b), intent(in) n,
real(dp), intent(in) q1,
real(dp), intent(inout) d1 )
private

Method to calculate the depth at the midpoint of a reach.

Parameters
thisSfrType object
[in]nreach number
[in]q1streamflow
[in,out]d1stream depth at midpoint of reach

Definition at line 295 of file gwf-sfr.f90.

◆ sfr_calc_steady()

procedure, private sfrmodule::sfrtype::sfr_calc_steady
private

Method to solve the continuity equation for a SFR package reach using the standard approach.

Definition at line 271 of file gwf-sfr.f90.

◆ sfr_calc_transient()

procedure, private sfrmodule::sfrtype::sfr_calc_transient
private

Method to solve the continuity equation for a SFR package reach using the kinematic wave approximation.

Definition at line 257 of file gwf-sfr.f90.

◆ sfr_calc_tvd()

procedure, private sfrmodule::sfrtype::sfr_calc_tvd
private

Explicit van Leer TVD update of the continuity equation with exact volume balance; reverts to first-order upwind for Cr > 1 and at confluences.

Definition at line 264 of file gwf-sfr.f90.

◆ sfr_calc_xs_depth()

procedure, private sfrmodule::sfrtype::sfr_calc_xs_depth ( class(sfrtype) this,
integer(i4b), intent(in) n,
real(dp), intent(in) qrch,
real(dp), intent(inout) d )
private

Method to calculate the depth at the midpoint of a reach with a irregular cross-section using Newton-Raphson.

Parameters
thisSfrType object
[in]nreach number
[in]qrchstreamflow
[in,out]dstream depth at midpoint of reach

Definition at line 296 of file gwf-sfr.f90.

◆ sfr_calculate_density_exchange()

procedure, private sfrmodule::sfrtype::sfr_calculate_density_exchange ( class(sfrtype), intent(inout) this,
integer(i4b), intent(in) n,
real(dp), intent(in) stage,
real(dp), intent(in) head,
real(dp), intent(in) cond,
real(dp), intent(in) tops,
real(dp), intent(inout) flow,
real(dp), intent(inout) gwfhcof,
real(dp), intent(inout) gwfrhs )
private

Method to calculate groundwater-reach density exchange terms for a SFR package reach.

Member variable used here denseterms : shape (3, MAXBOUND), filled by buoyancy package col 1 is relative density of sfr (densesfr / denseref) col 2 is relative density of gwf cell (densegwf / denseref) col 3 is elevation of gwf cell

Parameters
[in,out]thisSfrType object
[in]nreach number
[in]stagereach stage
[in]headhead in connected GWF cell
[in]condreach conductance
[in]topstop elevation of streambed
[in,out]flowcalculated flow, updated here with density terms
[in,out]gwfhcofGWF diagonal coefficient, updated here with density terms
[in,out]gwfrhsGWF right-hand-side value, updated here with density terms

Definition at line 313 of file gwf-sfr.f90.

◆ sfr_check_connections()

procedure, private sfrmodule::sfrtype::sfr_check_connections ( class(sfrtype) this)
private

Method to check connection data for a SFR package. This method also creates the tables used to print input data, if this option in enabled in the SFR package.

Parameters
thisSfrType object

Definition at line 301 of file gwf-sfr.f90.

◆ sfr_check_conversion()

procedure, private sfrmodule::sfrtype::sfr_check_conversion ( class(sfrtype) this)
private

Method to check unit conversion data for a SFR package. This method also calculates unitconv that is used in the Manning's equation.

Parameters
thisSfrType object

Definition at line 298 of file gwf-sfr.f90.

◆ sfr_check_diversions()

procedure, private sfrmodule::sfrtype::sfr_check_diversions ( class(sfrtype) this)
private

Method to check diversion data for a SFR package. This method also creates the tables used to print input data, if this option in enabled in the SFR package.

Parameters
thisSfrType object

Definition at line 302 of file gwf-sfr.f90.

◆ sfr_check_initialstages()

procedure, private sfrmodule::sfrtype::sfr_check_initialstages ( class(sfrtype) this)
private

Method to check initial data for a SFR package and calculates the initial upstream and downstream flows for the reach based on the initial staalso creates the tables used to print input data, if this option in enabled in the SFR package.

Parameters
thisSfrType object

Definition at line 303 of file gwf-sfr.f90.

◆ sfr_check_reaches()

procedure, private sfrmodule::sfrtype::sfr_check_reaches ( class(sfrtype) this)
private

Method to check specified data for a SFR package. This method also creates the tables used to print input data, if this option in enabled in the SFR package.

Parameters
thisSfrType object

Definition at line 300 of file gwf-sfr.f90.

◆ sfr_check_storage_weight()

procedure, private sfrmodule::sfrtype::sfr_check_storage_weight ( class(sfrtype) this)
private

Method to check the kinematic storage weight for a SFR package. If the kinematic storage weight has not been set it is set to the default value.

Parameters
thisSfrType object

Definition at line 299 of file gwf-sfr.f90.

◆ sfr_check_ustrf()

procedure, private sfrmodule::sfrtype::sfr_check_ustrf ( class(sfrtype) this)
private

Method to check upstream fraction data for a SFR package. This method also creates the tables used to print input data, if this option in enabled in the SFR package.

Parameters
thisSfrType object

Definition at line 304 of file gwf-sfr.f90.

◆ sfr_checkin_deprecated_names()

procedure sfrmodule::sfrtype::sfr_checkin_deprecated_names ( class(sfrtype), intent(inout) this)

IDM integration moved several reach 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. DIVFLOW is only set from the input context when diversions are present; otherwise an empty DIVFLOW is allocated at the package path, as before IDM integration.

Definition at line 218 of file gwf-sfr.f90.

◆ sfr_fill_budobj()

procedure, private sfrmodule::sfrtype::sfr_fill_budobj ( class(sfrtype) this)
private

Method to copy flows into the budget object that stores all the sfr flows The terms listed here must correspond in number and order to the ones added in the sfr_setup_budobj method.

Parameters
thisSfrType object

Definition at line 308 of file gwf-sfr.f90.

◆ sfr_gwf_conn()

procedure, private sfrmodule::sfrtype::sfr_gwf_conn ( class(sfrtype) this,
integer(i4b), intent(in) n )
private

Function to determine if a reach is connected to a gwf cell. If connected, the return value is 1. Otherwise, the return value is 0.

Returns
flag indicating if reach is connected to a gwf cell
Parameters
thisSfrType object
[in]nreach number

Definition at line 276 of file gwf-sfr.f90.

◆ sfr_precompute_tvd()

procedure, private sfrmodule::sfrtype::sfr_precompute_tvd ( class(sfrtype), intent(inout) this)
private

Index 0 for reaches with zero or multiple upstream connections.

Parameters
[in,out]thisSfrType object

Definition at line 272 of file gwf-sfr.f90.

◆ sfr_set_period_value()

procedure, private sfrmodule::sfrtype::sfr_set_period_value ( class(sfrtype), intent(inout) this,
integer(i4b), intent(in) i,
integer(i4b), intent(in) n,
character(len=*), intent(in) setting )
private

Shared by sfr_rp and sfr_ad; DIVERSION is handled separately by both callers because its target index requires its own validation.

Parameters
[in]irow index into input context arrays
[in]nreach number
[in]settinguppercase mf6varname dispatch key

Definition at line 305 of file gwf-sfr.f90.

◆ sfr_setup_budobj()

procedure, private sfrmodule::sfrtype::sfr_setup_budobj ( class(sfrtype) this)
private

Method to set up the budget object that stores all the sfr flows The terms listed here must correspond in number and order to the ones listed in the sfr_fill_budobj method.

Parameters
thisSfrType object

Definition at line 307 of file gwf-sfr.f90.

◆ sfr_setup_tableobj()

procedure, private sfrmodule::sfrtype::sfr_setup_tableobj ( class(sfrtype) this)
private

Method to set up the table object that is used to write the sfr stage data. The terms listed here must correspond in number and order to the ones written to the stage table in the sfr_ot method.

Parameters
thisSfrType object

Definition at line 310 of file gwf-sfr.f90.

◆ sfr_solve()

procedure, private sfrmodule::sfrtype::sfr_solve ( class(sfrtype) this,
integer(i4b), intent(in) n,
real(dp), intent(in) h,
real(dp), intent(inout) hcof,
real(dp), intent(inout) rhs,
logical(lgp), intent(in), optional update )
private

Method to solve the continuity equation for a SFR package reach.

Parameters
thisSfrType object
[in]nreach number
[in]hgroundwater head in cell connected to reach
[in,out]hcofcoefficient term added to the diagonal
[in,out]rhsright-hand side term
[in]updateboolean indicating if the reach depth and stage variables should be updated to current iterate

Definition at line 245 of file gwf-sfr.f90.

◆ sfr_source_connectiondata()

procedure, private sfrmodule::sfrtype::sfr_source_connectiondata ( class(sfrtype), intent(inout) this)
private
Parameters
[in,out]thisSfrType object

Definition at line 291 of file gwf-sfr.f90.

◆ sfr_source_crosssections()

procedure, private sfrmodule::sfrtype::sfr_source_crosssections ( class(sfrtype), intent(inout) this)
private
Parameters
[in,out]thisSfrType object

Definition at line 290 of file gwf-sfr.f90.

◆ sfr_source_diversions()

procedure, private sfrmodule::sfrtype::sfr_source_diversions ( class(sfrtype), intent(inout) this)
private
Parameters
[in,out]thisSfrType object

Definition at line 292 of file gwf-sfr.f90.

◆ sfr_source_initialstages()

procedure, private sfrmodule::sfrtype::sfr_source_initialstages ( class(sfrtype), intent(inout) this)
private
Parameters
[in,out]thisSfrType object

Definition at line 293 of file gwf-sfr.f90.

◆ sfr_source_packagedata()

procedure, private sfrmodule::sfrtype::sfr_source_packagedata ( class(sfrtype), intent(inout) this)
private
Parameters
[in,out]thisSfrType object

Definition at line 289 of file gwf-sfr.f90.

◆ sfr_update_flows()

procedure, private sfrmodule::sfrtype::sfr_update_flows ( class(sfrtype), intent(inout) this,
integer(i4b), intent(in) n,
real(dp), intent(inout) qd,
real(dp), intent(in) qgwf )
private

Method to update downstream flow and groundwater leakage terms for a SFR package reach.

Parameters
[in,out]thisSfrType object
[in]nreach number
[in,out]qddownstream reach flow
[in]qgwfgroundwater leakage for reach

Definition at line 273 of file gwf-sfr.f90.

◆ source_dimensions() [1/2]

procedure bndextmodule::bndexttype::source_dimensions ( class(bndexttype), intent(inout) this)
inherited
Parameters
[in,out]thisBndExtType object

Definition at line 58 of file BoundaryPackageExt.f90.

◆ source_dimensions() [2/2]

procedure sfrmodule::sfrtype::source_dimensions ( class(sfrtype), intent(inout) this)
Parameters
[in,out]thisSfrType object

Definition at line 220 of file gwf-sfr.f90.

◆ source_options() [1/2]

procedure bndextmodule::bndexttype::source_options ( class(bndexttype), intent(inout) this)
inherited
Parameters
[in,out]thisBndExtType object

Definition at line 56 of file BoundaryPackageExt.f90.

◆ source_options() [2/2]

procedure sfrmodule::sfrtype::source_options ( class(sfrtype), intent(inout) this)
Parameters
[in,out]thisSfrType object

Definition at line 219 of file gwf-sfr.f90.

◆ validate_ifno()

procedure bndextmodule::bndexttype::validate_ifno ( class(bndexttype), intent(inout) this,
integer(i4b), intent(in) ifno_val,
integer(i4b), intent(in) nfeatures,
integer(i4b), dimension(:), intent(inout) nboundchk,
character(len=*), intent(in) feature_label,
character(len=*), intent(in) blockname )
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.

◆ write_lstfile()

procedure bndextmodule::bndexttype::write_lstfile ( class(bndexttype) this)
inherited

Log period based input. This routine requires a package specific bound_value() routine to report accurate bound values.

Parameters
thisBndExtType object

Definition at line 64 of file BoundaryPackageExt.f90.

Member Data Documentation

◆ allowtimearrayseries

logical(lgp) bndmodule::bndtype::allowtimearrayseries = .false.
inherited

Definition at line 95 of file BoundaryPackage.f90.

◆ ats_courant

real(dp), pointer sfrmodule::sfrtype::ats_courant => null()

Definition at line 164 of file gwf-sfr.f90.

◆ auxname

character(len=lenauxname), dimension(:), pointer, contiguous bndmodule::bndtype::auxname => null()
inherited

Definition at line 51 of file BoundaryPackage.f90.

◆ auxname_cst

type(characterstringtype), dimension(:), pointer, contiguous bndmodule::bndtype::auxname_cst => null()
inherited

Definition at line 53 of file BoundaryPackage.f90.

◆ auxvar

real(dp), dimension(:, :), pointer, contiguous bndmodule::bndtype::auxvar => null()
inherited

Definition at line 78 of file BoundaryPackage.f90.

◆ bditems

integer(i4b), pointer sfrmodule::sfrtype::bditems => NULL()

Definition at line 107 of file gwf-sfr.f90.

◆ bedk_set

logical(lgp), dimension(:), pointer, contiguous sfrmodule::sfrtype::bedk_set => null()

Definition at line 150 of file gwf-sfr.f90.

◆ bound

real(dp), dimension(:, :), pointer, contiguous bndmodule::bndtype::bound => null()
inherited

Definition at line 75 of file BoundaryPackage.f90.

◆ boundname

character(len=lenboundname), dimension(:), pointer, contiguous bndmodule::bndtype::boundname => null()
inherited

Definition at line 55 of file BoundaryPackage.f90.

◆ boundname_cst

type(characterstringtype), dimension(:), pointer, contiguous bndmodule::bndtype::boundname_cst => null()
inherited

Definition at line 57 of file BoundaryPackage.f90.

◆ bthick

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::bthick => null()

Definition at line 145 of file gwf-sfr.f90.

◆ budobj

type(budgetobjecttype), pointer sfrmodule::sfrtype::budobj => null()

Definition at line 131 of file gwf-sfr.f90.

◆ cauxcbc

character(len=16), dimension(:), pointer, contiguous sfrmodule::sfrtype::cauxcbc => NULL()

Definition at line 93 of file gwf-sfr.f90.

◆ cbcauxitems

integer(i4b), pointer sfrmodule::sfrtype::cbcauxitems => NULL()

Definition at line 108 of file gwf-sfr.f90.

◆ cellid

integer(i4b), dimension(:, :), pointer, contiguous bndextmodule::bndexttype::cellid => null()
inherited

Definition at line 40 of file BoundaryPackageExt.f90.

◆ condinput

real(dp), dimension(:), pointer, contiguous bndmodule::bndtype::condinput => null()
inherited

Definition at line 88 of file BoundaryPackage.f90.

◆ couranttab

type(tabletype), pointer sfrmodule::sfrtype::couranttab => null()

Definition at line 135 of file gwf-sfr.f90.

◆ crcnt

integer(i4b), dimension(:), pointer, contiguous sfrmodule::sfrtype::crcnt => null()

Definition at line 169 of file gwf-sfr.f90.

◆ crmax

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::crmax => null()

Definition at line 167 of file gwf-sfr.f90.

◆ crmin

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::crmin => null()

Definition at line 166 of file gwf-sfr.f90.

◆ crsum

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::crsum => null()

Definition at line 168 of file gwf-sfr.f90.

◆ csfrbudget

character(len=16), dimension(:), pointer, contiguous sfrmodule::sfrtype::csfrbudget => NULL()

Definition at line 92 of file gwf-sfr.f90.

◆ dbuff

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::dbuff => null()

Definition at line 128 of file gwf-sfr.f90.

◆ denseterms

real(dp), dimension(:, :), pointer, contiguous sfrmodule::sfrtype::denseterms => null()

Definition at line 206 of file gwf-sfr.f90.

◆ deps

real(dp), pointer sfrmodule::sfrtype::deps => NULL()

Definition at line 118 of file gwf-sfr.f90.

◆ depth

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::depth => null()

Definition at line 170 of file gwf-sfr.f90.

◆ dis

class(disbasetype), pointer numericalpackagemodule::numericalpackagetype::dis => null()
inherited

Definition at line 50 of file NumericalPackage.f90.

◆ divcprior

character(len=10), dimension(:), pointer, contiguous sfrmodule::sfrtype::divcprior => null()

Definition at line 200 of file gwf-sfr.f90.

◆ divflow

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::divflow => null()

Definition at line 201 of file gwf-sfr.f90.

◆ divq

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::divq => null()

Definition at line 202 of file gwf-sfr.f90.

◆ divreach

integer(i4b), dimension(:), pointer, contiguous sfrmodule::sfrtype::divreach => null()

Definition at line 199 of file gwf-sfr.f90.

◆ dmaxchg

real(dp), pointer sfrmodule::sfrtype::dmaxchg => NULL()

Definition at line 117 of file gwf-sfr.f90.

◆ dsflow

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::dsflow => null()

Definition at line 156 of file gwf-sfr.f90.

◆ dsflowold

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::dsflowold => null()

Definition at line 157 of file gwf-sfr.f90.

◆ errortab

type(tabletype), pointer bndmodule::bndtype::errortab => null()
inherited

Definition at line 113 of file BoundaryPackage.f90.

◆ evap

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::evap => null()

Definition at line 193 of file gwf-sfr.f90.

◆ featureauxvar

real(dp), dimension(:, :), pointer, contiguous bndextmodule::bndexttype::featureauxvar => null()
inherited

Definition at line 44 of file BoundaryPackageExt.f90.

◆ filtyp

character(len=lenftype) numericalpackagemodule::numericalpackagetype::filtyp = ''
inherited

Definition at line 33 of file NumericalPackage.f90.

◆ flowja

real(dp), dimension(:), pointer, contiguous bndmodule::bndtype::flowja => null()
inherited

Definition at line 106 of file BoundaryPackage.f90.

◆ ftotnd

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::ftotnd => null()

Definition at line 153 of file gwf-sfr.f90.

◆ gwfiss

integer(i4b), pointer sfrmodule::sfrtype::gwfiss => NULL()

Definition at line 111 of file gwf-sfr.f90.

◆ gwflow

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::gwflow => null()

Definition at line 173 of file gwf-sfr.f90.

◆ hcof

real(dp), dimension(:), pointer, contiguous bndmodule::bndtype::hcof => null()
inherited

Definition at line 76 of file BoundaryPackage.f90.

◆ hk

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::hk => null()

Definition at line 146 of file gwf-sfr.f90.

◆ ia

integer(i4b), dimension(:), pointer, contiguous sfrmodule::sfrtype::ia => null()

Definition at line 122 of file gwf-sfr.f90.

◆ iacross

integer(i4b), dimension(:), pointer, contiguous sfrmodule::sfrtype::iacross => null()

Definition at line 182 of file gwf-sfr.f90.

◆ iadiv

integer(i4b), dimension(:), pointer, contiguous sfrmodule::sfrtype::iadiv => null()

Definition at line 198 of file gwf-sfr.f90.

◆ ianynone

integer(i4b), pointer sfrmodule::sfrtype::ianynone => null()

Definition at line 112 of file gwf-sfr.f90.

◆ iasym

integer(i4b), pointer numericalpackagemodule::numericalpackagetype::iasym => null()
inherited

Definition at line 41 of file NumericalPackage.f90.

◆ iauxmultcol

integer(i4b), pointer bndmodule::bndtype::iauxmultcol => null()
inherited

Definition at line 69 of file BoundaryPackage.f90.

◆ ibcnum

integer(i4b), pointer bndmodule::bndtype::ibcnum => null()
inherited

Definition at line 62 of file BoundaryPackage.f90.

◆ ibound

integer(i4b), dimension(:), pointer, contiguous bndmodule::bndtype::ibound => null()
inherited

Definition at line 103 of file BoundaryPackage.f90.

◆ iboundpak

integer(i4b), dimension(:), pointer, contiguous sfrmodule::sfrtype::iboundpak => null()

Definition at line 139 of file gwf-sfr.f90.

◆ ibudcsv

integer(i4b), pointer sfrmodule::sfrtype::ibudcsv => null()

Definition at line 101 of file gwf-sfr.f90.

◆ ibudgetout

integer(i4b), pointer sfrmodule::sfrtype::ibudgetout => null()

Definition at line 100 of file gwf-sfr.f90.

◆ icelltype

integer(i4b), dimension(:), pointer, contiguous bndmodule::bndtype::icelltype => null()
inherited

Definition at line 107 of file BoundaryPackage.f90.

◆ icheck

integer(i4b), pointer sfrmodule::sfrtype::icheck => NULL()

Definition at line 109 of file gwf-sfr.f90.

◆ iconvchk

integer(i4b), pointer sfrmodule::sfrtype::iconvchk => NULL()

Definition at line 110 of file gwf-sfr.f90.

◆ ictmempath

character(len=lenmempath) bndmodule::bndtype::ictmempath = ''
inherited

Definition at line 108 of file BoundaryPackage.f90.

◆ id

integer(i4b), pointer numericalpackagemodule::numericalpackagetype::id => null()
inherited

Definition at line 37 of file NumericalPackage.f90.

◆ idense

integer(i4b), pointer sfrmodule::sfrtype::idense

Definition at line 205 of file gwf-sfr.f90.

205 integer(I4B), pointer :: idense !< flag indicating if density corrections are active

◆ idir

integer(i4b), dimension(:), pointer, contiguous sfrmodule::sfrtype::idir => null()

Definition at line 187 of file gwf-sfr.f90.

◆ idiv

integer(i4b), dimension(:), pointer, contiguous sfrmodule::sfrtype::idiv => null()

Definition at line 188 of file gwf-sfr.f90.

◆ idiversions

integer(i4b), pointer sfrmodule::sfrtype::idiversions => null()

Definition at line 103 of file gwf-sfr.f90.

◆ igwfnode

integer(i4b), dimension(:), pointer, contiguous sfrmodule::sfrtype::igwfnode => null()

Definition at line 140 of file gwf-sfr.f90.

◆ igwftopnode

integer(i4b), dimension(:), pointer, contiguous sfrmodule::sfrtype::igwftopnode => null()

Definition at line 141 of file gwf-sfr.f90.

◆ imover

integer(i4b), pointer bndmodule::bndtype::imover => null()
inherited

Definition at line 83 of file BoundaryPackage.f90.

◆ inamedbound

integer(i4b), pointer bndmodule::bndtype::inamedbound => null()
inherited

Definition at line 68 of file BoundaryPackage.f90.

◆ indxconvertflux

integer(i4b) bndmodule::bndtype::indxconvertflux = 0
inherited

Definition at line 94 of file BoundaryPackage.f90.

◆ inewton

integer(i4b), pointer numericalpackagemodule::numericalpackagetype::inewton => null()
inherited

Definition at line 40 of file NumericalPackage.f90.

◆ inflow

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::inflow => null()

Definition at line 194 of file gwf-sfr.f90.

◆ inobspkg

integer(i4b), pointer bndmodule::bndtype::inobspkg => null()
inherited

Definition at line 98 of file BoundaryPackage.f90.

◆ input

type(sfrinputtype) sfrmodule::sfrtype::input

Definition at line 212 of file gwf-sfr.f90.

212 type(SfrInputType) :: input

◆ input_fname

character(len=linelength), pointer numericalpackagemodule::numericalpackagetype::input_fname => null()
inherited

Definition at line 32 of file NumericalPackage.f90.

◆ input_mempath

character(len=lenmempath) numericalpackagemodule::numericalpackagetype::input_mempath = ''
inherited

Definition at line 31 of file NumericalPackage.f90.

◆ inputtab

type(tabletype), pointer bndmodule::bndtype::inputtab => null()
inherited

Definition at line 111 of file BoundaryPackage.f90.

◆ inunit

integer(i4b), pointer numericalpackagemodule::numericalpackagetype::inunit => null()
inherited

Definition at line 38 of file NumericalPackage.f90.

◆ ioffset

integer(i4b), pointer bndmodule::bndtype::ioffset => null()
inherited

Definition at line 71 of file BoundaryPackage.f90.

◆ ionper

integer(i4b), pointer numericalpackagemodule::numericalpackagetype::ionper => null()
inherited

Definition at line 45 of file NumericalPackage.f90.

◆ iout

integer(i4b), pointer numericalpackagemodule::numericalpackagetype::iout => null()
inherited

Definition at line 39 of file NumericalPackage.f90.

◆ ipakcb

integer(i4b), pointer numericalpackagemodule::numericalpackagetype::ipakcb => null()
inherited

Definition at line 44 of file NumericalPackage.f90.

◆ ipakcsv

integer(i4b), pointer sfrmodule::sfrtype::ipakcsv => null()

Definition at line 102 of file gwf-sfr.f90.

◆ iper

integer(i4b), pointer bndextmodule::bndexttype::iper
inherited

Definition at line 35 of file BoundaryPackageExt.f90.

35 integer(I4B), pointer :: iper

◆ iprflow

integer(i4b), pointer numericalpackagemodule::numericalpackagetype::iprflow => null()
inherited

Definition at line 43 of file NumericalPackage.f90.

◆ iprhed

integer(i4b), pointer sfrmodule::sfrtype::iprhed => null()

Definition at line 98 of file gwf-sfr.f90.

◆ iprpak

integer(i4b), pointer numericalpackagemodule::numericalpackagetype::iprpak => null()
inherited

Definition at line 42 of file NumericalPackage.f90.

◆ isadvpak

integer(i4b), pointer bndmodule::bndtype::isadvpak => null()
inherited

Definition at line 61 of file BoundaryPackage.f90.

◆ iscloc

integer(i4b), pointer bndmodule::bndtype::iscloc => null()
inherited

Definition at line 66 of file BoundaryPackage.f90.

◆ isfrorder

integer(i4b), dimension(:), pointer, contiguous sfrmodule::sfrtype::isfrorder => null()

Definition at line 121 of file gwf-sfr.f90.

◆ istageout

integer(i4b), pointer sfrmodule::sfrtype::istageout => null()

Definition at line 99 of file gwf-sfr.f90.

◆ istorage

integer(i4b), pointer sfrmodule::sfrtype::istorage => null()

Definition at line 97 of file gwf-sfr.f90.

◆ itvd_upstream

integer(i4b), dimension(:), pointer, contiguous sfrmodule::sfrtype::itvd_upstream => null()

Definition at line 165 of file gwf-sfr.f90.

◆ ivsc

integer(i4b), pointer bndmodule::bndtype::ivsc => null()
inherited

Definition at line 87 of file BoundaryPackage.f90.

◆ ja

integer(i4b), dimension(:), pointer, contiguous sfrmodule::sfrtype::ja => null()

Definition at line 123 of file gwf-sfr.f90.

◆ lastonper

integer(i4b), pointer numericalpackagemodule::numericalpackagetype::lastonper => null()
inherited

Definition at line 46 of file NumericalPackage.f90.

◆ length

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::length => null()

Definition at line 142 of file gwf-sfr.f90.

◆ lengthconv

real(dp), pointer sfrmodule::sfrtype::lengthconv => NULL()

Definition at line 115 of file gwf-sfr.f90.

◆ listlabel

character(len=lenlistlabel), pointer bndmodule::bndtype::listlabel => null()
inherited

Definition at line 49 of file BoundaryPackage.f90.

◆ manning_set

logical(lgp), dimension(:), pointer, contiguous sfrmodule::sfrtype::manning_set => null()

Definition at line 151 of file gwf-sfr.f90.

◆ maxbound

integer(i4b), pointer bndmodule::bndtype::maxbound => null()
inherited

Definition at line 63 of file BoundaryPackage.f90.

◆ maxsfrit

integer(i4b), pointer sfrmodule::sfrtype::maxsfrit => NULL()

Definition at line 106 of file gwf-sfr.f90.

◆ maxsfrpicard

integer(i4b), pointer sfrmodule::sfrtype::maxsfrpicard => NULL()

Definition at line 105 of file gwf-sfr.f90.

◆ memorypath

character(len=lenmempath) numericalpackagemodule::numericalpackagetype::memorypath = ''
inherited

Definition at line 28 of file NumericalPackage.f90.

◆ memorypathmodel

character(len=lenmempath) numericalpackagemodule::numericalpackagetype::memorypathmodel = ''
inherited

Definition at line 29 of file NumericalPackage.f90.

◆ name_model

character(len=lenmodelname) numericalpackagemodule::numericalpackagetype::name_model = ''
inherited

Definition at line 26 of file NumericalPackage.f90.

◆ naux

integer(i4b), pointer bndmodule::bndtype::naux => null()
inherited

Definition at line 67 of file BoundaryPackage.f90.

◆ nbound

integer(i4b), pointer bndmodule::bndtype::nbound => null()
inherited

Definition at line 64 of file BoundaryPackage.f90.

◆ ncolbnd

integer(i4b), pointer bndmodule::bndtype::ncolbnd => null()
inherited

Definition at line 65 of file BoundaryPackage.f90.

◆ nconn

integer(i4b), pointer sfrmodule::sfrtype::nconn => NULL()

Definition at line 104 of file gwf-sfr.f90.

◆ nconnreach

integer(i4b), dimension(:), pointer, contiguous sfrmodule::sfrtype::nconnreach => null()

Definition at line 148 of file gwf-sfr.f90.

◆ ncrosspts

integer(i4b), dimension(:), pointer, contiguous sfrmodule::sfrtype::ncrosspts => null()

Definition at line 181 of file gwf-sfr.f90.

◆ ncrossptstot

integer(i4b), pointer sfrmodule::sfrtype::ncrossptstot => null()

Definition at line 180 of file gwf-sfr.f90.

◆ ndiv

integer(i4b), dimension(:), pointer, contiguous sfrmodule::sfrtype::ndiv => null()

Definition at line 154 of file gwf-sfr.f90.

◆ neq

integer(i4b), pointer bndmodule::bndtype::neq
inherited

Definition at line 102 of file BoundaryPackage.f90.

102 integer(I4B), pointer :: neq !< number of equations for model

◆ nodelist

integer(i4b), dimension(:), pointer, contiguous bndmodule::bndtype::nodelist => null()
inherited

Definition at line 73 of file BoundaryPackage.f90.

◆ nodeulist

integer(i4b), dimension(:), pointer, contiguous bndextmodule::bndexttype::nodeulist => null()
inherited

Definition at line 41 of file BoundaryPackageExt.f90.

◆ noupdateauxvar

integer(i4b), dimension(:), pointer, contiguous bndmodule::bndtype::noupdateauxvar => null()
inherited

Definition at line 74 of file BoundaryPackage.f90.

◆ npakeq

integer(i4b), pointer bndmodule::bndtype::npakeq => null()
inherited

Definition at line 70 of file BoundaryPackage.f90.

◆ obs

type(obstype), pointer bndmodule::bndtype::obs => null()
inherited

Definition at line 99 of file BoundaryPackage.f90.

◆ outputtab

type(tabletype), pointer bndmodule::bndtype::outputtab => null()
inherited

Definition at line 112 of file BoundaryPackage.f90.

◆ package_type

character(len=lenftype), pointer numericalpackagemodule::numericalpackagetype::package_type => null()
inherited

Definition at line 34 of file NumericalPackage.f90.

◆ packname

character(len=lenpackagename) numericalpackagemodule::numericalpackagetype::packname = ''
inherited

Definition at line 27 of file NumericalPackage.f90.

◆ pakcsvtab

type(tabletype), pointer sfrmodule::sfrtype::pakcsvtab => null()

Definition at line 136 of file gwf-sfr.f90.

◆ pakmvrobj

type(packagemovertype), pointer bndmodule::bndtype::pakmvrobj => null()
inherited

Definition at line 84 of file BoundaryPackage.f90.

◆ parser

type(blockparsertype) numericalpackagemodule::numericalpackagetype::parser
inherited

Definition at line 49 of file NumericalPackage.f90.

49 type(BlockParserType) :: parser !< parser object for reading blocks of information

◆ pkg_ifno

integer(i4b), dimension(:), pointer, contiguous bndextmodule::bndexttype::pkg_ifno => null()
inherited

Definition at line 43 of file BoundaryPackageExt.f90.

◆ qauxcbc

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::qauxcbc => null()

Definition at line 127 of file gwf-sfr.f90.

◆ qconn

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::qconn => null()

Definition at line 189 of file gwf-sfr.f90.

◆ qextoutflow

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::qextoutflow => null()

Definition at line 126 of file gwf-sfr.f90.

◆ qoutflow

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::qoutflow => null()

Definition at line 125 of file gwf-sfr.f90.

◆ rain

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::rain => null()

Definition at line 192 of file gwf-sfr.f90.

◆ readarraygrid

logical(lgp), pointer bndextmodule::bndexttype::readarraygrid
inherited

Definition at line 36 of file BoundaryPackageExt.f90.

36 logical(LGP), pointer :: readarraygrid

◆ readasarrays

logical(lgp), pointer bndextmodule::bndexttype::readasarrays
inherited

Definition at line 37 of file BoundaryPackageExt.f90.

37 logical(LGP), pointer :: readasarrays

◆ rhs

real(dp), dimension(:), pointer, contiguous bndmodule::bndtype::rhs => null()
inherited

Definition at line 77 of file BoundaryPackage.f90.

◆ rough

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::rough => null()

Definition at line 191 of file gwf-sfr.f90.

◆ runoff

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::runoff => null()

Definition at line 195 of file gwf-sfr.f90.

◆ sfrname

character(len=lenboundname), dimension(:), pointer, contiguous sfrmodule::sfrtype::sfrname => null()

Definition at line 94 of file gwf-sfr.f90.

◆ simevap

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::simevap => null()

Definition at line 174 of file gwf-sfr.f90.

◆ simrunoff

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::simrunoff => null()

Definition at line 175 of file gwf-sfr.f90.

◆ simtomvr

real(dp), dimension(:), pointer, contiguous bndmodule::bndtype::simtomvr => null()
inherited

Definition at line 80 of file BoundaryPackage.f90.

◆ simvals

real(dp), dimension(:), pointer, contiguous bndmodule::bndtype::simvals => null()
inherited

Definition at line 79 of file BoundaryPackage.f90.

◆ slope

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::slope => null()

Definition at line 147 of file gwf-sfr.f90.

◆ sstage

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::sstage => null()

Definition at line 196 of file gwf-sfr.f90.

◆ stage

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::stage => null()

Definition at line 171 of file gwf-sfr.f90.

◆ stage0

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::stage0 => null()

Definition at line 176 of file gwf-sfr.f90.

◆ stageold

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::stageold => null()

Definition at line 172 of file gwf-sfr.f90.

◆ stagetab

type(tabletype), pointer sfrmodule::sfrtype::stagetab => null()

Definition at line 134 of file gwf-sfr.f90.

◆ station

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::station => null()

Definition at line 183 of file gwf-sfr.f90.

◆ storage

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::storage => null()

Definition at line 178 of file gwf-sfr.f90.

◆ storage_weight

real(dp), pointer sfrmodule::sfrtype::storage_weight => NULL()

Definition at line 119 of file gwf-sfr.f90.

◆ strtop

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::strtop => null()

Definition at line 144 of file gwf-sfr.f90.

◆ tasmanager

type(timearrayseriesmanagertype), pointer bndmodule::bndtype::tasmanager => null()
inherited

Definition at line 93 of file BoundaryPackage.f90.

◆ text

character(len=lenpackagename) bndmodule::bndtype::text = ''
inherited

Definition at line 50 of file BoundaryPackage.f90.

◆ timeconv

real(dp), pointer sfrmodule::sfrtype::timeconv => NULL()

Definition at line 116 of file gwf-sfr.f90.

◆ ts_active

logical(lgp), pointer bndextmodule::bndexttype::ts_active
inherited

Definition at line 38 of file BoundaryPackageExt.f90.

38 logical(LGP), pointer :: ts_active !< .true. if TS6 files are configured in OPTIONS

◆ tsmanager

type(timeseriesmanagertype), pointer bndmodule::bndtype::tsmanager => null()
inherited

Definition at line 92 of file BoundaryPackage.f90.

◆ unitconv

real(dp), pointer sfrmodule::sfrtype::unitconv => NULL()

Definition at line 114 of file gwf-sfr.f90.

◆ usflow

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::usflow => null()

Definition at line 155 of file gwf-sfr.f90.

◆ usflow0

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::usflow0 => null()

Definition at line 177 of file gwf-sfr.f90.

◆ usinflow

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::usinflow => null()

Definition at line 158 of file gwf-sfr.f90.

◆ usinflowold

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::usinflowold => null()

Definition at line 159 of file gwf-sfr.f90.

◆ ustrf

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::ustrf => null()

Definition at line 149 of file gwf-sfr.f90.

◆ ustrf_set

logical(lgp), dimension(:), pointer, contiguous sfrmodule::sfrtype::ustrf_set => null()

Definition at line 152 of file gwf-sfr.f90.

◆ viscratio

real(dp), dimension(:), allocatable bndmodule::bndtype::viscratio
inherited

Definition at line 89 of file BoundaryPackage.f90.

89 real(DP), dimension(:), allocatable :: viscratio !< viscosity ratio applied to each boundary conductance

◆ viscratios

real(dp), dimension(:, :), pointer, contiguous sfrmodule::sfrtype::viscratios => null()

Definition at line 209 of file gwf-sfr.f90.

◆ width

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::width => null()

Definition at line 143 of file gwf-sfr.f90.

◆ xnew

real(dp), dimension(:), pointer, contiguous bndmodule::bndtype::xnew => null()
inherited

Definition at line 104 of file BoundaryPackage.f90.

◆ xold

real(dp), dimension(:), pointer, contiguous bndmodule::bndtype::xold => null()
inherited

Definition at line 105 of file BoundaryPackage.f90.

◆ xsads

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::xsads => null()

Definition at line 161 of file gwf-sfr.f90.

◆ xsadsold

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::xsadsold => null()

Definition at line 163 of file gwf-sfr.f90.

◆ xsaus

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::xsaus => null()

Definition at line 160 of file gwf-sfr.f90.

◆ xsausold

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::xsausold => null()

Definition at line 162 of file gwf-sfr.f90.

◆ xsheight

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::xsheight => null()

Definition at line 184 of file gwf-sfr.f90.

◆ xsrough

real(dp), dimension(:), pointer, contiguous sfrmodule::sfrtype::xsrough => null()

Definition at line 185 of file gwf-sfr.f90.


The documentation for this type was generated from the following file:
  • /home/runner/work/modflow6/modflow6/src/Model/GroundWaterFlow/gwf-sfr.f90