KASKADE 7 development version
Public Member Functions | List of all members
Kaskade::HierarchicMapperImplementationBase< Scalar_, GV, restricted >::Combiner Class Reference

#include <hierarchicspace.hh>

Detailed Description

template<class Scalar_, class GV, bool restricted>
class Kaskade::HierarchicMapperImplementationBase< Scalar_, GV, restricted >::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 hierarchic elements, this realizes just a sign change, i.e. \( K \) is a diagonal matrix with entries +1 and -1.

Definition at line 138 of file hierarchicspace.hh.

Public Member Functions

 Combiner (GlobalIndices globalIndices, ShapeFunctionSet const &)
 
template<class Matrix >
void rightTransform (Matrix &A) const
 In-place computation of \( A \leftarrow A K \). More...
 
template<int n, int m>
void rightTransform (std::vector< VariationalArg< Scalar, n, m > > &v) const
 In-place computation of row vectors \( v \leftarrow v K \). More...
 
template<class Matrix >
void leftPseudoInverse (Matrix &A) 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 Scalar_ , class GV , bool restricted>
Kaskade::HierarchicMapperImplementationBase< Scalar_, GV, restricted >::Combiner::Combiner ( GlobalIndices  globalIndices,
ShapeFunctionSet const &   
)
inline

Definition at line 143 of file hierarchicspace.hh.

Member Function Documentation

◆ leftPseudoInverse()

template<class Scalar_ , class GV , bool restricted>
template<class Matrix >
void Kaskade::HierarchicMapperImplementationBase< Scalar_, GV, restricted >::Combiner::leftPseudoInverse ( Matrix &  A) const
inline

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

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

Definition at line 177 of file hierarchicspace.hh.

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

template<class Scalar_ , class GV , bool restricted>
Kaskade::HierarchicMapperImplementationBase< Scalar_, GV, restricted >::Combiner::operator Dune::BCRSMatrix< Dune::FieldMatrix< Scalar, 1, 1 > > ( ) const
inline

Implicit conversion to a sparse matrix. This is just a signed permutation matrix.

Definition at line 187 of file hierarchicspace.hh.

◆ rightTransform() [1/2]

template<class Scalar_ , class GV , bool restricted>
template<class Matrix >
void Kaskade::HierarchicMapperImplementationBase< Scalar_, GV, restricted >::Combiner::rightTransform ( Matrix &  A) const
inline

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

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

Definition at line 152 of file hierarchicspace.hh.

◆ rightTransform() [2/2]

template<class Scalar_ , class GV , bool restricted>
template<int n, int m>
void Kaskade::HierarchicMapperImplementationBase< Scalar_, GV, restricted >::Combiner::rightTransform ( std::vector< VariationalArg< Scalar, n, m > > &  v) const
inline

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

Definition at line 162 of file hierarchicspace.hh.


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