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

Go to the source code of this file.

Data Types

type  gridconnectionmodule::gridconnectiontype
 This class is used to construct the connections object for the interface model's spatial discretization/grid. More...

Modules

module  gridconnectionmodule
 Refactoring issues towards parallel:

Functions/Subroutines

subroutine gridconnectionmodule::construct (this, model, nrofprimaries, connectionname)
 Construct the GridConnection and allocate the data structures for the primary connections.
subroutine gridconnectionmodule::connectprimaryexchange (this, primex)
 Make connections for the primary exchange.
subroutine gridconnectionmodule::connectcell (this, idx1, v_model1, idx2, v_model2)
 Connect neighboring cells at the interface by storing them in the boundary cell and connected cell arrays.
subroutine gridconnectionmodule::addtoregionalmodels (this, v_model)
 Add a model to a list of all regional models.
subroutine gridconnectionmodule::extendconnection (this)
 Extend the connection topology to deal with higher levels of connectivity (neighbors-of-neighbors, etc.).
subroutine gridconnectionmodule::buildconnections (this)
 Builds a sparse matrix holding all cell connections,.
recursive subroutine gridconnectionmodule::addneighbors (this, cellnbrs, depth, mask, interior)
subroutine gridconnectionmodule::addremoteneighbors (this, cellnbrs, mask)
 Add cell neighbors across models using the stored exchange data structures.
subroutine gridconnectionmodule::addneighborcell (this, cellnbrs, newnbridx, v_nbr_model, mask)
 Add neighboring cell to tree structure.
recursive subroutine gridconnectionmodule::registerinterfacecells (this, cellwithnbrs)
 Recursively set interface cell indexes and.
subroutine gridconnectionmodule::addtoglobalmap (this, ifaceidx, cell)
 Add entry to lookup table, inflating when necessary.
subroutine gridconnectionmodule::compressglobalmap (this)
 Compress lookup table to get rid of unused entries.
subroutine gridconnectionmodule::sortinterfacegrid (this)
 Soft cell ids in the interface grid such that.
subroutine gridconnectionmodule::makeprimaryconnections (this, sparse)
 Add primary connections to the sparse data structure.
recursive subroutine gridconnectionmodule::connectneighborcells (this, cell, sparse)
 Recursively add higher order connections (from cells neighboring the primarily connected cells) to the.
subroutine gridconnectionmodule::fillconnectiondatainternal (this)
 Fill connection data (ihc, cl1, ...) for.
subroutine gridconnectionmodule::fillconnectiondatafromexchanges (this)
 Fill connection data (ihc, cl1, ...) for.
subroutine gridconnectionmodule::createconnectionmask (this)
 Create the connection masks.
recursive subroutine gridconnectionmodule::maskinternalconnections (this, cell, nbrcell, level)
 Recursively mask connections, increasing the level as we go.
subroutine gridconnectionmodule::setmaskonconnection (this, cell, nbrcell, level)
 Set a mask on the connection from a cell to its neighbor, (and not the transposed!) not overwriting the current level.
integer(i4b) function gridconnectionmodule::getinterfaceindexbycell (this, cell)
 Get interface index from global cell.
integer(i4b) function gridconnectionmodule::getinterfaceindexbyindexmodel (this, index, v_model)
 Get interface index from a model pointer and the local index.
integer(i4b) function gridconnectionmodule::get_regional_offset (this, v_model)
 Get the offset for a regional model.
subroutine gridconnectionmodule::allocatescalars (this)
 Allocate scalar data.
subroutine gridconnectionmodule::getdiscretization (this, disu)
 Sets the discretization (DISU) after all preprocessing by this grid connection has been done,.
subroutine gridconnectionmodule::buildinterfacemap (this)
 Build interface map object for outside use.
subroutine gridconnectionmodule::destroy (this)
 Deallocate grid connection resources.
logical function gridconnectionmodule::isperiodic (this, n, m)
 Test if the connection between nodes within.

Variables

integer(i4b), parameter gridconnectionmodule::initnrneighbors = 7