Classes |
Public Types |
Public Member Functions |
Static Public Member Functions |
List of all members
Opm::InterRegFlowMap Class Reference Inter-region flow accumulation maps for all region definition arrays. More...
Detailed DescriptionInter-region flow accumulation maps for all region definition arrays. Member Typedef Documentation◆ CellCharacteristics of a cell from a simulation grid. Constructor & Destructor Documentation◆ InterRegFlowMap() [1/4]
Default constructor. ◆ InterRegFlowMap() [2/4]
Constructor.
◆ InterRegFlowMap() [3/4]
◆ InterRegFlowMap() [4/4]
Member Function Documentation◆ addConnection()
Add flow rate connection between regions for all region definitions.
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. Referenced by Opm::OutputBlackOilModule< TypeTag >::processFluxes(). ◆ 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. Referenced by Opm::OutputBlackOilModule< TypeTag >::initializeFluxData(). ◆ 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. Referenced by Opm::EclWriter< TypeTag >::evalSummaryState(), and Opm::OutputBlackOilModule< TypeTag >::finalizeFluxData(). ◆ createMapFromNames()
Special purpose constructor for global object being collected on the I/O rank. Only knows about the FIP region set names.
◆ 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. ◆ names()
Names of all applicable region definition arrays. Mostly intended for summary output purposes. Referenced by read(). ◆ operator=() [1/2]
◆ operator=() [2/2]
◆ 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()
.
References names(). Referenced by Opm::PackUnpackInterRegFlows::unpack(). ◆ readIsConsistent()
Whether or not previous read() operation succeeded. ◆ wantInterRegflowSummary()
◆ write()
template<class MessageBufferType >
Serialise internal representation to MPI message buffer
Referenced by Opm::PackUnpackInterRegFlows::pack(). The documentation for this class was generated from the following file: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||