3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
Dumux::ParallelMatrixHelper< Matrix, GridView, DofMapper, dofCodim > Class Template Reference

Helper class for adding up matrix entries on border. More...

#include <dumux/linear/parallelhelpers.hh>

Description

template<class Matrix, class GridView, class DofMapper, int dofCodim>
class Dumux::ParallelMatrixHelper< Matrix, GridView, DofMapper, dofCodim >

Helper class for adding up matrix entries on border.

Public Member Functions

 ParallelMatrixHelper (const GridView &gridView, const DofMapper &mapper)
template<class IsGhostFunc>
void extendMatrix (Matrix &A, const IsGhostFunc &isGhost)
 communicates values for the sparsity pattern of the new matrix.
void sumEntries (Matrix &A)
 Sums up the entries corresponding to border vertices.

Constructor & Destructor Documentation

◆ ParallelMatrixHelper()

template<class Matrix, class GridView, class DofMapper, int dofCodim>
Dumux::ParallelMatrixHelper< Matrix, GridView, DofMapper, dofCodim >::ParallelMatrixHelper ( const GridView & gridView,
const DofMapper & mapper )
inline

Member Function Documentation

◆ extendMatrix()

template<class Matrix, class GridView, class DofMapper, int dofCodim>
template<class IsGhostFunc>
void Dumux::ParallelMatrixHelper< Matrix, GridView, DofMapper, dofCodim >::extendMatrix ( Matrix & A,
const IsGhostFunc & isGhost )
inline

communicates values for the sparsity pattern of the new matrix.

Parameters
AMatrix to operate on.
isGhostFunction returning if is ghost.

◆ sumEntries()

template<class Matrix, class GridView, class DofMapper, int dofCodim>
void Dumux::ParallelMatrixHelper< Matrix, GridView, DofMapper, dofCodim >::sumEntries ( Matrix & A)
inline

Sums up the entries corresponding to border vertices.

Parameters
AMatrix to operate on.

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