dune-pdelab 2.7-git
|
composite functions More...
#include <dune/pdelab/common/function.hh>
Public Types | |
typedef CompositeGridFunctionTag | ImplementationTag |
typedef PowerCompositeGridFunctionTraits< typename BaseT::template Child< 0 >::Type::GridViewType > | Traits |
typedef BaseT::template Child< 0 >::Type::GridViewType | GridViewType |
record the GridView | |
Public Member Functions | |
CompositeGridFunction () | |
CompositeGridFunction (Children &... children) | |
CompositeGridFunction (std::shared_ptr< Children >... children) | |
template<typename TT > | |
void | setTime (TT time) |
Set the time in all leaf nodes of this function tree. | |
CompositeGridFunction (T0 &t0, T1 &t1,...) | |
Initialize all children. | |
composite functions
Collect instances of possibly different function types Tn within a GridFunctionTree. This implements a GridFunctionTree
Tn | The base types. Tn==EmptyChild means that slot n is unused. Currently, up to 9 slots are supported, making 8 the maximum n. |
typedef BaseT::template Child<0>::Type::GridViewType Dune::PDELab::CompositeGridFunction< Children >::GridViewType |
record the GridView
typedef CompositeGridFunctionTag Dune::PDELab::CompositeGridFunction< Children >::ImplementationTag |
typedef PowerCompositeGridFunctionTraits<typename BaseT::template Child<0>::Type::GridViewType> Dune::PDELab::CompositeGridFunction< Children >::Traits |
|
inline |
|
inline |
|
inline |
|
inline |
Initialize all children.
t0 | The initializer for the first child. |
t1 | The initializer for the second child. |
... | more initializers |
The actual number of arguments for this constructor corresponds to the number of slots used in the template parameter list of the class.
|
inline |
Set the time in all leaf nodes of this function tree.