Opm::Linear::BlackList Class Reference

Expresses which degrees of freedom are blacklisted for the parallel linear solvers and which domestic indices they correspond to. More...

#include <blacklist.hh>

Classes

struct  PeerBlackListedEntry
 

Public Types

using PeerBlackList = std::vector< PeerBlackListedEntry >
 
using PeerBlackLists = std::map< ProcessRank, PeerBlackList >
 

Public Member Functions

 BlackList ()
 
 BlackList (const BlackList &)=default
 
bool hasIndex (Index nativeIdx) const
 
void addIndex (Index nativeIdx)
 
Index nativeToDomestic (Index nativeIdx) const
 
void setPeerList (ProcessRank peerRank, const PeerBlackList &peerBlackList)
 
template<class DomesticOverlap >
void updateNativeToDomesticMap (const DomesticOverlap &domesticOverlap)
 
void print () const
 

Detailed Description

Expresses which degrees of freedom are blacklisted for the parallel linear solvers and which domestic indices they correspond to.

Member Typedef Documentation

◆ PeerBlackList

◆ PeerBlackLists

Constructor & Destructor Documentation

◆ BlackList() [1/2]

Opm::Linear::BlackList::BlackList ( )
inline

◆ BlackList() [2/2]

Opm::Linear::BlackList::BlackList ( const BlackList )
default

Member Function Documentation

◆ addIndex()

void Opm::Linear::BlackList::addIndex ( Index  nativeIdx)
inline

◆ hasIndex()

bool Opm::Linear::BlackList::hasIndex ( Index  nativeIdx) const
inline

◆ nativeToDomestic()

Index Opm::Linear::BlackList::nativeToDomestic ( Index  nativeIdx) const
inline

Referenced by print().

◆ print()

void Opm::Linear::BlackList::print ( ) const
inline

References nativeToDomestic().

◆ setPeerList()

void Opm::Linear::BlackList::setPeerList ( ProcessRank  peerRank,
const PeerBlackList peerBlackList 
)
inline

◆ updateNativeToDomesticMap()

template<class DomesticOverlap >
void Opm::Linear::BlackList::updateNativeToDomesticMap ( const DomesticOverlap &  domesticOverlap)
inline

The documentation for this class was generated from the following file: