Opm::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> class Opm::Linear::GlobalIndices< ForeignOverlap > This class maps domestic row indices to and from "global" indices which is used to construct an algebraic overlap for the parallel linear solvers. Constructor & Destructor Documentation◆ GlobalIndices()
template<class ForeignOverlap >
Member Function Documentation◆ addIndex()
template<class ForeignOverlap >
Add an index to the domestic<->global mapping. References Opm::Linear::GlobalIndices< ForeignOverlap >::domesticToGlobal_, Opm::Linear::GlobalIndices< ForeignOverlap >::globalToDomestic_, and Opm::Linear::GlobalIndices< ForeignOverlap >::numDomestic_. Referenced by Opm::Linear::GlobalIndices< ForeignOverlap >::buildGlobalIndices_(), Opm::Linear::GlobalIndices< ForeignOverlap >::receiveBorderIndex(), and Opm::Linear::DomesticOverlapFromBCRSMatrix::receiveIndicesFromPeer_(). ◆ borderList_()
template<class ForeignOverlap >
◆ buildGlobalIndices_()
template<class ForeignOverlap >
References Opm::Linear::GlobalIndices< ForeignOverlap >::addIndex(), Opm::Linear::GlobalIndices< ForeignOverlap >::domesticOffset_, Opm::Linear::GlobalIndices< ForeignOverlap >::foreignOverlap_, Opm::Linear::GlobalIndices< ForeignOverlap >::mpiSize_, Opm::Linear::GlobalIndices< ForeignOverlap >::myRank_, Opm::Linear::GlobalIndices< ForeignOverlap >::numDomestic_, Opm::Linear::GlobalIndices< ForeignOverlap >::peerSet_(), Opm::Linear::GlobalIndices< ForeignOverlap >::receiveBorderFrom_(), and Opm::Linear::GlobalIndices< ForeignOverlap >::sendBorderTo_(). Referenced by Opm::Linear::GlobalIndices< ForeignOverlap >::GlobalIndices(). ◆ domesticToGlobal()
template<class ForeignOverlap >
Converts a domestic index to a global one. References Opm::Linear::GlobalIndices< ForeignOverlap >::domesticToGlobal_. Referenced by Opm::Linear::DomesticOverlapFromBCRSMatrix::domesticToGlobal(), Opm::Linear::GlobalIndices< ForeignOverlap >::print(), Opm::Linear::GlobalIndices< ForeignOverlap >::sendBorderIndex(), and Opm::Linear::DomesticOverlapFromBCRSMatrix::sendIndicesToPeer_(). ◆ globalToDomestic()
template<class ForeignOverlap >
Converts a global index to a domestic one. References Opm::Linear::GlobalIndices< ForeignOverlap >::globalToDomestic_. Referenced by Opm::Linear::DomesticOverlapFromBCRSMatrix::globalToDomestic(), Opm::Linear::GlobalIndices< ForeignOverlap >::print(), and Opm::Linear::DomesticOverlapFromBCRSMatrix::receiveIndicesFromPeer_(). ◆ hasGlobalIndex()
template<class ForeignOverlap >
Return true iff a given global index already exists. References Opm::Linear::GlobalIndices< ForeignOverlap >::globalToDomestic_. Referenced by Opm::Linear::DomesticOverlapFromBCRSMatrix::receiveIndicesFromPeer_(). ◆ numDomestic()
template<class ForeignOverlap >
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 Opm::Linear::GlobalIndices< ForeignOverlap >::numDomestic_. Referenced by Opm::Linear::DomesticOverlapFromBCRSMatrix::numDomestic(), and Opm::Linear::DomesticOverlapFromBCRSMatrix::receiveIndicesFromPeer_(). ◆ numLocal()
template<class ForeignOverlap >
Returns the number of indices which are in the interior or on the border of the current rank. References Opm::Linear::GlobalIndices< ForeignOverlap >::foreignOverlap_. ◆ peerSet_()
template<class ForeignOverlap >
◆ print()
template<class ForeignOverlap >
Prints the global indices of all domestic indices for debugging purposes. References Opm::Linear::GlobalIndices< ForeignOverlap >::domesticToGlobal(), Opm::Linear::GlobalIndices< ForeignOverlap >::domesticToGlobal_, Opm::Linear::GlobalIndices< ForeignOverlap >::globalToDomestic(), and Opm::Linear::GlobalIndices< ForeignOverlap >::myRank_. Referenced by Opm::Linear::DomesticOverlapFromBCRSMatrix::print(). ◆ receiveBorderFrom_()
template<class ForeignOverlap >
◆ receiveBorderIndex()
template<class ForeignOverlap >
Receive an index on the border from a remote process and add it the translation maps. References Opm::Linear::GlobalIndices< ForeignOverlap >::addIndex(), Opm::Linear::GlobalIndices< ForeignOverlap >::foreignOverlap_, Opm::Linear::PeerIndexGlobalIndex::globalIdx, and Opm::Linear::PeerIndexGlobalIndex::peerIdx. Referenced by Opm::Linear::GlobalIndices< ForeignOverlap >::receiveBorderFrom_(). ◆ sendBorderIndex()
template<class ForeignOverlap >
Send a border index to a remote process. References Opm::Linear::GlobalIndices< ForeignOverlap >::domesticToGlobal(), Opm::Linear::PeerIndexGlobalIndex::globalIdx, and Opm::Linear::PeerIndexGlobalIndex::peerIdx. Referenced by Opm::Linear::GlobalIndices< ForeignOverlap >::sendBorderTo_(). ◆ sendBorderTo_()
template<class ForeignOverlap >
Member Data Documentation◆ domesticOffset_
template<class ForeignOverlap >
◆ domesticToGlobal_
template<class ForeignOverlap >
◆ foreignOverlap_
template<class ForeignOverlap >
Referenced by Opm::Linear::GlobalIndices< ForeignOverlap >::borderList_(), Opm::Linear::GlobalIndices< ForeignOverlap >::buildGlobalIndices_(), Opm::Linear::GlobalIndices< ForeignOverlap >::numLocal(), Opm::Linear::GlobalIndices< ForeignOverlap >::peerSet_(), Opm::Linear::GlobalIndices< ForeignOverlap >::receiveBorderFrom_(), Opm::Linear::GlobalIndices< ForeignOverlap >::receiveBorderIndex(), and Opm::Linear::GlobalIndices< ForeignOverlap >::sendBorderTo_(). ◆ globalToDomestic_
template<class ForeignOverlap >
◆ mpiSize_
template<class ForeignOverlap >
◆ myRank_
template<class ForeignOverlap >
◆ numDomestic_
template<class ForeignOverlap >
The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||