MODFLOW 6
version 6.7.0.dev0
USGS Modular Hydrologic Model
|
Data Types | |
type | connectionbuildertype |
Functions/Subroutines | |
subroutine | processsolution (this, solution) |
Process the exchanges in the solution into model connections. More... | |
subroutine | processexchanges (this, exchanges, newConnections) |
Create connections from exchanges. More... | |
class(spatialmodelconnectiontype) function, pointer | createmodelconnection (model, exchange) |
Create a model connection of a given type. More... | |
subroutine | setconnectionstosolution (this, connections, solution) |
Set connections to the solution. More... | |
subroutine | createmodelconnectivity (this, connections) |
Create connectivity of models which contribute to the interface. More... | |
class(spatialmodelconnectiontype) function, pointer connectionbuildermodule::createmodelconnection | ( | class(numericalmodeltype), intent(in), pointer | model, |
class(disconnexchangetype), intent(in), pointer | exchange | ||
) |
This is a factory method to create the various types of model connections
[in] | model | the model for which the connection will be created |
[in] | exchange | the type of connection |
Definition at line 147 of file ConnectionBuilder.f90.
|
private |
This loops over all connections and creates a halo with all models from the numerical solution. The model halo will be used to extend the interface grid to include cells from models which are
this | the connection builder object | |
[in,out] | connections | all connections that are created for this solution |
Definition at line 250 of file ConnectionBuilder.f90.
|
private |
If the configuration demands it, this will create connections, for the exchanges (one connection per exchange) add them to the global list, and return them as
newConnections | ||
this | the connection builder object | |
[in] | exchanges | the list of exchanges to process |
[in,out] | newconnections | the newly created connections |
Definition at line 81 of file ConnectionBuilder.f90.
subroutine connectionbuildermodule::processsolution | ( | class(connectionbuildertype) | this, |
class(basesolutiontype), pointer | solution | ||
) |
This routine processes all exchanges in a solution and, when required, creates model connections of the proper type (GWF-GWF, GWT-GWT, ...) for a subset. It removes this subset of exchanges from the solution and replaces them with the created connections.
this | the connection builder object |
solution | the solution for which the exchanges are processed |
Definition at line 40 of file ConnectionBuilder.f90.
subroutine connectionbuildermodule::setconnectionstosolution | ( | class(connectionbuildertype) | this, |
type(listtype), intent(inout) | connections, | ||
class(numericalsolutiontype), intent(in), pointer | solution | ||
) |
This adds the connections to the solution and removes those exchanges which are replaced by a connection
this | the connection builder object | |
[in,out] | connections | the connections created for the solution |
[in] | solution | the solution to which the connections are set |
Definition at line 195 of file ConnectionBuilder.f90.