|
| 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...
|
| |
|
| | InstationaryFunction (const Function &function, double time) |
| |
| | InstationaryFunction (Function &&function, double time) |
| |
|
| void | evaluate (const DomainType &x, typename BaseType::RangeType &value) const |
| | evaluate the function More...
|
| |
| void | jacobian (const DomainType &x, typename BaseType::JacobianRangeType &jacobian) const |
| | evaluate the Jacobian of the function More...
|
| |
| void | hessian (const DomainType &x, typename BaseType::HessianRangeType &hessian) const |
| | evaluate the hessian of the function More...
|
| |
|
| double | setTime (double time) |
| | set time to give value More...
|
| |
| double | time () const |
| | return set time More...
|
| |
|
(Note that these are not member functions.)
|
| static Mapping< FunctionSpaceImp ::DomainFieldType, FunctionSpaceImp ::RangeFieldType, FunctionSpaceImp ::DomainType, FunctionSpaceImp ::RangeType > | operator+ (const Mapping< FunctionSpaceImp ::DomainFieldType, FunctionSpaceImp ::RangeFieldType, FunctionSpaceImp ::DomainType, FunctionSpaceImp ::RangeType > &a, const Mapping< FunctionSpaceImp ::DomainFieldType, FunctionSpaceImp ::RangeFieldType, FunctionSpaceImp ::DomainType, FunctionSpaceImp ::RangeType > &b) |
| | add two mappings More...
|
| |
| static Mapping< FunctionSpaceImp ::DomainFieldType, FunctionSpaceImp ::RangeFieldType, FunctionSpaceImp ::DomainType, FunctionSpaceImp ::RangeType > | operator- (const Mapping< FunctionSpaceImp ::DomainFieldType, FunctionSpaceImp ::RangeFieldType, FunctionSpaceImp ::DomainType, FunctionSpaceImp ::RangeType > &a, const Mapping< FunctionSpaceImp ::DomainFieldType, FunctionSpaceImp ::RangeFieldType, FunctionSpaceImp ::DomainType, FunctionSpaceImp ::RangeType > &b) |
| | substract two mappings More...
|
| |
| static Mapping< FunctionSpaceImp ::DomainFieldType, FunctionSpaceImp ::RangeFieldType, FunctionSpaceImp ::DomainType, FunctionSpaceImp ::RangeType > | operator* (const Mapping< FunctionSpaceImp ::DomainFieldType, FunctionSpaceImp ::RangeFieldType, FunctionSpaceImp ::DomainType, FunctionSpaceImp ::RangeType > &mapping, const FunctionSpaceImp ::RangeFieldType &factor) |
| | scale mapping with factor More...
|
| |
| static Mapping< FunctionSpaceImp ::DomainFieldType, FunctionSpaceImp ::RangeFieldType, FunctionSpaceImp ::DomainType, FunctionSpaceImp ::RangeType > | operator* (const FunctionSpaceImp ::RangeFieldType &factor, const Mapping< FunctionSpaceImp ::DomainFieldType, FunctionSpaceImp ::RangeFieldType, FunctionSpaceImp ::DomainType, FunctionSpaceImp ::RangeType > &mapping) |
| | scale mapping with factor More...
|
| |
| static Mapping< FunctionSpaceImp ::DomainFieldType, FunctionSpaceImp ::RangeFieldType, FunctionSpaceImp ::DomainType, FunctionSpaceImp ::RangeType > | operator/ (const Mapping< FunctionSpaceImp ::DomainFieldType, FunctionSpaceImp ::RangeFieldType, FunctionSpaceImp ::DomainType, FunctionSpaceImp ::RangeType > &mapping, const FunctionSpaceImp ::RangeFieldType &factor) |
| | operator / for mappings More...
|
| |
| static Mapping< FunctionSpaceImp ::DomainFieldType, FunctionSpaceImp ::RangeFieldType, FunctionSpaceImp ::DomainType, FunctionSpaceImp ::RangeType > | operator/ (const FunctionSpaceImp ::RangeFieldType &factor, const Mapping< FunctionSpaceImp ::DomainFieldType, FunctionSpaceImp ::RangeFieldType, FunctionSpaceImp ::DomainType, FunctionSpaceImp ::RangeType > &mapping) |
| | operator / for mappings More...
|
| |
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:
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
void jacobian(const DomainType &x, JacobianRangeType &jacobian) const
evaluate the Jacobian of the function
Definition: common/function.hh:117
FunctionSpaceType ::HessianRangeType HessianRangeType
hessian type
Definition: common/function.hh:72
FunctionSpaceType ::JacobianRangeType JacobianRangeType
jacobian type
Definition: common/function.hh:70
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:
std::tuple_element< i, Tuple >::type & get(Dune::TypeIndexedTuple< Tuple, Types > &tuple)
Definition: typeindexedtuple.hh:122
Function()=default
default constructor
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 |