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

Go to the source code of this file.

Data Types

type  tspaptmodule::tspapttype

Modules

module  tspaptmodule

Functions/Subroutines

subroutine tspaptmodule::apt_ac (this, moffset, sparse)
 Add package connection to matrix.
subroutine tspaptmodule::apt_mc (this, moffset, matrix_sln)
 Advanced package transport map package connections to matrix.
subroutine tspaptmodule::apt_ar (this)
 Advanced package transport allocate and read (ar) routine.
subroutine tspaptmodule::apt_rp (this)
 Advanced package transport read and prepare (rp) routine.
subroutine tspaptmodule::apt_ad_chk (this)
integer(i4b) function tspaptmodule::apt_check_valid (this, itemno)
 Advanced package transport routine.
real(dp) function, dimension(:), pointer, contiguous tspaptmodule::get_mvr_depvar (this)
 Advanced package transport utility function.
subroutine tspaptmodule::apt_ad (this)
 Advanced package transport routine.
subroutine tspaptmodule::apt_ad_resync (this)
 Per-timestep TS re-sync and state update.
subroutine tspaptmodule::apt_ad_ts (this)
 Virtual hook: called every timestep, after the time series manager advances, before apt_ad_chk. No-op extension point for packages to override.
real(dp) function tspaptmodule::apt_setting_value (this, itemno, key)
 Virtual hook: value for a package-specific PERIOD setting. Override in individual packages to supply the already-resolved value for a PERIOD field beyond STATUS, CONCENTRATION/TEMPERATURE, and AUXILIARY, so the shared apt_rp table echo can print it.
subroutine tspaptmodule::apt_reset (this)
 Override bnd reset for custom mover logic.
subroutine tspaptmodule::apt_fc (this, rhs, ia, idxglo, matrix_sln)
subroutine tspaptmodule::apt_fc_nonexpanded (this, rhs, ia, idxglo, matrix_sln)
 Advanced package transport fill coefficient (fc) method.
subroutine tspaptmodule::apt_fc_expanded (this, rhs, ia, idxglo, matrix_sln)
 Advanced package transport fill coefficient (fc) method.
subroutine tspaptmodule::pak_fc_expanded (this, rhs, ia, idxglo, matrix_sln)
 Advanced package transport fill coefficient (fc) method.
subroutine tspaptmodule::apt_cfupdate (this)
 Advanced package transport routine.
subroutine tspaptmodule::apt_cq (this, x, flowja, iadv)
 Advanced package transport calculate flows (cq) routine.
subroutine tspaptmodule::apt_ot_package_flows (this, icbcfl, ibudfl)
 Save advanced package flows routine.
subroutine tspaptmodule::apt_ot_dv (this, idvsave, idvprint)
subroutine tspaptmodule::apt_ot_bdsummary (this, kstp, kper, iout, ibudfl)
 Print advanced package transport dependent variables.
subroutine tspaptmodule::allocate_scalars (this)
 Allocate scalars.
subroutine tspaptmodule::apt_allocate_index_arrays (this)
 Allocate index arrays.
subroutine tspaptmodule::apt_allocate_arrays (this)
 Allocate arrays.
subroutine tspaptmodule::apt_checkin_deprecated_names (this)
 Alias deprecated advanced transport variable names.
subroutine tspaptmodule::apt_da (this)
 Deallocate memory.
subroutine tspaptmodule::find_apt_package (this)
 Find corresponding advanced package transport package.
subroutine tspaptmodule::apt_source_options (this)
 Source OPTIONS block from the input context.
subroutine tspaptmodule::apt_source_dimensions (this)
 Source DIMENSIONS from the flow package; allocate package arrays.
subroutine tspaptmodule::apt_source_cvs (this)
 Source PACKAGEDATA feature information from the input context.
subroutine tspaptmodule::apt_read_initial_attr (this)
 Read the initial parameters for an advanced package.
subroutine tspaptmodule::apt_solve (this)
 Add terms specific to advanced package transport to the explicit solve.
subroutine tspaptmodule::pak_solve (this)
 Add terms specific to advanced package transport features to the explicit solve routine.
subroutine tspaptmodule::apt_accumulate_ccterm (this, ilak, rrate, ccratin, ccratout)
 Accumulate constant concentration (or temperature) terms for budget.
subroutine tspaptmodule::define_listlabel (this)
 Define the list heading that is written to iout when PRINT_INPUT option is used.
subroutine tspaptmodule::apt_set_pointers (this, neq, ibound, xnew, xold, flowja)
 Set pointers to model arrays and variables so that a package has access to these items.
subroutine tspaptmodule::apt_get_volumes (this, icv, vnew, vold, delt)
 Return the feature new volume and old volume.
integer(i4b) function tspaptmodule::pak_get_nbudterms (this)
 Function to return the number of budget terms just for this package.
subroutine tspaptmodule::apt_setup_budobj (this)
 Set up the budget object that stores advanced package flow terms.
subroutine tspaptmodule::pak_setup_budobj (this, idx)
 Set up a budget object that stores an advanced package flows.
subroutine tspaptmodule::apt_fill_budobj (this, x, flowja)
 Copy flow terms into thisbudobj.
subroutine tspaptmodule::pak_fill_budobj (this, idx, x, flowja, ccratin, ccratout)
 Copy flow terms into thisbudobj, must be overridden.
subroutine tspaptmodule::apt_stor_term (this, ientry, n1, n2, rrate, rhsval, hcofval)
 Account for mass or energy storage in advanced package features.
subroutine tspaptmodule::apt_tmvr_term (this, ientry, n1, n2, rrate, rhsval, hcofval)
 Account for mass or energy transferred to the MVR package.
subroutine tspaptmodule::apt_fmvr_term (this, ientry, n1, n2, rrate, rhsval, hcofval)
 Account for mass or energy transferred to this package from the MVR package.
subroutine tspaptmodule::apt_fjf_term (this, ientry, n1, n2, rrate, rhsval, hcofval)
 Go through each "within apt-apt" connection (e.g., lkt-lkt, or sft-sft) and accumulate total mass (or energy) in dbuff mass.
subroutine tspaptmodule::apt_copy2flowp (this)
 Copy concentrations (or temperatures) into flow package aux variable.
logical function tspaptmodule::apt_obs_supported (this)
 Determine whether an obs type is supported.
subroutine tspaptmodule::apt_df_obs (this)
 Define observation type.
subroutine tspaptmodule::pak_df_obs (this)
 Define apt observation type.
subroutine tspaptmodule::pak_rp_obs (this, obsrv, found)
 Process package specific obs.
subroutine tspaptmodule::rp_obs_byfeature (this, obsrv)
 Prepare observation.
subroutine tspaptmodule::rp_obs_budterm (this, obsrv, budterm)
 Prepare observation.
subroutine tspaptmodule::rp_obs_flowjaface (this, obsrv, budterm)
 Prepare observation.
subroutine tspaptmodule::apt_rp_obs (this)
 Read and prepare apt-related observations.
subroutine tspaptmodule::apt_bd_obs (this)
 Calculate observation values.
subroutine tspaptmodule::pak_bd_obs (this, obstypeid, jj, v, found)
 Check if observation exists in an advanced package.
subroutine, public tspaptmodule::apt_process_obsid (obsrv, dis, inunitobs, iout)
 Process observation IDs for an advanced package.
subroutine, public tspaptmodule::apt_process_obsid12 (obsrv, dis, inunitobs, iout)
 Process observation IDs for a package.
subroutine tspaptmodule::apt_setup_tableobj (this)
 Setup a table object an advanced package.

Variables

character(len=lenftype) tspaptmodule::ftype = 'APT'
character(len=lenvarname) tspaptmodule::text = ' APT'