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

Go to the source code of this file.

Data Types

type  spatialmodelconnectionmodule::spatialmodelconnectiontype
 Class to manage spatial connection of a model to one or more models of the same type. Spatial connection here means that the model domains (spatial discretization) are adjacent and connected via DisConnExchangeType object(s). The connection itself is a Numerical Exchange as well, and part of a Numerical Solution providing the amat and rhs. More...

Modules

module  spatialmodelconnectionmodule

Functions/Subroutines

subroutine spatialmodelconnectionmodule::spatialconnection_ctor (this, model, exchange, name)
 Construct the spatial connection base.
subroutine spatialmodelconnectionmodule::createmodelhalo (this)
 Find all models that might participate in this interface.
recursive subroutine spatialmodelconnectionmodule::addmodelneighbors (this, model_id, virtual_exchanges, depth, is_root, mask)
 Add neighbors and nbrs-of-nbrs to the model tree.
subroutine spatialmodelconnectionmodule::spatialcon_df (this)
 Define this connection, this is where the discretization (DISU) for the interface model is.
subroutine spatialmodelconnectionmodule::spatialcon_ar (this)
 Allocate the connection,.
subroutine spatialmodelconnectionmodule::spatialcon_setmodelptrs (this)
 set model pointers to connection
subroutine spatialmodelconnectionmodule::spatialcon_connect (this)
 map interface model connections to our sparse matrix,
subroutine spatialmodelconnectionmodule::maskownerconnections (this)
 Mask the owner's connections.
subroutine spatialmodelconnectionmodule::spatialcon_ac (this, sparse)
 Add connections, handled by the interface model, to the sparse matrix of the global system.
subroutine spatialmodelconnectionmodule::spatialcon_mc (this, matrix_sln)
 Creates the mapping from the local system.
subroutine spatialmodelconnectionmodule::spatialcon_cf (this, kiter)
 Calculate (or adjust) matrix coefficients, in this case those which are determined or affected.
subroutine spatialmodelconnectionmodule::spatialcon_fc (this, kiter, matrix_sln, rhs_sln, inwtflag)
 Formulate coefficients from interface model.
subroutine spatialmodelconnectionmodule::spatialcon_da (this)
 Deallocation.
subroutine spatialmodelconnectionmodule::setupgridconnection (this)
 Creates the connection structure for the interface grid, starting from primary exchanges, then extending inward and outward, possibly across model boundaries.
subroutine spatialmodelconnectionmodule::allocatescalars (this)
 Allocation of scalars.
subroutine spatialmodelconnectionmodule::allocatearrays (this)
 Allocation of arrays.
integer(i4b) function spatialmodelconnectionmodule::getnrofconnections (this)
 Returns total nr. of primary connections.
subroutine spatialmodelconnectionmodule::createcoefficientmatrix (this, sparse)
 Create connection's matrix (ia,ja,amat) from sparse.
subroutine spatialmodelconnectionmodule::validateconnection (this)
 Validate this connection.
subroutine spatialmodelconnectionmodule::cfg_dv (this, var_name, subcomp_name, map_type, sync_stages, exg_var_name)
 Add a variable from the interface model to be synchronized at the configured stages by copying from the source memory in the models/exchanges that are part.
class(spatialmodelconnectiontype) function, pointer, public spatialmodelconnectionmodule::cast_as_smc (obj)
 Cast to SpatialModelConnectionType.
subroutine, public spatialmodelconnectionmodule::add_smc_to_list (list, conn)
 Add connection to a list.
class(spatialmodelconnectiontype) function, pointer, public spatialmodelconnectionmodule::get_smc_from_list (list, idx)
 Get the connection from a list.