MADNESS 0.10.1
MixedTupleTask< elementT, elementR > Class Template Reference

this task won't do anything, is mostly to check if the combinations compile More...

Inheritance diagram for MixedTupleTask< elementT, elementR >:
Collaboration diagram for MixedTupleTask< elementT, elementR >:

Public Types

typedef std::tuple< const std::vector< real_function_3d > & > argtupleT
typedef std::tuple< elementT, elementR > resultT

Public Member Functions

resultT allocator (World &world, const argtupleT &argtuple) const
template<typename T>
std::enable_if< std::is_same< T, ScalarResult< double > >::value, T >::type allocator (World &world, std::size_t n) const
template<typename T>
std::enable_if< std::is_same< T, std::vector< ScalarResult< double > > >::value, T >::type allocator (World &world, std::size_t n) const
template<typename T>
std::enable_if< std::is_same< T, std::vector< real_function_3d > >::value, T >::type allocator (World &world, std::size_t n) const
template<typename T>
std::enable_if< std::is_same< T, Function< double, 3 > >::value, T >::type allocator (World &world, std::size_t n) const
resultT operator() (const std::vector< real_function_3d > &f1) const
Public Member Functions inherited from madness::MacroTaskOperationBase
 MacroTaskOperationBase ()
 MacroTaskOperationBase (const std::string name)
virtual ~MacroTaskOperationBase ()
virtual bool accumulates_own_output () const
virtual void cleanup ()
 release whatever the task kept across its batches, called once the queue has run
virtual bool handles_own_data_movement () const
 true if the task moves its operand coefficients into the subworld itself
virtual long owner_hint (const Batch &, const long) const
 which subworld should run this batch; -1 leaves the choice to the queue

Additional Inherited Members

Public Attributes inherited from madness::MacroTaskOperationBase
Batch batch
Cloud * cloud_ptr =0
std::string name ="unknown_task"
std::shared_ptr< MacroTaskPartitioner > partitioner =0
World * subworld_ptr =0

Detailed Description

template<typename elementT, typename elementR>
class MixedTupleTask< elementT, elementR >

this task won't do anything, is mostly to check if the combinations compile

Member Typedef Documentation

◆ argtupleT

template<typename elementT, typename elementR>
typedef std::tuple<const std::vector<real_function_3d> &> MixedTupleTask< elementT, elementR >::argtupleT

◆ resultT

template<typename elementT, typename elementR>
typedef std::tuple<elementT,elementR> MixedTupleTask< elementT, elementR >::resultT

Member Function Documentation

◆ allocator() [1/5]

template<typename elementT, typename elementR>
resultT MixedTupleTask< elementT, elementR >::allocator ( World & world,
const argtupleT & argtuple ) const
inline

References allocator().

◆ allocator() [2/5]

template<typename elementT, typename elementR>
template<typename T>
std::enable_if< std::is_same< T, ScalarResult< double > >::value, T >::type MixedTupleTask< elementT, elementR >::allocator ( World & world,
std::size_t n ) const
inline

◆ allocator() [3/5]

template<typename elementT, typename elementR>
template<typename T>
std::enable_if< std::is_same< T, std::vector< ScalarResult< double > > >::value, T >::type MixedTupleTask< elementT, elementR >::allocator ( World & world,
std::size_t n ) const
inline

◆ allocator() [4/5]

template<typename elementT, typename elementR>
template<typename T>
std::enable_if< std::is_same< T, std::vector< real_function_3d > >::value, T >::type MixedTupleTask< elementT, elementR >::allocator ( World & world,
std::size_t n ) const
inline

◆ allocator() [5/5]

template<typename elementT, typename elementR>
template<typename T>
std::enable_if< std::is_same< T, Function< double, 3 > >::value, T >::type MixedTupleTask< elementT, elementR >::allocator ( World & world,
std::size_t n ) const
inline

◆ operator()()

template<typename elementT, typename elementR>
resultT MixedTupleTask< elementT, elementR >::operator() ( const std::vector< real_function_3d > & f1) const
inline

References allocator(), and f1.


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