Opm::InterRegFlowMapSingleFIP Class Reference
Detailed DescriptionForm CSR adjacency matrix representation of inter-region flow rate graph provided as a list of connections between regions on local MPI rank. Pertains to a single FIP definition array (e.g., FIPNUM). Constructor & Destructor Documentation◆ InterRegFlowMapSingleFIP()
Constructor
Member Function Documentation◆ addConnection()
Add flow rate connection between regions.
If both cells are in the same region, or if neither cell is interior to this MPI rank, then this function does nothing. If one cell is interior to this MPI rank and the other isn't, then this function will include the flow rate contribution if and only if the cell with the smallest associate region ID is interior to this MPI rank. ◆ assignGlobalMaxRegionID()
Assign maximum FIP region ID across all MPI ranks. Fails if global maximum is smaller than local maximum region ID.
◆ clear()
Clear all internal buffers, but preserve allocated capacity. ◆ compress()
Form CSR adjacency matrix representation of input graph from connections established in previous calls to addConnection(). Number of rows in the CSR representation is the maximum FIP region ID. ◆ getInterRegFlows()
Get read-only access to the underlying CSR representation. Mostly intended for summary output purposes. ◆ getLocalMaxRegionID()
Retrieve maximum FIP region ID on local MPI rank. ◆ read()
template<class MessageBufferType >
Reconstitute internal object representation from MPI message buffer This object ( *this
) is not usable in subsequent calls to void addConnection(const Cell &source, const Cell &destination, const data::InterRegFlowMap::FlowRates &rates) following a call to member function read()
void read(MessageBufferType &buffer) Definition: InterRegFlows.hpp:145 .
◆ write()
template<class MessageBufferType >
Serialise internal representation to MPI message buffer
Friends And Related Function Documentation◆ InterRegFlowMap
The documentation for this class was generated from the following file: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||