A Gridfunction that applies a functor to the evaluated Gridfunctions. More...
#include <ComposerGridFunction.hpp>
Related Functions | |
(Note that these are not member functions.) | |
| template<class Functor , class... PreGridFcts> | |
| auto | invokeAtQP (Functor const &f, PreGridFcts &&... gridFcts) |
| Generator function for ComposerGridFunction. More... | |
| template<class Lhs , REQUIRES(Concepts::AnyGridFunction< Lhs >) > | |
| auto | operator- (Lhs &&lhs) |
| Applies Operation::Negate to GridFunctions. | |
| template<class Lhs , class Rhs , REQUIRES(Concepts::AnyGridFunction< Lhs, Rhs >) > | |
| auto | operator+ (Lhs &&lhs, Rhs &&rhs) |
| Applies Operation::Plus to GridFunctions. | |
| template<class Lhs , class Rhs , REQUIRES(Concepts::AnyGridFunction< Lhs, Rhs >) > | |
| auto | operator- (Lhs &&lhs, Rhs &&rhs) |
| Applies Operation::Minus to GridFunctions. | |
| template<class Lhs , class Rhs , REQUIRES(Concepts::AnyGridFunction< Lhs, Rhs >) > | |
| auto | operator* (Lhs &&lhs, Rhs &&rhs) |
| Applies Operation::Multiplies to GridFunctions. | |
| template<class Lhs , class Rhs , REQUIRES(Concepts::AnyGridFunction< Lhs, Rhs >) > | |
| auto | operator/ (Lhs &&lhs, Rhs &&rhs) |
| Applies Operation::Divides to GridFunctions. | |
| template<class Lhs , class Rhs , REQUIRES(Concepts::AnyGridFunction< Lhs, Rhs >) > | |
| auto | max (Lhs &&lhs, Rhs &&rhs) |
| Applies Operation::Max to GridFunctions. | |
| template<class Lhs , class Rhs , REQUIRES(Concepts::AnyGridFunction< Lhs, Rhs >) > | |
| auto | min (Lhs &&lhs, Rhs &&rhs) |
| Applies Operation::Min to GridFunctions. | |
| template<class Lhs , class Rhs , REQUIRES(Concepts::AnyGridFunction< Lhs, Rhs >) > | |
| auto | abs_max (Lhs &&lhs, Rhs &&rhs) |
| Applies Operation::AbsMax to GridFunctions. | |
| template<class Lhs , class Rhs , REQUIRES(Concepts::AnyGridFunction< Lhs, Rhs >) > | |
| auto | abs_min (Lhs &&lhs, Rhs &&rhs) |
| Applies Operation::AbsMin to GridFunctions. | |
| template<class V , class T , REQUIRES(Concepts::AnyGridFunction< V >) > | |
| auto | clamp (V &&v, T const &lo, T const &hi) |
| Applies Operation::Clamp to GridFunction. | |
| template<class T , REQUIRES(Concepts::AnyGridFunction< T >) > | |
| auto | tanh (T &&value) |
| Applies Operation::Tanh to GridFunctions. | |
| template<class T , REQUIRES(Concepts::AnyGridFunction< T >) > | |
| auto | signum (T &&value) |
| Applies Operation::Signum to GridFunctions. | |
| template<class T , REQUIRES(Concepts::AnyGridFunction< T >) > | |
| auto | sqr (T &&value) |
| Applies Operation::Sqr to GridFunction. | |
| template<int p, class T , REQUIRES(Concepts::AnyGridFunction< T >) > | |
| auto | pow (T &&value) |
| Applies Operation::Pow. More... | |
| template<class T , REQUIRES(Concepts::AnyGridFunction< T >) > | |
| auto | pow (T &&value, double p) |
| Applies Operation::Power to GridFunction. | |
| template<std::size_t I, class T , REQUIRES(Concepts::AnyGridFunction< T >) > | |
| auto | get (T &&value) |
| Applies Operation::Get<I> to GridFunction. | |
| template<class T , REQUIRES(Concepts::AnyGridFunction< T >) > | |
| auto | get (T &&value, std::size_t i) |
| Applies Operation::Get_ to GridFunction. | |
| template<class T > | |
| auto | constant (T const &value) |
| Return a reference-wrapper as GridFunction. | |
| template<class T > | |
| auto | reference (T &value) |
| Return a reference-wrapper as GridFunction. | |
| template<class Vec , REQUIRES(Concepts::AnyGridFunction< Vec >) > | |
| auto | sum (Vec &&vec) |
| Applies a sum() functor to a vector-valued GridFunction. | |
| template<class Vec , REQUIRES(Concepts::AnyGridFunction< Vec >) > | |
| auto | unary_dot (Vec &&vec) |
| Applies Operation::UnaryDot to a vector-valued GridFunction. | |
| template<class Vec , REQUIRES(Concepts::AnyGridFunction< Vec >) > | |
| auto | one_norm (Vec &&vec) |
| Applies a one_norm() functor to a vector-valued GridFunction. | |
| template<class Vec , REQUIRES(Concepts::AnyGridFunction< Vec >) > | |
| auto | two_norm (Vec &&vec) |
| Applies Operation::TwoNorm to a vector-valued GridFunction. | |
| template<int p, class Vec , REQUIRES(Concepts::AnyGridFunction< Vec >) > | |
| auto | p_norm (Vec &&vec) |
| Applies a p_norm() functor to a vector-valued GridFunction. | |
| template<class Vec , REQUIRES(Concepts::AnyGridFunction< Vec >) > | |
| auto | infty_norm (Vec &&vec) |
| Applies a infty_norm() functor to a vector-valued GridFunction. | |
| template<class Mat , REQUIRES(Concepts::AnyGridFunction< Mat >) > | |
| auto | trans (Mat &&mat) |
| Applies Operation::Trans to a matrix-valued GridFunction. | |
| template<class Lhs , class Rhs , REQUIRES(Concepts::AnyGridFunction< Lhs, Rhs >) > | |
| auto | dot (Lhs &&lhs, Rhs &&rhs) |
| Applies Operation::Dot to two vector-valued GridFunctions. | |
| template<class Lhs , class Rhs , REQUIRES(Concepts::AnyGridFunction< Lhs, Rhs >) > | |
| auto | distance (Lhs &&lhs, Rhs &&rhs) |
| Applies a distance-functor to two vector-valued GridFunctions. | |
| template<class Lhs , class Rhs , REQUIRES(Concepts::AnyGridFunction< Lhs, Rhs >) > | |
| auto | outer (Lhs &&lhs, Rhs &&rhs) |
| Applies an outer() functor to two vector-valued GridFunctions. | |
| template<class Lhs , class Rhs , REQUIRES(Concepts::AnyGridFunction< Lhs, Rhs >) > | |
| auto | cross (Lhs &&lhs, Rhs &&rhs) |
| Applies a cross() functor to two vector-valued GridFunctions. | |
A Gridfunction that applies a functor to the evaluated Gridfunctions.
Composition of GridFunctions g_i by applying a functor f locally, i.e. locally it is evaluated \( f(g_0(x), g_1(x), ...) \)
| Sig | Signature of the GridFunction |
| EntitySet | The EntitySet this GridFunction is defined on |
| Functor | The type of the outer functor f |
| GridFunctions... | The GridFunction types of g_i |
Requirements:
arity(f) == sizeof...(GridFunctions)arity(g_i) == arity(g_j) for i != jg_i models concept GridFunction