|
| 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
|
| |
|
| | InstationaryFunction (const Function &function, double time) |
| |
| | InstationaryFunction (Function &&function, double time) |
| |
|
| void | evaluate (const DomainType &x, typename BaseType::RangeType &value) const |
| | evaluate the function
|
| |
| void | jacobian (const DomainType &x, typename BaseType::JacobianRangeType &jacobian) const |
| | evaluate the Jacobian of the function
|
| |
| void | hessian (const DomainType &x, typename BaseType::HessianRangeType &hessian) const |
| | evaluate the hessian of the function
|
| |
|
| double | setTime (double time) |
| | set time to give value
|
| |
| double | time () const |
| | return set time
|
| |
|
(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
|
| |
template<class
Function, template< class > class StoragePolicy = __InstationaryFunction::HoldCopy>
class Dune::Fem::InstationaryFunction< Function, StoragePolicy >
implementation of a Dune::Fem::Function taking an instationary function
It is assumed that all evaluation methods are present on the parameter function and have a second parameter for the time:
Definition: explicitfieldvector.hh:75
FunctionSpaceType::RangeType RangeType
range type
Definition: common/function.hh:68
void evaluate(const DomainType &x, RangeType &value) const
evaluate the function
Definition: common/function.hh:107
FunctionSpaceType::JacobianRangeType JacobianRangeType
jacobian type
Definition: common/function.hh:70
void jacobian(const DomainType &x, JacobianRangeType &jacobian) const
evaluate the Jacobian of the function
Definition: common/function.hh:117
void hessian(const DomainType &x, HessianRangeType &hessian) const
evaluate the hessian of the function
Definition: common/function.hh:127
double time() const
return set time
Definition: instationary.hh:59
BaseType::DomainType DomainType
domain type
Definition: instationary.hh:163
Users may prescribe how the parameter function is stored by providing a second template parameter, the storage policy. The policy is class that must be constructible from a function object or reference and that has a single method:
Abstract class representing a function.
Definition: common/function.hh:50
The default policy is to copy the function parameter. The free-standing method
InstationaryFunction< Function, __InstationaryFunction::HoldCopy > instationaryFunction(Function function, double time)
Definition: instationary.hh:213
may be used to conveniently create a new instance of InstationaryFunction. Use
to create an instationary function that holds a reference to f instead of a copy.
- Template Parameters
-
| Function | an instationary function |
| StoragePolicy | storage policy |