dune-pdelab 2.9
Loading...
Searching...
No Matches
Dune::PDELab::CompositeLocalFunction< Children > Class Template Reference

#include <dune/pdelab/function/localfunction.hh>

Inheritance diagram for Dune::PDELab::CompositeLocalFunction< Children >:
Inheritance graph

Public Types

typedef CompositeDifferentiableFunctionLocalViewTag ImplementationTag
 
typedef CompositeNodeTag NodeTag
 
typedef std::tuple< std::shared_ptr< Children >... > NodeStorage
 
typedef std::tuple< Children... > ChildTypes
 

Public Member Functions

template<typename TT >
void setTime (TT time)
 Set the time in all leaf nodes of this function tree.
 
template<typename Entity >
void bind (const Entity &e)
 
void unbind ()
 
 CompositeLocalFunction ()
 Default Constructor.
 
template<typename... Args, typename = typename std::enable_if<(sizeof...(Args) == sizeof...(Children))>::type>
 CompositeLocalFunction (Args &&... args)
 Initialize all children with the passed-in objects.
 
Child< k >::Type & child (index_constant< k >={})
 
const Child< k >::Type & child (index_constant< k >={}) const
 
ImplementationDefinedchild (Indices... indices)
 
const ImplementationDefinedchild (Indices... indices)
 
Child< k >::Type & child (index_constant< k >={})
 
const Child< k >::Type & child (index_constant< k >={}) const
 
ImplementationDefinedchild (Indices... indices)
 
const ImplementationDefinedchild (Indices... indices)
 
std::shared_ptr< typename Child< k >::Type > childStorage (index_constant< k >={})
 
std::shared_ptr< const typename Child< k >::Type > childStorage (index_constant< k >={}) const
 
std::shared_ptr< typename Child< k >::Type > childStorage (index_constant< k >={})
 
std::shared_ptr< const typename Child< k >::Type > childStorage (index_constant< k >={}) const
 
void setChild (typename Child< k >::Type &child, index_constant< k >={})
 
void setChild (typename Child< k >::Type &&child, index_constant< k >={})
 
void setChild (std::shared_ptr< typename Child< k >::Type > child, index_constant< k >={})
 
void setChild (typename Child< k >::Type &child, index_constant< k >={})
 
void setChild (typename Child< k >::Type &&child, index_constant< k >={})
 
void setChild (std::shared_ptr< typename Child< k >::Type > child, index_constant< k >={})
 
const NodeStoragenodeStorage () const
 
const NodeStoragenodeStorage () const
 

Static Public Member Functions

static constexpr auto degree ()
 

Static Public Attributes

static const bool isLeaf
 
static const bool isPower
 
static const bool isComposite
 
static const std::size_t CHILDREN
 

Member Typedef Documentation

◆ ImplementationTag

template<typename... Children>
typedef CompositeDifferentiableFunctionLocalViewTag Dune::PDELab::CompositeLocalFunction< Children >::ImplementationTag

Constructor & Destructor Documentation

◆ CompositeLocalFunction() [1/2]

template<typename... Children>
Dune::PDELab::CompositeLocalFunction< Children >::CompositeLocalFunction ( )
inline

Default Constructor.

◆ CompositeLocalFunction() [2/2]

template<typename... Children>
template<typename... Args, typename = typename std::enable_if<(sizeof...(Args) == sizeof...(Children))>::type>
Dune::PDELab::CompositeLocalFunction< Children >::CompositeLocalFunction ( Args &&...  args)
inline

Initialize all children with the passed-in objects.

Member Function Documentation

◆ bind()

template<typename... Children>
template<typename Entity >
void Dune::PDELab::CompositeLocalFunction< Children >::bind ( const Entity e)
inline

◆ setTime()

template<typename... Children>
template<typename TT >
void Dune::PDELab::CompositeLocalFunction< Children >::setTime ( TT  time)
inline

Set the time in all leaf nodes of this function tree.

◆ unbind()

template<typename... Children>
void Dune::PDELab::CompositeLocalFunction< Children >::unbind ( )
inline

The documentation for this class was generated from the following file: