|
(Note that these are not member functions.)
|
static Mapping< Function::FunctionSpaceType ::DomainFieldType, Function::FunctionSpaceType ::RangeFieldType, Function::FunctionSpaceType ::DomainType, Function::FunctionSpaceType ::RangeType > | operator+ (const Mapping< Function::FunctionSpaceType ::DomainFieldType, Function::FunctionSpaceType ::RangeFieldType, Function::FunctionSpaceType ::DomainType, Function::FunctionSpaceType ::RangeType > &a, const Mapping< Function::FunctionSpaceType ::DomainFieldType, Function::FunctionSpaceType ::RangeFieldType, Function::FunctionSpaceType ::DomainType, Function::FunctionSpaceType ::RangeType > &b) |
| add two mappings More...
|
|
static Mapping< Function::FunctionSpaceType ::DomainFieldType, Function::FunctionSpaceType ::RangeFieldType, Function::FunctionSpaceType ::DomainType, Function::FunctionSpaceType ::RangeType > | operator- (const Mapping< Function::FunctionSpaceType ::DomainFieldType, Function::FunctionSpaceType ::RangeFieldType, Function::FunctionSpaceType ::DomainType, Function::FunctionSpaceType ::RangeType > &a, const Mapping< Function::FunctionSpaceType ::DomainFieldType, Function::FunctionSpaceType ::RangeFieldType, Function::FunctionSpaceType ::DomainType, Function::FunctionSpaceType ::RangeType > &b) |
| substract two mappings More...
|
|
static Mapping< Function::FunctionSpaceType ::DomainFieldType, Function::FunctionSpaceType ::RangeFieldType, Function::FunctionSpaceType ::DomainType, Function::FunctionSpaceType ::RangeType > | operator* (const Mapping< Function::FunctionSpaceType ::DomainFieldType, Function::FunctionSpaceType ::RangeFieldType, Function::FunctionSpaceType ::DomainType, Function::FunctionSpaceType ::RangeType > &mapping, const Function::FunctionSpaceType ::RangeFieldType &factor) |
| scale mapping with factor More...
|
|
static Mapping< Function::FunctionSpaceType ::DomainFieldType, Function::FunctionSpaceType ::RangeFieldType, Function::FunctionSpaceType ::DomainType, Function::FunctionSpaceType ::RangeType > | operator* (const Function::FunctionSpaceType ::RangeFieldType &factor, const Mapping< Function::FunctionSpaceType ::DomainFieldType, Function::FunctionSpaceType ::RangeFieldType, Function::FunctionSpaceType ::DomainType, Function::FunctionSpaceType ::RangeType > &mapping) |
| scale mapping with factor More...
|
|
static Mapping< Function::FunctionSpaceType ::DomainFieldType, Function::FunctionSpaceType ::RangeFieldType, Function::FunctionSpaceType ::DomainType, Function::FunctionSpaceType ::RangeType > | operator/ (const Mapping< Function::FunctionSpaceType ::DomainFieldType, Function::FunctionSpaceType ::RangeFieldType, Function::FunctionSpaceType ::DomainType, Function::FunctionSpaceType ::RangeType > &mapping, const Function::FunctionSpaceType ::RangeFieldType &factor) |
| operator / for mappings More...
|
|
static Mapping< Function::FunctionSpaceType ::DomainFieldType, Function::FunctionSpaceType ::RangeFieldType, Function::FunctionSpaceType ::DomainType, Function::FunctionSpaceType ::RangeType > | operator/ (const Function::FunctionSpaceType ::RangeFieldType &factor, const Mapping< Function::FunctionSpaceType ::DomainFieldType, Function::FunctionSpaceType ::RangeFieldType, Function::FunctionSpaceType ::DomainType, Function::FunctionSpaceType ::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
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
FunctionSpaceType::HessianRangeType HessianRangeType
hessian type
Definition: common/function.hh:72
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 |