KASKADE 7 development version
Public Member Functions | List of all members
Kaskade::ConstantMapper< 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 <constantspace.hh>

Detailed Description

template<class ScalarType, class GV>
class Kaskade::ConstantMapper< 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 constant elements, this realizes just the identity.

Definition at line 208 of file constantspace.hh.

Public Member Functions

 Combiner (Cell const &cell)
 
template<class Matrix >
void rightTransform (Matrix &) const
 In-place computation of \( A \leftarrow A K \). Since \( K \) is the identity, this is a no-op. More...
 
template<int n, int m>
void rightTransform (std::vector< VariationalArg< Scalar, n, m > > &) const
 In-place computation of row vectors \( v \leftarrow v K \). More...
 
template<class Matrix >
void leftPseudoInverse (Matrix &) const
 In-place computation of \( A \leftarrow K^+ A \). More...
 
 operator Dune::BCRSMatrix< Dune::FieldMatrix< Scalar, 1, 1 > > () const
 

Constructor & Destructor Documentation

◆ Combiner()

template<class ScalarType , class GV >
Kaskade::ConstantMapper< ScalarType, GV >::Combiner::Combiner ( Cell const &  cell)
inline

Definition at line 210 of file constantspace.hh.

Member Function Documentation

◆ leftPseudoInverse()

template<class ScalarType , class GV >
template<class Matrix >
void Kaskade::ConstantMapper< ScalarType, GV >::Combiner::leftPseudoInverse ( Matrix &  ) const
inline

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

Definition at line 225 of file constantspace.hh.

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

template<class ScalarType , class GV >
Kaskade::ConstantMapper< ScalarType, GV >::Combiner::operator Dune::BCRSMatrix< Dune::FieldMatrix< Scalar, 1, 1 > > ( ) const
inline

Implicit conversion to a sparse matrix. This is just 1.

Definition at line 229 of file constantspace.hh.

◆ rightTransform() [1/2]

template<class ScalarType , class GV >
template<class Matrix >
void Kaskade::ConstantMapper< ScalarType, GV >::Combiner::rightTransform ( Matrix &  ) const
inline

In-place computation of \( A \leftarrow A K \). Since \( K \) is the identity, this is a no-op.

Definition at line 217 of file constantspace.hh.

◆ rightTransform() [2/2]

template<class ScalarType , class GV >
template<int n, int m>
void Kaskade::ConstantMapper< ScalarType, GV >::Combiner::rightTransform ( std::vector< VariationalArg< Scalar, n, m > > &  ) const
inline

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

Definition at line 221 of file constantspace.hh.


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