|
dune-fem 2.12-git
|
implementation of a Dune::Fem::LocalFunction on a FunctionSpace V restircted/prolongated from an other function space W. More...
#include <dune/fem/function/localfunction/converter.hh>

Classes | |
| struct | Traits |
Public Types | |
| typedef ToNewDimRangeFunctionSpace< typenameHostLocalFunction::FunctionSpaceType, dimRange >::Type | FunctionSpaceType |
| typedef HostLocalFunction::EntityType | EntityType |
| typedef FunctionSpaceType::DomainType | DomainType |
| typedef FunctionSpaceType::RangeType | RangeType |
| typedef FunctionSpaceType::JacobianRangeType | JacobianRangeType |
| typedef FunctionSpaceType::HessianRangeType | HessianRangeType |
| typedef FunctionSpaceType::DomainFieldType | DomainFieldType |
| typedef FunctionSpaceType::RangeFieldType | RangeFieldType |
Public Member Functions | |
| LocalFunctionConverter (const HostLocalFunction &hostLocalFunction, const Converter &converter=Converter()) | |
| LocalFunctionConverter (HostLocalFunction &&hostLocalFunction, const Converter &converter=Converter()) | |
| template<class Point > | |
| void | evaluate (const Point &p, RangeType &ret) const |
| template<class Point > | |
| RangeType | operator() (const Point &p) const |
| template<class Point > | |
| void | jacobian (const Point &p, JacobianRangeType &jac) const |
| template<class Point > | |
| void | hessian (const Point &p, HessianRangeType &hes) const |
| template<class Quadrature , class ... Vectors> | |
| void | evaluateQuadrature (const Quadrature &quad, Vectors &... vector) const |
| int | order () const |
| EntityType | entity () const |
| void | init (const EntityType &entity) |
Static Public Attributes | |
| static const int | dimRange = decltype( std::declval< Converter >() ( std::declval< HostRangeType >() ) ) ::dimension |
| static const int | dimDomain = FunctionSpaceType::dimDomain |
Protected Member Functions | |
| template<class QuadratureType , class VectorType > | |
| void | evaluateQuadratureImp (const QuadratureType &quadrature, VectorType &values, const RangeType &) const |
| template<class QuadratureType , class VectorType > | |
| void | evaluateQuadratureImp (const QuadratureType &quadrature, VectorType &values, const JacobianRangeType &) const |
| template<class QuadratureType , class VectorType > | |
| void | evaluateQuadratureImp (const QuadratureType &quadrature, VectorType &values, const HessianRangeType &) const |
Protected Attributes | |
| Converter | converter_ |
Detailed Description
class Dune::Fem::LocalFunctionConverter< HostLocalFunction, Converter, Storage >
implementation of a Dune::Fem::LocalFunction on a FunctionSpace V restircted/prolongated from an other function space W.
The HostLocalFunction is assumed to fulfill the LocalFunctioninterface. Basically the following functions are implemented on the HostLocalFunction:
The template paramter Converter, is used to get the restriction/prolongation onto the space V. Converter is expected to provide the method {Hessian,Jacobian,.}RangeType converter( Host{Hessian,Jacobian,. }RangeType ); which does the acctual mapping onto V. The dimension of the new Range is obtained from the method Convertor::operator( HostRangeType )::dimension.
Users may prescribe how the parameter localFunction is stored by providing a fourth template parameter, the storage policy. Further informations on the storage policy can be found in the file dune/fem/function/common/instationary.hh.
The free-standing function
may be used to conveniently create a new instance of a LocalFunctionConverter. Use
to create an converted local function.
- Template Parameters
-
HostLocalFunction original local function Converter structure which provides the restirction/prolongation from W to V StoragePolicy storage policy
Member Typedef Documentation
◆ DomainFieldType
| typedef FunctionSpaceType::DomainFieldType Dune::Fem::LocalFunctionConverter< HostLocalFunction, Converter, Storage >::DomainFieldType |
◆ DomainType
| typedef FunctionSpaceType::DomainType Dune::Fem::LocalFunctionConverter< HostLocalFunction, Converter, Storage >::DomainType |
◆ EntityType
| typedef HostLocalFunction::EntityType Dune::Fem::LocalFunctionConverter< HostLocalFunction, Converter, Storage >::EntityType |
◆ FunctionSpaceType
| typedef ToNewDimRangeFunctionSpace<typenameHostLocalFunction::FunctionSpaceType,dimRange>::Type Dune::Fem::LocalFunctionConverter< HostLocalFunction, Converter, Storage >::FunctionSpaceType |
◆ HessianRangeType
| typedef FunctionSpaceType::HessianRangeType Dune::Fem::LocalFunctionConverter< HostLocalFunction, Converter, Storage >::HessianRangeType |
◆ JacobianRangeType
| typedef FunctionSpaceType::JacobianRangeType Dune::Fem::LocalFunctionConverter< HostLocalFunction, Converter, Storage >::JacobianRangeType |
◆ RangeFieldType
| typedef FunctionSpaceType::RangeFieldType Dune::Fem::LocalFunctionConverter< HostLocalFunction, Converter, Storage >::RangeFieldType |
◆ RangeType
| typedef FunctionSpaceType::RangeType Dune::Fem::LocalFunctionConverter< HostLocalFunction, Converter, Storage >::RangeType |
Constructor & Destructor Documentation
◆ LocalFunctionConverter() [1/2]
|
inline |
◆ LocalFunctionConverter() [2/2]
|
inline |
Member Function Documentation
◆ entity()
|
inline |
◆ evaluate()
|
inline |
◆ evaluateQuadrature()
|
inline |
◆ evaluateQuadratureImp() [1/3]
|
inlineprotected |
◆ evaluateQuadratureImp() [2/3]
|
inlineprotected |
◆ evaluateQuadratureImp() [3/3]
|
inlineprotected |
◆ hessian()
|
inline |
◆ init()
|
inline |
◆ jacobian()
|
inline |
◆ operator()()
|
inline |
◆ order()
|
inline |
Member Data Documentation
◆ converter_
|
protected |
◆ dimDomain
|
static |
◆ dimRange
|
static |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8