![]() |
QMCPACK
|
Vectorized record engine for scalar properties. More...
Public Member Functions | |
RecordNamedProperty () | |
RecordNamedProperty (int n) | |
RecordNamedProperty (const RecordNamedProperty< T > &a) | |
void | clear () |
T | operator[] (int i) const |
T & | operator[] (int i) |
std::vector< T >::iterator | begin () |
iterators to use std algorithms More... | |
std::vector< T >::iterator | end () |
std::vector< T >::const_iterator | begin () const |
std::vector< T >::const_iterator | end () const |
int | add (const std::string &aname) |
int | append (const std::string &aroot, int first, int last) |
add multiple items with the aroot More... | |
int | size () const |
void | setValues (T v) |
void | resize (int n) |
void | reset (const char *fileroot, bool append=false) override |
implement virtual functions More... | |
void | report (int iter) override |
void | finalize () override |
bool | put (xmlNodePtr cur) override |
![]() | |
RecordProperty () | |
virtual | ~RecordProperty () |
Public Attributes | |
std::optional< std::ofstream > | OutStream |
std::vector< T > | Values |
std::vector< std::string > | Names |
![]() | |
int | stride |
std::string | FileName |
Vectorized record engine for scalar properties.
A series of values with the name is recorded as a table of multiple columns.
Definition at line 100 of file RecordProperty.h.
|
inline |
Definition at line 106 of file RecordProperty.h.
|
inlineexplicit |
Definition at line 112 of file RecordProperty.h.
|
inline |
Definition at line 118 of file RecordProperty.h.
|
inline |
Definition at line 136 of file RecordProperty.h.
Referenced by LocalEnergyOnlyEstimator::add2Record(), LocalEnergyEstimator::add2Record(), CSEnergyEstimator::add2Record(), RMCLocalEnergyEstimator::add2Record(), EstimatorManagerBase::addObservable(), MomentumEstimator::addObservables(), SkEstimator::addObservables(), SkAllEstimator::addObservables(), SpeciesKineticEnergy::addObservables(), LatticeDeviationEstimator::addObservables(), ACForce::addObservables(), ForwardWalking::addObservables(), ForceChiesaPBCAA::addObservables(), QMCHamiltonian::addObservables(), NonLocalECPotential::addObservables(), CoulombPBCAB::addObservables(), ForceBase::addObservablesF(), ForceBase::addObservablesStress(), EstimatorManagerBase::addProperty(), ParticleSet::addProperty(), OperatorBase::addValue(), ParticleSet::initPropertyList(), EstimatorManagerBase::reset(), EstimatorManagerNew::reset(), and EstimatorManagerNewTest::testMakeBlockAverages().
|
inline |
add multiple items with the aroot
aroot | root |
first | first index |
last | last index |
Definition at line 156 of file RecordProperty.h.
Referenced by RecordNamedProperty< RealType >::reset().
|
inline |
iterators to use std algorithms
Definition at line 130 of file RecordProperty.h.
Referenced by MomentumEstimator::setObservables(), SkEstimator::setObservables(), SpeciesKineticEnergy::setObservables(), SkAllEstimator::setObservables(), LatticeDeviationEstimator::setObservables(), ForwardWalking::setObservables(), MomentumEstimator::setParticlePropertyList(), SkEstimator::setParticlePropertyList(), SkAllEstimator::setParticlePropertyList(), and ForwardWalking::setParticlePropertyList().
|
inline |
Definition at line 132 of file RecordProperty.h.
|
inline |
Definition at line 120 of file RecordProperty.h.
Referenced by ParticleSet::initPropertyList(), EstimatorManagerBase::reset(), and EstimatorManagerNew::reset().
|
inline |
Definition at line 131 of file RecordProperty.h.
|
inline |
Definition at line 133 of file RecordProperty.h.
|
inlineoverridevirtual |
|
inline |
Definition at line 126 of file RecordProperty.h.
|
inline |
Definition at line 127 of file RecordProperty.h.
|
overridevirtual |
|
inlineoverridevirtual |
Implements RecordProperty.
Definition at line 213 of file RecordProperty.h.
|
inlineoverridevirtual |
implement virtual functions
Implements RecordProperty.
Definition at line 191 of file RecordProperty.h.
|
inline |
Definition at line 176 of file RecordProperty.h.
|
inline |
Definition at line 170 of file RecordProperty.h.
Referenced by EstimatorManagerBase::start(), and EstimatorManagerNew::startDriverRun().
|
inline |
Definition at line 168 of file RecordProperty.h.
Referenced by CollectablesEstimator::add2Record(), LocalEnergyEstimator::add2Record(), CSEnergyEstimator::add2Record(), RMCLocalEnergyEstimator::add2Record(), EstimatorManagerNew::addHeader(), EstimatorManagerBase::addHeader(), MomentumEstimator::addObservables(), SkEstimator::addObservables(), SkAllEstimator::addObservables(), SpeciesKineticEnergy::addObservables(), LatticeDeviationEstimator::addObservables(), ACForce::addObservables(), ForwardWalking::addObservables(), NonLocalECPotential::addObservables(), ForceBase::addObservablesF(), ForceBase::addObservablesStress(), EstimatorManagerBase::collectBlockAverages(), MCPopulation::createWalkers(), MCWalkerConfiguration::loadEnsemble(), EstimatorManagerBase::reset(), EstimatorManagerNew::reset(), MCWalkerConfiguration::resetWalkerProperty(), EstimatorManagerBase::start(), EstimatorManagerNew::startDriverRun(), EstimatorManagerNewTest::testMakeBlockAverages(), and EstimatorManagerNew::writeScalarH5().
std::vector<std::string> Names |
Definition at line 104 of file RecordProperty.h.
Referenced by RecordNamedProperty< RealType >::add(), EstimatorManagerNew::addHeader(), EstimatorManagerBase::addHeader(), RecordNamedProperty< RealType >::append(), RecordNamedProperty< RealType >::clear(), ParticleSet::ParticleSet(), ForwardWalking::putSpecial(), RecordNamedProperty< RealType >::RecordNamedProperty(), RecordNamedProperty< RealType >::reset(), RecordNamedProperty< RealType >::resize(), and RecordNamedProperty< RealType >::size().
std::optional<std::ofstream> OutStream |
Definition at line 102 of file RecordProperty.h.
Referenced by RecordNamedProperty< RealType >::report(), and RecordNamedProperty< RealType >::reset().
std::vector<T> Values |
Definition at line 103 of file RecordProperty.h.
Referenced by RecordNamedProperty< RealType >::add(), RecordNamedProperty< RealType >::append(), RecordNamedProperty< RealType >::begin(), RecordNamedProperty< RealType >::clear(), RecordNamedProperty< RealType >::end(), RecordNamedProperty< RealType >::operator[](), ParticleSet::ParticleSet(), RecordNamedProperty< RealType >::RecordNamedProperty(), RecordNamedProperty< RealType >::report(), RecordNamedProperty< RealType >::resize(), and RecordNamedProperty< RealType >::setValues().