MADNESS 0.10.1
Public Types | Public Member Functions | Public Attributes | List of all members
madness::MacroTaskSinglesPotentialGs Class Reference

#include <CCStructures.h>

Inheritance diagram for madness::MacroTaskSinglesPotentialGs:
Inheritance graph
[legend]
Collaboration diagram for madness::MacroTaskSinglesPotentialGs:
Collaboration graph
[legend]

Public Types

typedef std::tuple< const std::vector< int > &, 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 > >
 first vector is the potential, second is an intermediate (if applicable, e.g. for s2b and s2c potentials)
 

Public Member Functions

 MacroTaskSinglesPotentialGs ()
 
resultT allocator (World &world, const argtupleT &argtuple) const
 allocate the result and set the name of this task
 
resultT operator() (const std::vector< int > &result_index, const CC_vecfunction &singles_gs, const std::vector< CCPair > &doubles_gs, const int &name, const Info &info)
 
- Public Member Functions inherited from madness::MacroTaskOperationBase
 MacroTaskOperationBase ()
 

Public Attributes

std::string basename ="SinglesPotentialGs"
 
- Public Attributes inherited from madness::MacroTaskOperationBase
Batch batch
 
std::string name ="unknown_task"
 
std::shared_ptr< MacroTaskPartitionerpartitioner =0
 

Member Typedef Documentation

◆ argtupleT

typedef std::tuple< const std::vector<int>&, const CC_vecfunction&, const std::vector<CCPair>&, const int&, const Info& > madness::MacroTaskSinglesPotentialGs::argtupleT

◆ resultT

first vector is the potential, second is an intermediate (if applicable, e.g. for s2b and s2c potentials)

Constructor & Destructor Documentation

◆ MacroTaskSinglesPotentialGs()

madness::MacroTaskSinglesPotentialGs::MacroTaskSinglesPotentialGs ( )
inline

Member Function Documentation

◆ allocator()

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

allocate the result and set the name of this task

References madness::assign_name(), basename, and madness::MacroTaskOperationBase::name.

◆ operator()()

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

Member Data Documentation

◆ basename

std::string madness::MacroTaskSinglesPotentialGs::basename ="SinglesPotentialGs"

Referenced by allocator().


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