dune-pdelab
2.0.0
|
product of identical functions More...
#include <dune/pdelab/common/function.hh>
Public Types | |
typedef PowerCompositeGridFunctionTraits < typename T::GridViewType > | Traits |
typedef PowerGridFunctionTag | ImplementationTag |
typedef T::GridViewType | GridViewType |
record the GridView More... | |
Public Member Functions | |
template<typename TT > | |
void | setTime (TT time) |
Set the time in all leaf nodes of this function tree. More... | |
PowerGridFunction () | |
PowerGridFunction (T &t) | |
Construct a PowerGridFunction with k clones of the function t. More... | |
PowerGridFunction (T &t0, T &t1,...) | |
Initialize all children with different function objects. More... | |
product of identical functions
This collects k instances of T in a GridFunctionTree.
T | The type of the children of this node in the tree. |
k | The number of children this node has. |
typedef T::GridViewType Dune::PDELab::PowerGridFunction< T, k >::GridViewType |
record the GridView
typedef PowerGridFunctionTag Dune::PDELab::PowerGridFunction< T, k >::ImplementationTag |
typedef PowerCompositeGridFunctionTraits<typename T::GridViewType> Dune::PDELab::PowerGridFunction< T, k >::Traits |
|
inline |
|
inline |
Construct a PowerGridFunction with k clones of the function t.
|
inline |
Initialize all children with different function objects.
This constructor is only available in the non-specialized version
t | Points to an array of pointers to function objects of type T. The function pointed to by the first pointer will be used to initialize the first child, the second pointer for the second child and so on.Initialize all children with different function objects |
Currently there exist specializations for 2 <= k <= 9. Each specialization has a constructor which takes the initializers for its children as arguments.
t0 | The initializer for the first child. |
t1 | The initializer for the second child. |
... | more initializers |
|
inline |
Set the time in all leaf nodes of this function tree.