KASKADE 7 development version
Loading...
Searching...
No Matches
Kaskade::ConstantMapper< ScalarType, GV >::Converter Class Reference

A class mapping local shape function values and derivatives to global shape function values and derivatives. More...

#include <constantspace.hh>

Public Member Functions

 Converter ()
 Converter (Cell const &)
void moveTo (Cell const &)
void setLocalPosition (Dune::FieldVector< ctype, Grid::dimension > const &)
Dune::FieldMatrix< Scalar, 1, 1 > global (Dune::FieldMatrix< Scalar, 1, 1 > const &sf) const
 Applies the transformation \( \psi(x) \) to shape function value.
template<class Scalar>
VariationalArg< Scalar, dim, 1 > global (VariationalArg< Scalar, dim, 1 > const &sf, int deriv=1) const
 Applies the transformation \( \psi \) to shape function value, derivative, and Hessian, returning a filled VariationalArg.
Dune::FieldMatrix< Scalar, 1, 1 > local (Dune::FieldMatrix< Scalar, 1, 1 > const &glob) const

Detailed Description

template<class ScalarType, class GV>
class Kaskade::ConstantMapper< ScalarType, GV >::Converter

A class mapping local shape function values and derivatives to global shape function values and derivatives.

For scalar constant shape functions this is absolutely trivial :).

Definition at line 170 of file constantspace.hh.

Constructor & Destructor Documentation

◆ Converter() [1/2]

template<class ScalarType, class GV>
Kaskade::ConstantMapper< ScalarType, GV >::Converter::Converter ( )
inline

Definition at line 173 of file constantspace.hh.

◆ Converter() [2/2]

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

Definition at line 175 of file constantspace.hh.

Member Function Documentation

◆ global() [1/2]

template<class ScalarType, class GV>
Dune::FieldMatrix< Scalar, 1, 1 > Kaskade::ConstantMapper< ScalarType, GV >::Converter::global ( Dune::FieldMatrix< Scalar, 1, 1 > const & sf) const
inline

Applies the transformation \( \psi(x) \) to shape function value.

Definition at line 182 of file constantspace.hh.

◆ global() [2/2]

template<class ScalarType, class GV>
template<class Scalar>
VariationalArg< Scalar, dim, 1 > Kaskade::ConstantMapper< ScalarType, GV >::Converter::global ( VariationalArg< Scalar, dim, 1 > const & sf,
int deriv = 1 ) const
inline

Applies the transformation \( \psi \) to shape function value, derivative, and Hessian, returning a filled VariationalArg.

Definition at line 189 of file constantspace.hh.

◆ local()

template<class ScalarType, class GV>
Dune::FieldMatrix< Scalar, 1, 1 > Kaskade::ConstantMapper< ScalarType, GV >::Converter::local ( Dune::FieldMatrix< Scalar, 1, 1 > const & glob) const
inline

Definition at line 198 of file constantspace.hh.

◆ moveTo()

template<class ScalarType, class GV>
void Kaskade::ConstantMapper< ScalarType, GV >::Converter::moveTo ( Cell const & )
inline

Definition at line 177 of file constantspace.hh.

◆ setLocalPosition()

template<class ScalarType, class GV>
void Kaskade::ConstantMapper< ScalarType, GV >::Converter::setLocalPosition ( Dune::FieldVector< ctype, Grid::dimension > const & )
inline

Definition at line 179 of file constantspace.hh.


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