dune-fem 2.8-git
|
#include <dune/fem/function/common/gridfunctionadapter.hh>
Public Types | |
typedef FunctionImp | FunctionType |
typedef GridPartImp | GridPartType |
typedef ConvertedType::DiscreteFunctionSpaceType | DiscreteFunctionSpaceType |
type of discrete function space More... | |
typedef ConvertedType::FunctionSpaceType | FunctionSpaceType |
typedef DiscreteFunctionSpaceType::GridType | GridType |
type of grid More... | |
typedef DiscreteFunctionSpaceType::DomainFieldType | DomainFieldType |
domain type (from function space) More... | |
typedef DiscreteFunctionSpaceType::RangeFieldType | RangeFieldType |
range type (from function space) More... | |
typedef DiscreteFunctionSpaceType::DomainType | DomainType |
domain type (from function space) More... | |
typedef DiscreteFunctionSpaceType::RangeType | RangeType |
range type (from function space) More... | |
typedef DiscreteFunctionSpaceType::JacobianRangeType | JacobianRangeType |
jacobian type (from function space) More... | |
typedef GridPartType::template Codim< 0 >::EntityType | EntityType |
type of codim 0 entity More... | |
typedef ConvertedType::LocalFunctionType | LocalFunctionType |
type of local function to export More... | |
typedef FunctionSpaceType::HessianRangeType | HessianRangeType |
hessian type More... | |
typedef Mapping< DomainFieldType, RangeFieldType, DomainType, RangeType > | MappingType |
type of mapping base class More... | |
Public Member Functions | |
ConvertToGridFunction (const std::string &name, const FunctionImp &function, const GridPartType &gridPart) | |
constructor More... | |
ConvertToGridFunction (const ThisType &other) | |
void | evaluate (const DomainType &global, RangeType &result) const |
evaluate function on local coordinate local More... | |
const LocalFunctionType | localFunction (const EntityType &entity) const |
obtain a local function for an entity (read-write) More... | |
LocalFunctionType | localFunction (const EntityType &entity) |
obtain a local function for an entity (read-write) More... | |
const std::string & | name () const |
obtain the name of the discrete function More... | |
const DiscreteFunctionSpaceType & | space () const |
virtual void | operator() (const DomainType &arg, RangeType &dest) const |
application operator call evaluate More... | |
void | operator() (const DomainType &arg, RangeType &dest) const |
Application operator that applies all operators in the linear combination stack. More... | |
void | evaluate (const DomainType &x, RangeType &value) const |
evaluate the function More... | |
void | jacobian (const DomainType &x, JacobianRangeType &jacobian) const |
evaluate the Jacobian of the function More... | |
void | hessian (const DomainType &x, HessianRangeType &hessian) const |
evaluate the hessian of the function More... | |
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 ConvertToGridFunction< FunctionImp, GridPartImp > & | asImp (const ThisType &other) |
static ConvertToGridFunction< FunctionImp, GridPartImp > & | asImp (ThisType &other) |
Related Functions | |
(Note that these are not member functions.) | |
static Mapping< FunctionImp::FunctionSpaceType ::DomainFieldType, FunctionImp::FunctionSpaceType ::RangeFieldType, FunctionImp::FunctionSpaceType ::DomainType, FunctionImp::FunctionSpaceType ::RangeType > | operator+ (const Mapping< FunctionImp::FunctionSpaceType ::DomainFieldType, FunctionImp::FunctionSpaceType ::RangeFieldType, FunctionImp::FunctionSpaceType ::DomainType, FunctionImp::FunctionSpaceType ::RangeType > &a, const Mapping< FunctionImp::FunctionSpaceType ::DomainFieldType, FunctionImp::FunctionSpaceType ::RangeFieldType, FunctionImp::FunctionSpaceType ::DomainType, FunctionImp::FunctionSpaceType ::RangeType > &b) |
add two mappings More... | |
static Mapping< FunctionImp::FunctionSpaceType ::DomainFieldType, FunctionImp::FunctionSpaceType ::RangeFieldType, FunctionImp::FunctionSpaceType ::DomainType, FunctionImp::FunctionSpaceType ::RangeType > | operator- (const Mapping< FunctionImp::FunctionSpaceType ::DomainFieldType, FunctionImp::FunctionSpaceType ::RangeFieldType, FunctionImp::FunctionSpaceType ::DomainType, FunctionImp::FunctionSpaceType ::RangeType > &a, const Mapping< FunctionImp::FunctionSpaceType ::DomainFieldType, FunctionImp::FunctionSpaceType ::RangeFieldType, FunctionImp::FunctionSpaceType ::DomainType, FunctionImp::FunctionSpaceType ::RangeType > &b) |
substract two mappings More... | |
static Mapping< FunctionImp::FunctionSpaceType ::DomainFieldType, FunctionImp::FunctionSpaceType ::RangeFieldType, FunctionImp::FunctionSpaceType ::DomainType, FunctionImp::FunctionSpaceType ::RangeType > | operator* (const Mapping< FunctionImp::FunctionSpaceType ::DomainFieldType, FunctionImp::FunctionSpaceType ::RangeFieldType, FunctionImp::FunctionSpaceType ::DomainType, FunctionImp::FunctionSpaceType ::RangeType > &mapping, const FunctionImp::FunctionSpaceType ::RangeFieldType &factor) |
scale mapping with factor More... | |
static Mapping< FunctionImp::FunctionSpaceType ::DomainFieldType, FunctionImp::FunctionSpaceType ::RangeFieldType, FunctionImp::FunctionSpaceType ::DomainType, FunctionImp::FunctionSpaceType ::RangeType > | operator* (const FunctionImp::FunctionSpaceType ::RangeFieldType &factor, const Mapping< FunctionImp::FunctionSpaceType ::DomainFieldType, FunctionImp::FunctionSpaceType ::RangeFieldType, FunctionImp::FunctionSpaceType ::DomainType, FunctionImp::FunctionSpaceType ::RangeType > &mapping) |
scale mapping with factor More... | |
static Mapping< FunctionImp::FunctionSpaceType ::DomainFieldType, FunctionImp::FunctionSpaceType ::RangeFieldType, FunctionImp::FunctionSpaceType ::DomainType, FunctionImp::FunctionSpaceType ::RangeType > | operator/ (const Mapping< FunctionImp::FunctionSpaceType ::DomainFieldType, FunctionImp::FunctionSpaceType ::RangeFieldType, FunctionImp::FunctionSpaceType ::DomainType, FunctionImp::FunctionSpaceType ::RangeType > &mapping, const FunctionImp::FunctionSpaceType ::RangeFieldType &factor) |
operator / for mappings More... | |
static Mapping< FunctionImp::FunctionSpaceType ::DomainFieldType, FunctionImp::FunctionSpaceType ::RangeFieldType, FunctionImp::FunctionSpaceType ::DomainType, FunctionImp::FunctionSpaceType ::RangeType > | operator/ (const FunctionImp::FunctionSpaceType ::RangeFieldType &factor, const Mapping< FunctionImp::FunctionSpaceType ::DomainFieldType, FunctionImp::FunctionSpaceType ::RangeFieldType, FunctionImp::FunctionSpaceType ::DomainType, FunctionImp::FunctionSpaceType ::RangeType > &mapping) |
operator / for mappings More... | |
|
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] | factor | factor with which mapping is scaled |
[in] | mapping | Mapping which is scaled |
|
related |
scale mapping with factor
[in] | mapping | Mapping which is scaled |
[in] | factor | factor with which mapping 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] | factor | by which result of mapping is divided |
[in] | mapping | which is divided |
|
related |
operator / for mappings
[in] | mapping | mapping which is divided |
[in] | factor | f factor by which result of mapping is divided |