![]() |
QMCPACK
|
Wrappers for dispatching to QMCHamiltonian single walker APIs or mw_ APIs. More...
Public Types | |
using | FullPrecRealType = QMCHamiltonian::FullPrecRealType |
Public Member Functions | |
Hdispatcher (bool use_batch) | |
std::vector< FullPrecRealType > | flex_evaluate (const RefVectorWithLeader< QMCHamiltonian > &ham_list, const RefVectorWithLeader< TrialWaveFunction > &wf_list, const RefVectorWithLeader< ParticleSet > &p_list) const |
std::vector< FullPrecRealType > | flex_evaluateWithToperator (const RefVectorWithLeader< QMCHamiltonian > &ham_list, const RefVectorWithLeader< TrialWaveFunction > &wf_list, const RefVectorWithLeader< ParticleSet > &p_list) const |
std::vector< int > | flex_makeNonLocalMoves (const RefVectorWithLeader< QMCHamiltonian > &ham_list, const RefVectorWithLeader< TrialWaveFunction > &wf_list, const RefVectorWithLeader< ParticleSet > &p_list) const |
Private Attributes | |
bool | use_batch_ |
Wrappers for dispatching to QMCHamiltonian single walker APIs or mw_ APIs.
This should be only used by QMC drivers. member function names must match mw_ APIs in QMCHamiltonian
Definition at line 24 of file Hdispatcher.h.
Definition at line 27 of file Hdispatcher.h.
Hdispatcher | ( | bool | use_batch | ) |
Definition at line 19 of file Hdispatcher.cpp.
std::vector< QMCHamiltonian::FullPrecRealType > flex_evaluate | ( | const RefVectorWithLeader< QMCHamiltonian > & | ham_list, |
const RefVectorWithLeader< TrialWaveFunction > & | wf_list, | ||
const RefVectorWithLeader< ParticleSet > & | p_list | ||
) | const |
Definition at line 22 of file Hdispatcher.cpp.
References qmcplusplus::evaluate(), QMCHamiltonian::mw_evaluate(), and Hdispatcher::use_batch_.
std::vector< QMCHamiltonian::FullPrecRealType > flex_evaluateWithToperator | ( | const RefVectorWithLeader< QMCHamiltonian > & | ham_list, |
const RefVectorWithLeader< TrialWaveFunction > & | wf_list, | ||
const RefVectorWithLeader< ParticleSet > & | p_list | ||
) | const |
Definition at line 39 of file Hdispatcher.cpp.
References QMCHamiltonian::mw_evaluateWithToperator(), and Hdispatcher::use_batch_.
std::vector< int > flex_makeNonLocalMoves | ( | const RefVectorWithLeader< QMCHamiltonian > & | ham_list, |
const RefVectorWithLeader< TrialWaveFunction > & | wf_list, | ||
const RefVectorWithLeader< ParticleSet > & | p_list | ||
) | const |
Definition at line 56 of file Hdispatcher.cpp.
References QMCHamiltonian::mw_makeNonLocalMoves(), and Hdispatcher::use_batch_.
|
private |
Definition at line 44 of file Hdispatcher.h.
Referenced by Hdispatcher::flex_evaluate(), Hdispatcher::flex_evaluateWithToperator(), and Hdispatcher::flex_makeNonLocalMoves().