![]() |
QMCPACK
|
Public Member Functions | |
void | prepareSampling (int num_params, int num_samples) override |
Function for preparing derivative ratio vectors used by optimizer engines. More... | |
void | takeSample (const std::vector< FullPrecReal > &energy_list, const RecordArray< Value > &dlogpsi_array, const RecordArray< Value > &dhpsioverpsi_array, int base_sample_index) override |
Function for passing derivative ratios to optimizer engines. More... | |
void | finishSampling () override |
Function for having optimizer engines execute their sample_finish functions. More... | |
![]() | |
virtual | ~EngineHandle ()=default |
Additional Inherited Members | |
![]() | |
using | Real = QMCTraits::RealType |
using | Value = QMCTraits::ValueType |
using | FullPrecReal = QMCTraits::FullPrecRealType |
using | FullPrecValue = QMCTraits::FullPrecValueType |
Definition at line 60 of file EngineHandle.h.
|
inlineoverridevirtual |
Function for having optimizer engines execute their sample_finish functions.
Implements EngineHandle.
Definition at line 69 of file EngineHandle.h.
|
inlineoverridevirtual |
Function for preparing derivative ratio vectors used by optimizer engines.
[in] | num_params | Number of optimizable parameters |
Implements EngineHandle.
Definition at line 63 of file EngineHandle.h.
|
inlineoverridevirtual |
Function for passing derivative ratios to optimizer engines.
[in] | energy_list | Vector of local energy values |
[in] | dlogpsi_array | Parameter derivatives of log psi |
[in] | dhpsioverpsi_array | Parameter derivatives of local energy |
[in] | local_index | Crowd local index |
[in] | sample_index | Index of sample on a MPI rank |
Implements EngineHandle.
Definition at line 64 of file EngineHandle.h.