Ewoms::Linear::OverlappingBCRSMatrix< BCRSMatrix > Class Template Reference

An overlap aware block-compressed row storage (BCRS) matrix. More...

#include <overlappingbcrsmatrix.hh>

Inheritance diagram for Ewoms::Linear::OverlappingBCRSMatrix< BCRSMatrix >:

Public Types

typedef Ewoms::Linear::DomesticOverlapFromBCRSMatrix Overlap
 
typedef ParentType::ColIterator ColIterator
 
typedef ParentType::ConstColIterator ConstColIterator
 
typedef ParentType::block_type block_type
 
typedef ParentType::field_type field_type
 

Public Member Functions

 OverlappingBCRSMatrix (const OverlappingBCRSMatrix &other)
 
template<class NativeBCRSMatrix >
 OverlappingBCRSMatrix (const NativeBCRSMatrix &nativeMatrix, const BorderList &borderList, const BlackList &blackList, unsigned overlapSize)
 
ParentType & asParent ()
 
const ParentType & asParent () const
 
const Overlapoverlap () const
 Returns the domestic overlap for the process.
 
template<class NativeBCRSMatrix >
void assignAdd (const NativeBCRSMatrix &nativeMatrix)
 Assign and syncronize the overlapping matrix from a non-overlapping one.
 
template<class NativeBCRSMatrix >
void assignCopy (const NativeBCRSMatrix &nativeMatrix)
 Assign and syncronize the overlapping matrix from a non-overlapping one. More...
 
void resetFront ()
 Set the identity matrix on the main diagonal of front indices.
 
void print () const
 
template<class NativeBCRSMatrix >
void assignFromNative (const NativeBCRSMatrix &nativeMatrix)
 
void syncAdd ()
 
void syncCopy ()
 

Detailed Description

template<class BCRSMatrix>
class Ewoms::Linear::OverlappingBCRSMatrix< BCRSMatrix >

An overlap aware block-compressed row storage (BCRS) matrix.

Member Function Documentation

◆ assignCopy()

template<class BCRSMatrix >
template<class NativeBCRSMatrix >
void Ewoms::Linear::OverlappingBCRSMatrix< BCRSMatrix >::assignCopy ( const NativeBCRSMatrix &  nativeMatrix)
inline

Assign and syncronize the overlapping matrix from a non-overlapping one.

The non-master entries are copied from the master


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