3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Classes | Public Member Functions | List of all members
Dumux::ParallelISTLHelper< LinearSolverTraits > Class Template Reference

A parallel helper class providing a nonoverlapping decomposition of all degrees of freedom. More...

#include <dumux/linear/parallelhelpers.hh>

Inheritance diagram for Dumux::ParallelISTLHelper< LinearSolverTraits >:

Description

template<class LinearSolverTraits>
class Dumux::ParallelISTLHelper< LinearSolverTraits >

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...
 

Constructor & Destructor Documentation

◆ ParallelISTLHelper()

template<class LinearSolverTraits >
Dumux::ParallelISTLHelper< LinearSolverTraits >::ParallelISTLHelper ( const GridView &  gridView,
const DofMapper &  mapper 
)
inline

Member Function Documentation

◆ createParallelIndexSet()

template<class LinearSolverTraits >
template<class Comm >
void Dumux::ParallelISTLHelper< LinearSolverTraits >::createParallelIndexSet ( Comm &  comm) const
inline

Creates a parallel index set for a communicator.

Parameters
commThe 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.

◆ dofMapper()

template<class LinearSolverTraits >
const DofMapper & Dumux::ParallelISTLHelper< LinearSolverTraits >::dofMapper ( ) const
inline

Return the dofMapper.

◆ gridView()

template<class LinearSolverTraits >
const GridView & Dumux::ParallelISTLHelper< LinearSolverTraits >::gridView ( ) const
inline

Return the gridView.

◆ isGhost()

template<class LinearSolverTraits >
bool Dumux::ParallelISTLHelper< LinearSolverTraits >::isGhost ( std::size_t  i) const
inline

◆ isOwned()

template<class LinearSolverTraits >
bool Dumux::ParallelISTLHelper< LinearSolverTraits >::isOwned ( std::size_t  i) const
inline

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