dune-fem 2.8.0
|
BasicGridFunctionAdapter provides local functions for a Function. More...
#include <dune/fem/function/common/gridfunctionadapter.hh>
Classes | |
class | LocalFunction |
Public Types | |
typedef BasicGridFunctionAdapterTraits< FunctionImp, GridPartImp > | Traits |
type of traits | |
typedef std::decay_t< FunctionImp > | FunctionType |
type of function | |
typedef GridPartImp | GridPartType |
type of grid part | |
typedef Traits::DiscreteFunctionSpaceType | DiscreteFunctionSpaceType |
type of discrete function space | |
typedef Traits::FunctionSpaceType | FunctionSpaceType |
typedef DiscreteFunctionSpaceType::GridType | GridType |
type of grid | |
typedef DiscreteFunctionSpaceType::DomainFieldType | DomainFieldType |
domain type (from function space) | |
typedef DiscreteFunctionSpaceType::RangeFieldType | RangeFieldType |
range type (from function space) | |
typedef DiscreteFunctionSpaceType::DomainType | DomainType |
domain type (from function space) | |
typedef DiscreteFunctionSpaceType::RangeType | RangeType |
range type (from function space) | |
typedef DiscreteFunctionSpaceType::JacobianRangeType | JacobianRangeType |
jacobian type (from function space) | |
typedef Traits::EntityType | EntityType |
type of codim 0 entity | |
typedef Traits::IntersectionType | IntersectionType |
typedef LocalFunction | LocalFunctionType |
type of local function to export | |
typedef FunctionSpaceType::HessianRangeType | HessianRangeType |
hessian type | |
typedef Mapping< DomainFieldType, RangeFieldType, DomainType, RangeType > | MappingType |
type of mapping base class | |
Public Member Functions | |
BasicGridFunctionAdapter (std::string name, FunctionImp f, const GridPartType &gridPart, unsigned int order=DiscreteFunctionSpaceType::polynomialOrder) | |
BasicGridFunctionAdapter (const ThisType &other) | |
void | evaluate (const DomainType &global, RangeType &result) const |
evaluate function on local coordinate local | |
void | jacobian (const DomainType &global, JacobianRangeType &result) const |
evaluate function on local coordinate local | |
LocalFunctionType | localFunction (const EntityType &entity) |
const LocalFunctionType | localFunction (const EntityType &entity) const |
const std::string & | name () const |
obtain the name of the discrete function | |
const DiscreteFunctionSpaceType & | space () const |
obtain a reference to the corresponding DiscreteFunctionSpace | |
const GridPartType & | gridPart () const |
int | order () const |
return true, probably | |
bool | continuous () const |
return true, probably | |
virtual void | operator() (const DomainType &arg, RangeType &dest) const |
application operator call evaluate | |
void | operator() (const DomainType &arg, RangeType &dest) const |
Application operator that applies all operators in the linear combination stack. | |
void | evaluate (const DomainType &x, RangeType &value) const |
evaluate the function | |
void | jacobian (const DomainType &x, JacobianRangeType &jacobian) const |
evaluate the Jacobian of the function | |
void | hessian (const DomainType &x, HessianRangeType &hessian) const |
evaluate the hessian of the function | |
Protected Member Functions | |
const Implementation & | asImp () const |
Implementation & | asImp () |
Static Protected Member Functions | |
static const Implementation & | asImp (const ThisType &other) |
static Implementation & | asImp (ThisType &other) |
static const Implementation & | asImp (const ThisType &other) |
static Implementation & | asImp (ThisType &other) |
Protected Attributes | |
DiscreteFunctionSpaceType | space_ |
FunctionImp | function_ |
const std::string | name_ |
Related Functions | |
(Note that these are not member functions.) | |
template<class DFieldType , class RFieldType , class DType , class RType > | |
static Mapping< DFieldType, RFieldType, DType, RType > | operator+ (const Mapping< DFieldType, RFieldType, DType, RType > &a, const Mapping< DFieldType, RFieldType, DType, RType > &b) |
add two mappings | |
template<class DFieldType , class RFieldType , class DType , class RType > | |
static Mapping< DFieldType, RFieldType, DType, RType > | operator- (const Mapping< DFieldType, RFieldType, DType, RType > &a, const Mapping< DFieldType, RFieldType, DType, RType > &b) |
substract two mappings | |
template<class DFieldType , class RFieldType , class DType , class RType > | |
static Mapping< DFieldType, RFieldType, DType, RType > | operator* (const Mapping< DFieldType, RFieldType, DType, RType > &mapping, const RFieldType &factor) |
scale mapping with factor | |
template<class DFieldType , class RFieldType , class DType , class RType > | |
static Mapping< DFieldType, RFieldType, DType, RType > | operator* (const RFieldType &factor, const Mapping< DFieldType, RFieldType, DType, RType > &mapping) |
scale mapping with factor | |
template<class DFieldType , class RFieldType , class DType , class RType > | |
static Mapping< DFieldType, RFieldType, DType, RType > | operator/ (const Mapping< DFieldType, RFieldType, DType, RType > &mapping, const RFieldType &factor) |
operator / for mappings | |
template<class DFieldType , class RFieldType , class DType , class RType > | |
static Mapping< DFieldType, RFieldType, DType, RType > | operator/ (const RFieldType &factor, const Mapping< DFieldType, RFieldType, DType, RType > &mapping) |
operator / for mappings | |
BasicGridFunctionAdapter provides local functions for a Function.
|
inherited |
hessian type
|
inherited |
type of mapping base class
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlineinherited |
evaluate the function
[in] | x | evaluation point |
[out] | value | value of the function in x |
|
inlineinherited |
evaluate the hessian of the function
[in] | x | evaluation point |
[out] | hessian | value of the hessian in x |
|
inlineinherited |
evaluate the Jacobian of the function
[in] | x | evaluation point |
[out] | jacobian | value of the Jacobian in x |
|
inlinevirtualinherited |
application operator call evaluate
[in] | arg | argument |
[out] | dest | destination, i.e. f(arg) |
|
inlineinherited |
Application operator that applies all operators in the linear combination stack.
[in] | arg | argument |
[out] | dest | destination |
|
related |
scale mapping with factor
[in] | mapping | Mapping which is scaled |
[in] | factor | factor with which mapping is scaled |
|
related |
scale mapping with factor
[in] | factor | factor with which mapping is scaled |
[in] | mapping | Mapping which is scaled |
|
related |
add two mappings
[in] | a | mapping 1 |
[in] | b | mapping 2 |
|
related |
substract two mappings
[in] | a | mapping 1 |
[in] | b | mapping 2 |
|
related |
operator / for mappings
[in] | mapping | mapping which is divided |
[in] | factor | f factor by which result of mapping is divided |
|
related |
operator / for mappings
[in] | factor | by which result of mapping is divided |
[in] | mapping | which is divided |