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

A combiner 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 <morleyspace.hh>

Detailed Description

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

A combiner 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 Morley elements, this is a dense 6x6 matrix such that the global ansatz functions are continuous at vertices and their gradients are continuous at edge midpoints.

Definition at line 184 of file morleyspace.hh.

Public Member Functions

 Combiner (Cell const &cell, GridView const &gv, IndexSet const &is)
 
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 > > &vs) const
 In-place computation of row vectors \( v \leftarrow v^T 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
 Implicit conversion to a sparse matrix. More...
 

Constructor & Destructor Documentation

◆ Combiner()

template<class ScalarType , class GV >
Kaskade::MorleyMapper< ScalarType, GV >::Combiner::Combiner ( Cell const &  cell,
GridView const &  gv,
IndexSet const &  is 
)
inline
Parameters
cellthe cell for which the combiner is to construct
isthe index set used for global orientation of edges by global vertex indices

Definition at line 189 of file morleyspace.hh.

Member Function Documentation

◆ leftPseudoInverse()

template<class ScalarType , class GV >
template<class Matrix >
void Kaskade::MorleyMapper< ScalarType, GV >::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 289 of file morleyspace.hh.

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

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

Implicit conversion to a sparse matrix.

Definition at line 297 of file morleyspace.hh.

◆ rightTransform() [1/2]

template<class ScalarType , class GV >
template<class Matrix >
void Kaskade::MorleyMapper< ScalarType, GV >::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 252 of file morleyspace.hh.

◆ rightTransform() [2/2]

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

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

Definition at line 260 of file morleyspace.hh.


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