DUNE-FEM (unstable)
basic wrapper class (still a CRTP) for instationary functions More...
#include <dune/fem/function/common/instationary.hh>
Public Types | |
typedef FunctionSpace | FunctionSpaceType |
type of function space this function belongs to | |
typedef Function | FunctionType |
type of the implementation (Barton-Nackman) | |
typedef FunctionSpaceType ::DomainFieldType | DomainFieldType |
field type of domain | |
typedef FunctionSpaceType ::RangeFieldType | RangeFieldType |
field type of range | |
typedef FunctionSpaceType ::DomainType | DomainType |
domain type | |
typedef FunctionSpaceType ::RangeType | RangeType |
range type | |
typedef FunctionSpaceType ::JacobianRangeType | JacobianRangeType |
jacobian type | |
typedef FunctionSpaceType ::HessianRangeType | HessianRangeType |
hessian type | |
typedef Mapping< DomainFieldType, RangeFieldType, DomainType, RangeType > | MappingType |
type of mapping base class | |
Public Member Functions | |
virtual void | operator() (const DomainType &arg, RangeType &dest) const |
application operator call evaluate 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... | |
Constructon | |
BasicInstationaryFunction (double time) | |
Set time | |
double | setTime (double time) |
set time to give value More... | |
double | time () const |
return set time | |
Related Functions | |
(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 More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
Detailed Description
template<class FunctionSpace, class Function>
class Dune::Fem::BasicInstationaryFunction< FunctionSpace, Function >
basic wrapper class (still a CRTP) for instationary functions
This class implements two methods
for wrapping some time dependent function and making it a Dune::Fem::Function that may only depend on spatial variables.
Member Function Documentation
◆ evaluate()
|
inlineinherited |
evaluate the function
- Parameters
-
[in] x evaluation point [out] value value of the function in x
◆ hessian()
|
inlineinherited |
evaluate the hessian of the function
- Parameters
-
[in] x evaluation point [out] hessian value of the hessian in x
◆ jacobian()
|
inlineinherited |
evaluate the Jacobian of the function
- Parameters
-
[in] x evaluation point [out] jacobian value of the Jacobian in x
◆ operator()()
|
inlinevirtualinherited |
application operator call evaluate
- Parameters
-
[in] arg argument [out] dest destination, i.e. f(arg)
◆ setTime()
|
inline |
set time to give value
- Parameters
-
[in] time time to be used
- Returns
- set time
References Dune::Fem::BasicInstationaryFunction< FunctionSpace, Function >::time().
Friends And Related Function Documentation
◆ operator*() [1/2]
|
related |
scale mapping with factor
- Parameters
-
[in] mapping Mapping which is scaled [in] factor factor with which mapping is scaled
- Returns
- new object mapping
References Dune::Fem::MappingOperators::multiplyMapping().
◆ operator*() [2/2]
|
related |
scale mapping with factor
- Parameters
-
[in] factor factor with which mapping is scaled [in] mapping Mapping which is scaled
- Returns
- new object mapping
References Dune::Fem::MappingOperators::multiplyMapping().
◆ operator+()
|
related |
add two mappings
- Parameters
-
[in] a mapping 1 [in] b mapping 2
- Returns
- new object mapping
References Dune::Fem::MappingOperators::addMappings().
◆ operator-()
|
related |
substract two mappings
- Parameters
-
[in] a mapping 1 [in] b mapping 2
- Returns
- new object mapping
References Dune::Fem::MappingOperators::substractMappings().
◆ operator/() [1/2]
|
related |
operator / for mappings
- Parameters
-
[in] mapping mapping which is divided [in] factor f factor by which result of mapping is divided
- Returns
- new object mapping
References Dune::Fem::MappingOperators::divideMapping().
◆ operator/() [2/2]
|
related |
operator / for mappings
- Parameters
-
[in] factor by which result of mapping is divided [in] mapping which is divided
- Returns
- new object mapping
References Dune::Fem::MappingOperators::divideMapping().
The documentation for this class was generated from the following file:
- dune/fem/function/common/instationary.hh