MADNESS 0.10.1
VectorOfScalarTask Class Reference
Inheritance diagram for VectorOfScalarTask:
Collaboration diagram for VectorOfScalarTask:

Public Types

typedef std::tuple< const std::vector< real_function_3d > &, const double &, const std::vector< real_function_3d > & > argtupleT
typedef std::vector< ScalarResult< double > > resultT

Public Member Functions

resultT allocator (World &world, const argtupleT &argtuple) const
resultT operator() (const std::vector< real_function_3d > &f1, const double &arg2, const std::vector< real_function_3d > &f2) 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

Member Typedef Documentation

◆ argtupleT

typedef std::tuple<const std::vector<real_function_3d> &, const double &, const std::vector<real_function_3d> &> VectorOfScalarTask::argtupleT

◆ resultT

typedef std::vector<ScalarResult<double> > VectorOfScalarTask::resultT

Member Function Documentation

◆ allocator()

resultT VectorOfScalarTask::allocator ( World & world,
const argtupleT & argtuple ) const
inline

◆ operator()()

resultT VectorOfScalarTask::operator() ( const std::vector< real_function_3d > & f1,
const double & arg2,
const std::vector< real_function_3d > & f2 ) const
inline

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