Ewoms::Linear::GlobalIndices< ForeignOverlap > Class Template Reference This class maps domestic row indices to and from "global" indices which is used to construct an algebraic overlap for the parallel linear solvers. More...
Detailed Descriptiontemplate<class ForeignOverlap>
|
|
inline |
|
inline |
Add an index to the domestic<->global mapping.
References Ewoms::Linear::GlobalIndices< ForeignOverlap >::domesticToGlobal_, Ewoms::Linear::GlobalIndices< ForeignOverlap >::globalToDomestic_, and Ewoms::Linear::GlobalIndices< ForeignOverlap >::numDomestic_.
Referenced by Ewoms::Linear::GlobalIndices< ForeignOverlap >::buildGlobalIndices_(), Ewoms::Linear::GlobalIndices< ForeignOverlap >::receiveBorderIndex(), and Ewoms::Linear::DomesticOverlapFromBCRSMatrix< BCRSMatrix >::receiveIndicesFromPeer_().
|
inlineprotected |
|
inlineprotected |
References Ewoms::Linear::GlobalIndices< ForeignOverlap >::addIndex(), Ewoms::Linear::GlobalIndices< ForeignOverlap >::domesticOffset_, Ewoms::Linear::GlobalIndices< ForeignOverlap >::foreignOverlap_, Ewoms::Linear::GlobalIndices< ForeignOverlap >::mpiSize_, Ewoms::Linear::GlobalIndices< ForeignOverlap >::myRank_, Ewoms::Linear::GlobalIndices< ForeignOverlap >::numDomestic_, Ewoms::Linear::GlobalIndices< ForeignOverlap >::peerSet_(), Ewoms::Linear::GlobalIndices< ForeignOverlap >::receiveBorderFrom_(), and Ewoms::Linear::GlobalIndices< ForeignOverlap >::sendBorderTo_().
Referenced by Ewoms::Linear::GlobalIndices< ForeignOverlap >::GlobalIndices().
|
inline |
Converts a domestic index to a global one.
References Ewoms::Linear::GlobalIndices< ForeignOverlap >::domesticToGlobal_.
Referenced by Ewoms::Linear::DomesticOverlapFromBCRSMatrix< BCRSMatrix >::domesticToGlobal(), Ewoms::Linear::GlobalIndices< ForeignOverlap >::print(), Ewoms::Linear::GlobalIndices< ForeignOverlap >::sendBorderIndex(), and Ewoms::Linear::DomesticOverlapFromBCRSMatrix< BCRSMatrix >::sendIndicesToPeer_().
|
inline |
Converts a global index to a domestic one.
References Ewoms::Linear::GlobalIndices< ForeignOverlap >::globalToDomestic_.
Referenced by Ewoms::Linear::DomesticOverlapFromBCRSMatrix< BCRSMatrix >::globalToDomestic(), Ewoms::Linear::GlobalIndices< ForeignOverlap >::print(), and Ewoms::Linear::DomesticOverlapFromBCRSMatrix< BCRSMatrix >::receiveIndicesFromPeer_().
|
inline |
Return true iff a given global index already exists.
References Ewoms::Linear::GlobalIndices< ForeignOverlap >::globalToDomestic_.
Referenced by Ewoms::Linear::DomesticOverlapFromBCRSMatrix< BCRSMatrix >::receiveIndicesFromPeer_().
|
inline |
Returns the number domestic indices.
The domestic indices are defined as the process' local indices plus its copies of indices in the overlap regions
References Ewoms::Linear::GlobalIndices< ForeignOverlap >::numDomestic_.
Referenced by Ewoms::Linear::DomesticOverlapFromBCRSMatrix< BCRSMatrix >::numDomestic(), and Ewoms::Linear::DomesticOverlapFromBCRSMatrix< BCRSMatrix >::receiveIndicesFromPeer_().
|
inline |
Returns the number of indices which are in the interior or on the border of the current rank.
References Ewoms::Linear::GlobalIndices< ForeignOverlap >::foreignOverlap_.
|
inlineprotected |
|
inline |
Prints the global indices of all domestic indices for debugging purposes.
References Ewoms::Linear::GlobalIndices< ForeignOverlap >::domesticToGlobal(), Ewoms::Linear::GlobalIndices< ForeignOverlap >::domesticToGlobal_, Ewoms::Linear::GlobalIndices< ForeignOverlap >::globalToDomestic(), and Ewoms::Linear::GlobalIndices< ForeignOverlap >::myRank_.
Referenced by Ewoms::Linear::DomesticOverlapFromBCRSMatrix< BCRSMatrix >::print().
|
inlineprotected |
|
inline |
Receive an index on the border from a remote process and add it the translation maps.
References Ewoms::Linear::GlobalIndices< ForeignOverlap >::addIndex(), Ewoms::Linear::GlobalIndices< ForeignOverlap >::foreignOverlap_, Ewoms::Linear::PeerIndexGlobalIndex::globalIdx, and Ewoms::Linear::PeerIndexGlobalIndex::peerIdx.
Referenced by Ewoms::Linear::GlobalIndices< ForeignOverlap >::receiveBorderFrom_().
|
inline |
Send a border index to a remote process.
References Ewoms::Linear::GlobalIndices< ForeignOverlap >::domesticToGlobal(), Ewoms::Linear::PeerIndexGlobalIndex::globalIdx, and Ewoms::Linear::PeerIndexGlobalIndex::peerIdx.
Referenced by Ewoms::Linear::GlobalIndices< ForeignOverlap >::sendBorderTo_().
|
inlineprotected |
|
protected |
|
protected |
|
protected |
Referenced by Ewoms::Linear::GlobalIndices< ForeignOverlap >::borderList_(), Ewoms::Linear::GlobalIndices< ForeignOverlap >::buildGlobalIndices_(), Ewoms::Linear::GlobalIndices< ForeignOverlap >::numLocal(), Ewoms::Linear::GlobalIndices< ForeignOverlap >::peerSet_(), Ewoms::Linear::GlobalIndices< ForeignOverlap >::receiveBorderFrom_(), Ewoms::Linear::GlobalIndices< ForeignOverlap >::receiveBorderIndex(), and Ewoms::Linear::GlobalIndices< ForeignOverlap >::sendBorderTo_().
|
protected |
|
protected |
|
protected |
|
protected |