dune-fem 2.8.0
|
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 | |
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 | |
Constructon | |
BasicInstationaryFunction (double time) | |
Set time | |
double | setTime (double time) |
set time to give value | |
double | time () const |
return set time | |
Protected Member Functions | |
const Implementation & | asImp () const |
Implementation & | asImp () |
Static Protected Member Functions | |
static const Implementation & | asImp (const ThisType &other) |
static Implementation & | asImp (ThisType &other) |
static const Implementation & | asImp (const ThisType &other) |
static Implementation & | asImp (ThisType &other) |
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 | |
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 | |
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.
|
inherited |
field type of domain
|
inherited |
domain type
|
inherited |
type of function space this function belongs to
|
inherited |
type of the implementation (Barton-Nackman)
|
inherited |
hessian type
|
inherited |
jacobian type
|
inherited |
type of mapping base class
|
inherited |
field type of range
|
inherited |
range type
|
inlineexplicit |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
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 |
|
inline |
set time to give value
[in] | time | time to be used |
|
inline |
return set time
|
related |
scale mapping with factor
[in] | mapping | Mapping which is scaled |
[in] | factor | factor with which mapping is scaled |
|
related |
scale mapping with factor
[in] | factor | factor with which mapping is scaled |
[in] | mapping | Mapping which is scaled |
|
related |
add two mappings
[in] | a | mapping 1 |
[in] | b | mapping 2 |
|
related |
substract two mappings
[in] | a | mapping 1 |
[in] | b | mapping 2 |
|
related |
operator / for mappings
[in] | mapping | mapping which is divided |
[in] | factor | f factor by which result of mapping is divided |
|
related |
operator / for mappings
[in] | factor | by which result of mapping is divided |
[in] | mapping | which is divided |