DUNE-ACFEM (2.5.1)
localfunctionwrapper.hh
47 typedef Fem::DiscreteFunctionSpaceAdapter<FunctionSpaceType, GridPartType> DiscreteFunctionSpaceType;
73 typedef GridFunctionExpression<typename LocalFunctionImpl::FunctionSpaceType, ThisType, ExpressionTemplate> ExpressionBaseType;
A class providing some basic functionality common to all expressions.
Definition: gridfunctionexpressionbase.hh:35
const std::string & name() const
Return a descriptive name for the function.
Definition: gridfunctionexpressionbase.hh:56
LocalFunctionWrapper wraps a class with a local evaluate method into a grid function.
Definition: localfunctionwrapper.hh:71
static void trimParenthesis(std::string &name)
Remove any outer redundant parenthesis.
Definition: stringhelper.hh:40
TraitsType::HessianRangeType HessianRangeType
hessian type
Definition: localfunctionwrapper.hh:104
GridPartType::template Codim< 0 >::IteratorType IteratorType
type of iterator
Definition: localfunctionwrapper.hh:43
LocalFunctionWrapperTraits< LocalFunctionImplType, GridPart > TraitsType
type of the traits class
Definition: localfunctionwrapper.hh:190
LocalFunctionType localFunction(const EntityType &entity)
Definition: localfunctionwrapper.hh:149
LocalFunction(const EntityType &entity, const DiscreteFunctionType &wrapper)
constructor initializing local function
Definition: localfunctionwrapper.hh:213
LocalFunctionWrapper(const std::string &name, const LocalFunctionImplType &eval, const GridPartType &gridPart, unsigned int order=DiscreteFunctionSpaceType::polynomialOrder)
constructer taking instance of EvalImp class
Definition: localfunctionwrapper.hh:117
TraitsType::RangeType RangeType
range type
Definition: localfunctionwrapper.hh:100
LocalFunctionWrapperTraits< LocalFunctionImplType, GridPartType > TraitsType
traits class
Definition: localfunctionwrapper.hh:86
void init(const EntityType &entity)
init local function
Definition: localfunctionwrapper.hh:259
TraitsType::DomainType DomainType
domain type
Definition: localfunctionwrapper.hh:98
TraitsType::JacobianRangeType JacobianRangeType
jacobian type
Definition: localfunctionwrapper.hh:204
TraitsType::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
type of discrete function space
Definition: localfunctionwrapper.hh:89
const LocalFunctionType localFunction(const EntityType &entity) const
Definition: localfunctionwrapper.hh:155
TraitsType::JacobianRangeType JacobianRangeType
jacobian type
Definition: localfunctionwrapper.hh:102
LocalFunction(const DiscreteFunctionType &wrapper)
constructor
Definition: localfunctionwrapper.hh:223
TraitsType::GridType GridType
type of grid
Definition: localfunctionwrapper.hh:92
TraitsType::DomainType DomainType
domain type
Definition: localfunctionwrapper.hh:200
void evaluateQuadrature(const QuadratureType &quadrature, VectorType &values) const
evaluate function or jacobian of function for given quadrature
Definition: localfunctionwrapper.hh:252
LocalFunctionImpl LocalFunctionImplType
Evaluate class.
Definition: localfunctionwrapper.hh:80
TraitsType::RangeFieldType RangeFieldType
range type
Definition: localfunctionwrapper.hh:96
TraitsType::DomainFieldType DomainFieldType
domain type
Definition: localfunctionwrapper.hh:196
void jacobian(const PointType &x, JacobianRangeType &ret) const
jacobian of local function
Definition: localfunctionwrapper.hh:238
void jacobian(const DomainType &global, JacobianRangeType &result) const
Evaluate jacobian in global coordinates.
Definition: localfunctionwrapper.hh:135
LocalFunctionImpl LocalFunctionImplType
type of local function implementation
Definition: localfunctionwrapper.hh:187
void hessian(const DomainType &global, HessianRangeType &result) const
Evaluate hessian in global coordinates.
Definition: localfunctionwrapper.hh:142
void evaluate(const DomainType &global, RangeType &result) const
Evaluate function in global coordinates.
Definition: localfunctionwrapper.hh:128
TraitsType::RangeType RangeType
range type
Definition: localfunctionwrapper.hh:202
GridPartType::IndexSetType IndexSetType
type of IndexSet
Definition: localfunctionwrapper.hh:45
TraitsType::DomainFieldType DomainFieldType
domain type
Definition: localfunctionwrapper.hh:94
TraitsType::EntityType EntityType
type of codim 0 entity
Definition: localfunctionwrapper.hh:106
TraitsType::HessianRangeType HessianRangeType
hessian type
Definition: localfunctionwrapper.hh:206
TraitsType::RangeFieldType RangeFieldType
range type
Definition: localfunctionwrapper.hh:198
LocalFunction LocalFunctionType
type of local function to export
Definition: localfunctionwrapper.hh:114
void evaluate(const PointType &x, RangeType &ret) const
evaluate local function
Definition: localfunctionwrapper.hh:231
GridPart GridPartType
type of grid part
Definition: localfunctionwrapper.hh:83
traits of DiscreteFunctionAdapter
Definition: localfunctionwrapper.hh:29
![Creative Commons License](https://i.creativecommons.org/l/by-sa/4.0/80x15.png)