MADNESS 0.10.1
|
#include <CCStructures.h>
Public Types | |
typedef std::tuple< const std::vector< CCPair > &, const CC_vecfunction &, const Info & > | argtupleT |
typedef std::vector< ScalarResult< double > > | resultT |
first vector is the potential, second is an intermediate (if applicable, e.g. for s2b and s2c potentials) | |
Public Member Functions | |
MacroTaskComputeCorrelationEnergy () | |
resultT | allocator (World &world, const argtupleT &argtuple) const |
allocate the result and set the name of this task | |
resultT | operator() (const std::vector< CCPair > &pairs, const CC_vecfunction &singles_gs, const Info &info) const |
![]() | |
MacroTaskOperationBase () | |
Public Attributes | |
std::string | basename ="CorrelationEnergy" |
![]() | |
Batch | batch |
std::string | name ="unknown_task" |
std::shared_ptr< MacroTaskPartitioner > | partitioner =0 |
typedef std::tuple< const std::vector<CCPair>&, const CC_vecfunction&, const Info& > madness::MacroTaskComputeCorrelationEnergy::argtupleT |
first vector is the potential, second is an intermediate (if applicable, e.g. for s2b and s2c potentials)
|
inline |
References madness::MacroTaskOperationBase::name.
|
inline |
allocate the result and set the name of this task
References madness::nonlinear_vector_solver().
std::vector< ScalarResult< double > > madness::MacroTaskComputeCorrelationEnergy::operator() | ( | const std::vector< CCPair > & | pairs, |
const CC_vecfunction & | singles_gs, | ||
const Info & | info | ||
) | const |
std::string madness::MacroTaskComputeCorrelationEnergy::basename ="CorrelationEnergy" |