dune-fem
2.4.1-rc
|
GridFunctionAdapter provides local functions for a Function. More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/function/common/gridfunctionadapter.hh>
Classes | |
class | LocalFunction |
Public Types | |
typedef GridFunctionAdapterTraits< FunctionImp, GridPartImp > | Traits |
type of traits More... | |
typedef FunctionImp | FunctionType |
type of function More... | |
typedef GridPartImp | GridPartType |
type of grid part More... | |
typedef Traits::DiscreteFunctionSpaceType | DiscreteFunctionSpaceType |
type of discrete function space More... | |
typedef Traits::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 Traits::EntityType | EntityType |
type of codim 0 entity More... | |
typedef LocalFunction | 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 | |
GridFunctionAdapter (const std::string &name, const FunctionType &f, const GridPartType &gridPart, unsigned int order=DiscreteFunctionSpaceType::polynomialOrder) | |
GridFunctionAdapter (const ThisType &other) | |
void | evaluate (const DomainType &global, RangeType &result) const |
evaluate function on local coordinate local More... | |
void | jacobian (const DomainType &global, JacobianRangeType &result) const |
evaluate function on local coordinate local More... | |
LocalFunctionType | localFunction (const EntityType &entity) |
obtain a local function for an entity (read-write) More... | |
const LocalFunctionType | localFunction (const EntityType &entity) const |
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 |
obtain a reference to the corresponding DiscreteFunctionSpace More... | |
const GridPartType & | gridPart () 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 GridFunctionAdapter< FunctionImp, GridPartImp > & | asImp () const |
GridFunctionAdapter< FunctionImp, GridPartImp > & | asImp () |
Static Protected Member Functions | |
static const GridFunctionAdapter< FunctionImp, GridPartImp > & | asImp (const ThisType &other) |
static GridFunctionAdapter< FunctionImp, GridPartImp > & | asImp (ThisType &other) |
Protected Attributes | |
DiscreteFunctionSpaceType | space_ |
const FunctionType & | function_ |
const std::string | name_ |
GridFunctionAdapter provides local functions for a Function.
|
inherited |
hessian type
|
inherited |
type of mapping base class
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
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 |