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

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

#include <dumux/linear/amgparallelhelpers.hh>

Inheritance diagram for Dumux::ParallelISTLHelper< GridView, AmgTraits >:
Inheritance graph

Description

template<class GridView, class AmgTraits>
class Dumux::ParallelISTLHelper< GridView, AmgTraits >

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

Public Member Functions

 ParallelISTLHelper (const GridView &gridView, const DofMapper &mapper, int verbose=1)
 
void initGhostsAndOwners ()
 
template<typename W >
void mask (W &w) const
 
double mask (std::size_t i) const
 
std::size_t ghost (std::size_t i) const
 
template<typename B , typename A >
void makeNonOverlappingConsistent (Dune::BlockVector< B, A > &v)
 
template<typename MatrixType , typename Comm >
void createIndexSetAndProjectForAMG (MatrixType &m, Comm &c)
 Creates a matrix suitable for parallel AMG and the parallel information. More...
 
const DofMapper & dofMapper () const
 Return the dofMapper. More...
 
const GridView & gridView () const
 Return the gridView. More...
 

Constructor & Destructor Documentation

◆ ParallelISTLHelper()

template<class GridView , class AmgTraits >
Dumux::ParallelISTLHelper< GridView, AmgTraits >::ParallelISTLHelper ( const GridView &  gridView,
const DofMapper &  mapper,
int  verbose = 1 
)
inline

Member Function Documentation

◆ createIndexSetAndProjectForAMG()

template<class GridView , class AmgTraits >
template<typename MatrixType , typename Comm >
void Dumux::ParallelISTLHelper< GridView, AmgTraits >::createIndexSetAndProjectForAMG ( MatrixType &  m,
Comm &  c 
)

Creates a matrix suitable for parallel AMG and the parallel information.

Template Parameters
MatrixTypeThe type of the ISTL matrix used.
CommThe type of the OwnerOverlapCopyCommunication
Parameters
mThe local matrix.
cThe parallel information object providing index set, interfaces and communicators.

◆ dofMapper()

template<class GridView , class AmgTraits >
const DofMapper & Dumux::ParallelISTLHelper< GridView, AmgTraits >::dofMapper ( ) const
inline

Return the dofMapper.

◆ ghost()

template<class GridView , class AmgTraits >
std::size_t Dumux::ParallelISTLHelper< GridView, AmgTraits >::ghost ( std::size_t  i) const
inline

◆ gridView()

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

Return the gridView.

◆ initGhostsAndOwners()

template<class GridView , class AmgTraits >
void Dumux::ParallelISTLHelper< GridView, AmgTraits >::initGhostsAndOwners ( )
inline

◆ makeNonOverlappingConsistent()

template<class GridView , class AmgTraits >
template<typename B , typename A >
void Dumux::ParallelISTLHelper< GridView, AmgTraits >::makeNonOverlappingConsistent ( Dune::BlockVector< B, A > &  v)
inline

◆ mask() [1/2]

template<class GridView , class AmgTraits >
double Dumux::ParallelISTLHelper< GridView, AmgTraits >::mask ( std::size_t  i) const
inline

◆ mask() [2/2]

template<class GridView , class AmgTraits >
template<typename W >
void Dumux::ParallelISTLHelper< GridView, AmgTraits >::mask ( W &  w) const
inline

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