45 record.
add(
"LocalEnergy");
46 record.
add(
"LocalEnergy_sq");
47 record.
add(
"LocalEnergy_p");
48 record.
add(
"LocalEnergy_sq_p");
49 record.
add(
"LocalEnergy_sq_cross");
50 record.
add(
"LocalPotential");
51 record.
add(
"LocalPotential_pure");
53 record.
add(
"OldestBead");
57 std::ostringstream ss;
63 std::ostringstream ss;
std::string getObservableName(int i) const
return the name of the i-th observable
int startIndex() const
retrun the starting index
helper functions for EinsplineSetBuilder
Class to accumulate the local energy and components.
Collection of Local Energy Operators.
int FirstIndex
first index within an record of the first element handled by an object
const QMCHamiltonian & refH
std::vector< accumulator_type > scalars
scalars to be measured
int add(const std::string &aname)
void resizeBasedOnHamiltonian(const QMCHamiltonian &ham)
RMCLocalEnergyEstimator(QMCHamiltonian &ham, int nobs=2)
constructor
int sizeOfObservables() const
return the size of observables
RMCLocalEnergyEstimator * clone() override
clone the object
std::vector< accumulator_type > scalars_saved
scalars saved
void clear()
clear the scalars to collect
void add2Record(RecordListType &record) override
add the local energy, variance and all the Hamiltonian components to the scalar record container ...
int LastIndex
last index within an record of the first element handled by an object