|
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 |
Public Member Functions inherited from madness::MacroTaskOperationBase | |
| MacroTaskOperationBase () | |
| 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 ="CorrelationEnergy" |
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 |
| 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" |