KASKADE 7 development version
Public Member Functions | Protected Attributes | List of all members
Kaskade::HdivMapper< ScalarType, GV >::Combiner Class Reference

A class implementing a matrix \( K \) mapping a subset of global degrees of freedom (those given by globalIndices()) to local degrees of freedom (shape functions). More...

#include <nedelecspace.hh>

Detailed Description

template<class ScalarType, class GV>
class Kaskade::HdivMapper< ScalarType, GV >::Combiner

A class implementing a matrix \( K \) mapping a subset of global degrees of freedom (those given by globalIndices()) to local degrees of freedom (shape functions).

For Hdiv conforming elements, this is a diagonal matrix with entries 1 or -1 depending on the global vs. local orientation of the faces.

Definition at line 369 of file nedelecspace.hh.

Inheritance diagram for Kaskade::HdivMapper< ScalarType, GV >::Combiner:
Kaskade::DiagonalCombiner< Scalar >

Public Member Functions

 Combiner (Cell const &cell, GridView const &gv, IndexSet const &is, size_t index, ShapeFunctionSet const &sfs)
 
void rightTransform (Matrix &A) const
 In-place computation of \( A \leftarrow A K \). More...
 
void rightTransform (std::vector< VariationalArg< Scalar, n, m > > &v) const
 In-place computation of row vectors \( v \leftarrow v K \). More...
 
void leftPseudoInverse (Matrix &A) const
 In-place computation of \( A \leftarrow K^+ A \). More...
 
 operator Dune::BCRSMatrix< Dune::FieldMatrix< Scalar, 1, 1 > > () const
 

Protected Attributes

std::vector< Scalarorient
 

Constructor & Destructor Documentation

◆ Combiner()

template<class ScalarType , class GV >
Kaskade::HdivMapper< ScalarType, GV >::Combiner::Combiner ( Cell const &  cell,
GridView const &  gv,
IndexSet const &  is,
size_t  index,
ShapeFunctionSet const &  sfs 
)
inline
Parameters
cellthe cell for which the combiner is to construct
gvthe grid view
isthe index set used for global orientation of edges by global vertex indices
indexthe index of the current cell
sfsthe shape function set of the current cell

Definition at line 378 of file nedelecspace.hh.

Member Function Documentation

◆ leftPseudoInverse()

void Kaskade::DiagonalCombiner< Scalar >::leftPseudoInverse ( Matrix &  A) const
inlineinherited

In-place computation of \( A \leftarrow K^+ A \).

Template Parameters
MatrixA matrix class satisfying the Dune::DenseMatrix interface.

Definition at line 78 of file combiner.hh.

◆ operator Dune::BCRSMatrix< Dune::FieldMatrix< Scalar, 1, 1 > >()

Kaskade::DiagonalCombiner< Scalar >::operator Dune::BCRSMatrix< Dune::FieldMatrix< Scalar, 1, 1 > > ( ) const
inlineinherited

Implicit conversion to a sparse matrix. This is just the diagonal.

Definition at line 89 of file combiner.hh.

◆ rightTransform() [1/2]

void Kaskade::DiagonalCombiner< Scalar >::rightTransform ( Matrix &  A) const
inlineinherited

In-place computation of \( A \leftarrow A K \).

Template Parameters
MatrixA matrix class satisfying the Dune::DenseMatrix interface.

Definition at line 54 of file combiner.hh.

◆ rightTransform() [2/2]

void Kaskade::DiagonalCombiner< Scalar >::rightTransform ( std::vector< VariationalArg< Scalar, n, m > > &  v) const
inlineinherited

In-place computation of row vectors \( v \leftarrow v K \).

Definition at line 64 of file combiner.hh.

Member Data Documentation

◆ orient

std::vector<Scalar> Kaskade::DiagonalCombiner< Scalar >::orient
protectedinherited

Definition at line 106 of file combiner.hh.


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