MADNESS 0.10.1
madness::MacroTaskSinglesPotentialEx Class Reference

#include <CCStructures.h>

Inheritance diagram for madness::MacroTaskSinglesPotentialEx:
Collaboration diagram for madness::MacroTaskSinglesPotentialEx:

Public Types

typedef std::tuple< const std::vector< int > &, const CC_vecfunction &, const std::vector< CCPair > &, const CC_vecfunction &, const std::vector< CCPair > &, const int &, const Info & > argtupleT
using resultT = std::tuple<std::vector<real_function_3d>,std::vector<real_function_3d>>

Public Member Functions

 MacroTaskSinglesPotentialEx ()
resultT allocator (World &world, const argtupleT &argtuple) const
resultT operator() (const std::vector< int > &result_index, const CC_vecfunction &singles_gs, const std::vector< CCPair > &doubles_gs, const CC_vecfunction &singles_ex, const std::vector< CCPair > &doubles_ex, const int &name, const Info &info)
 convenience function
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

Public Attributes

std::string basename ="SinglesPotentialEx"
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<int>&, const CC_vecfunction&, const std::vector<CCPair>&, const CC_vecfunction&, const std::vector<CCPair>&, const int&, const Info& > madness::MacroTaskSinglesPotentialEx::argtupleT

◆ resultT

Constructor & Destructor Documentation

◆ MacroTaskSinglesPotentialEx()

madness::MacroTaskSinglesPotentialEx::MacroTaskSinglesPotentialEx ( )
inline

Member Function Documentation

◆ allocator()

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

◆ operator()()

std::tuple< std::vector< real_function_3d >, std::vector< real_function_3d > > madness::MacroTaskSinglesPotentialEx::operator() ( const std::vector< int > & result_index,
const CC_vecfunction & singles_gs,
const std::vector< CCPair > & doubles_gs,
const CC_vecfunction & singles_ex,
const std::vector< CCPair > & doubles_ex,
const int & name,
const Info & info )

Member Data Documentation

◆ basename

std::string madness::MacroTaskSinglesPotentialEx::basename ="SinglesPotentialEx"

Referenced by allocator().


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