A parallel helper class providing a nonoverlapping decomposition of all degrees of freedom. More...
#include <dumux/linear/parallelhelpers.hh>
A parallel helper class providing a nonoverlapping decomposition of all degrees of freedom.
Public Member Functions | |
ParallelISTLHelper (const GridView &gridView, const DofMapper &mapper) | |
bool | isGhost (std::size_t i) const |
bool | isOwned (std::size_t i) const |
template<class Comm > | |
void | createParallelIndexSet (Comm &comm) const |
Creates a parallel index set for a communicator. More... | |
const DofMapper & | dofMapper () const |
Return the dofMapper. More... | |
const GridView & | gridView () const |
Return the gridView. More... | |
|
inline |
|
inline |
Creates a parallel index set for a communicator.
comm | The OwnerOverlapCopyCommunication communicators |
The parallel index set contains for each dof index, the triplet (globalIndex, (localIndex, attribute)) where attribute is owner, overlap or copy. Each dof is uniquely owned by exactly one process. This allows to apply local operators additively to get a global operator without communication.
|
inline |
Return the dofMapper.
|
inline |
Return the gridView.
|
inline |
|
inline |