![]() |
QMCPACK
|
Class to manage a set of ScalarEstimators. More...
Public Types | |
using | RealType = QMCTraits::FullPrecRealType |
using | FullPrecRealType = QMCTraits::FullPrecRealType |
using | EstimatorType = ScalarEstimatorBase |
using | BufferType = std::vector< RealType > |
using | MCPWalker = Walker< QMCTraits, PtclOnLatticeTraits > |
Public Member Functions | |
EstimatorManagerBase (Communicate *c=0) | |
default constructor More... | |
EstimatorManagerBase (EstimatorManagerBase &em) | |
copy constructor More... | |
virtual | ~EstimatorManagerBase () |
destructor More... | |
void | setCommunicator (Communicate *c) |
set the communicator More... | |
Communicate * | getCommunicator () |
return the communicator More... | |
bool | is_manager () const |
return true if the rank == 0 More... | |
int | size () const |
return the number of ScalarEstimators More... | |
int | addProperty (const char *aname) |
add a property with a name More... | |
void | setProperty (int i, RealType v) |
set the value of the i-th column with a value v More... | |
RealType | getProperty (int i) const |
int | addObservable (const char *aname) |
RealType | getObservable (int i) const |
void | getData (int i, std::vector< RealType > &values) |
int | add (std::unique_ptr< EstimatorType > newestimator, const std::string &aname) |
add an Estimator More... | |
int | add (std::unique_ptr< EstimatorType > newestimator) |
add a main estimator More... | |
EstimatorType * | getEstimator (const std::string &a) |
return a pointer to the estimator aname More... | |
EstimatorType * | getMainEstimator () |
return a pointer to the estimator More... | |
void | setCollectionMode (bool collect) |
set CollectSum More... | |
bool | put (QMCHamiltonian &H, xmlNodePtr cur) |
process xml tag associated with estimators More... | |
void | resetTargetParticleSet (ParticleSet &p) |
void | reset () |
reset the estimator More... | |
void | start (int blocks, bool record=true) |
start a run More... | |
void | stop () |
stop a qmc run More... | |
void | stop (const std::vector< EstimatorManagerBase *> m) |
stop a qmc run More... | |
void | startBlock (int steps) |
start a block More... | |
void | stopBlock (RealType accept, bool collectall=true) |
stop a block More... | |
void | stopBlock (const std::vector< EstimatorManagerBase *> &m) |
stop a block More... | |
void | accumulate (MCWalkerConfiguration &W) |
accumulate the measurements More... | |
void | accumulate (MCWalkerConfiguration &W, MCWalkerConfiguration::iterator it, MCWalkerConfiguration::iterator it_end) |
accumulate the measurements for a subset of walkers [it,it_end) More... | |
void | getApproximateEnergyVariance (RealType &e, RealType &var) |
get the average of per-block energy and variance of all the blocks Note: this is not weighted average. More... | |
template<class CT > | |
void | write (CT &anything, bool doappend) |
auto & | get_AverageCache () |
auto & | get_SquaredAverageCache () |
Protected Attributes | |
std::bitset< 8 > | Options |
int | BufferSize |
size of the message buffer More... | |
int | RecordCount |
number of records in a block More... | |
int | weightInd |
index for the block weight PropertyCache(weightInd) More... | |
int | cpuInd |
index for the block cpu PropertyCache(cpuInd) More... | |
int | acceptInd |
index for the acceptance rate PropertyCache(acceptInd) More... | |
hdf_archive | h_file |
hdf5 handler More... | |
RealType | BlockWeight |
total weight accumulated in a block More... | |
std::unique_ptr< std::ofstream > | Archive |
file handler to write data More... | |
Communicate * | myComm |
communicator to handle communication More... | |
ScalarEstimatorBase * | MainEstimator |
pointer to the primary ScalarEstimatorBase More... | |
std::unique_ptr< CollectablesEstimator > | Collectables |
pointer to the CollectablesEstimator More... | |
ScalarEstimatorBase::accumulator_type | energyAccumulator |
accumulator for the energy More... | |
ScalarEstimatorBase::accumulator_type | varAccumulator |
accumulator for the variance More... | |
Vector< RealType > | AverageCache |
cached block averages of the values More... | |
Vector< RealType > | SquaredAverageCache |
cached block averages of the squared values More... | |
Vector< RealType > | PropertyCache |
cached block averages of properties, e.g. BlockCPU More... | |
RecordNamedProperty< RealType > | BlockAverages |
manager of scalar data More... | |
RecordNamedProperty< RealType > | BlockProperties |
manager of property data More... | |
RecordNamedProperty< RealType > | TotalAverages |
block averages: name to value More... | |
Matrix< RealType > | TotalAveragesData |
data accumulated over the blocks More... | |
std::vector< int > | Block2Total |
index mapping between BlockAverages and TotalAverages More... | |
std::map< std::string, int > | EstimatorMap |
column map More... | |
UPtrVector< EstimatorType > | Estimators |
estimators of simple scalars More... | |
std::vector< ObservableHelper > | h5desc |
convenient descriptors for hdf5 More... | |
Timer | MyTimer |
Timer. More... | |
Private Member Functions | |
void | collectBlockAverages () |
collect data and write More... | |
void | addHeader (std::ostream &o) |
add header to an std::ostream More... | |
Private Attributes | |
std::string | main_estimator_name_ |
name of the primary estimator name More... | |
int | max_output_scalar_dat_ |
number of maximum data for a scalar.dat More... | |
std::vector< std::unique_ptr< BufferType > > | RemoteData |
size_t | max_block_avg_name_ |
largest name in BlockAverages adding 2 characters More... | |
Friends | |
class | qmcplusplus::testing::EstimatorManagerBaseTest |
Class to manage a set of ScalarEstimators.
Definition at line 47 of file EstimatorManagerBase.h.
using BufferType = std::vector<RealType> |
Definition at line 54 of file EstimatorManagerBase.h.
using EstimatorType = ScalarEstimatorBase |
Definition at line 53 of file EstimatorManagerBase.h.
Definition at line 51 of file EstimatorManagerBase.h.
using MCPWalker = Walker<QMCTraits, PtclOnLatticeTraits> |
Definition at line 55 of file EstimatorManagerBase.h.
using RealType = QMCTraits::FullPrecRealType |
Definition at line 50 of file EstimatorManagerBase.h.
EstimatorManagerBase | ( | Communicate * | c = 0 | ) |
default constructor
Definition at line 56 of file EstimatorManagerBase.cpp.
References EstimatorManagerBase::setCommunicator().
copy constructor
Definition at line 67 of file EstimatorManagerBase.cpp.
References EstimatorManagerBase::Collectables, EstimatorManagerBase::EstimatorMap, EstimatorManagerBase::Estimators, EstimatorManagerBase::main_estimator_name_, EstimatorManagerBase::MainEstimator, EstimatorManagerBase::myComm, and EstimatorManagerBase::setCommunicator().
|
virtualdefault |
destructor
void accumulate | ( | MCWalkerConfiguration & | W | ) |
accumulate the measurements
accumulate Local energies and collectables
W | walkers |
W | ensemble |
Definition at line 349 of file EstimatorManagerBase.cpp.
References WalkerConfigurations::begin(), EstimatorManagerBase::BlockWeight, ParticleSet::Collectables, EstimatorManagerBase::Collectables, WalkerConfigurations::end(), EstimatorManagerBase::Estimators, WalkerConfigurations::getActiveWalkers(), WalkerConfigurations::getGlobalNumWalkers(), and norm().
Referenced by RMCUpdateAllWithDrift::accumulate(), RMCUpdatePbyPWithDrift::accumulate(), EstimatorManagerBase::accumulate(), and QMCUpdateBase::accumulate().
void accumulate | ( | MCWalkerConfiguration & | W, |
MCWalkerConfiguration::iterator | it, | ||
MCWalkerConfiguration::iterator | it_end | ||
) |
accumulate the measurements for a subset of walkers [it,it_end)
W | walkers |
it | first walker |
it_end | last walker |
Definition at line 359 of file EstimatorManagerBase.cpp.
References EstimatorManagerBase::accumulate(), EstimatorManagerBase::BlockWeight, ParticleSet::Collectables, EstimatorManagerBase::Collectables, EstimatorManagerBase::Estimators, WalkerConfigurations::getGlobalNumWalkers(), and norm().
int add | ( | std::unique_ptr< EstimatorType > | newestimator, |
const std::string & | aname | ||
) |
add an Estimator
newestimator | New Estimator |
aname | name of the estimator |
Definition at line 465 of file EstimatorManagerBase.cpp.
References qmcplusplus::app_log(), EstimatorManagerBase::EstimatorMap, EstimatorManagerBase::Estimators, EstimatorManagerBase::main_estimator_name_, EstimatorManagerBase::MainEstimator, and qmcplusplus::n.
Referenced by EstimatorManagerBase::addObservable(), EstimatorManagerBase::getMainEstimator(), EstimatorManagerBase::put(), and qmcplusplus::TEST_CASE().
|
inline |
add a main estimator
newestimator | New Estimator |
Definition at line 113 of file EstimatorManagerBase.h.
References EstimatorManagerBase::add(), and EstimatorManagerBase::main_estimator_name_.
Referenced by EstimatorManagerBase::add().
|
private |
add header to an std::ostream
Definition at line 141 of file EstimatorManagerBase.cpp.
References EstimatorManagerBase::BlockAverages, EstimatorManagerBase::BlockProperties, EstimatorManagerBase::max_block_avg_name_, EstimatorManagerBase::max_output_scalar_dat_, omptarget::min(), RecordNamedProperty< T >::Names, and RecordNamedProperty< T >::size().
Referenced by EstimatorManagerBase::start().
int addObservable | ( | const char * | aname | ) |
Definition at line 488 of file EstimatorManagerBase.cpp.
References EstimatorManagerBase::add(), RecordNamedProperty< T >::add(), EstimatorManagerBase::Block2Total, EstimatorManagerBase::BlockAverages, and EstimatorManagerBase::TotalAverages.
Referenced by QMCDriver::addObservable().
|
inline |
add a property with a name
aname | name of the column |
Append a named column. BlockProperties do not contain any meaning data but manages the name to index map for PropertyCache.
Definition at line 85 of file EstimatorManagerBase.h.
References RecordNamedProperty< T >::add(), and EstimatorManagerBase::BlockProperties.
|
private |
collect data and write
Definition at line 298 of file EstimatorManagerBase.cpp.
References EstimatorManagerBase::Archive, EstimatorManagerBase::AverageCache, Vector< T, Alloc >::begin(), EstimatorManagerBase::BlockAverages, qmcplusplus::COLLECT, copy(), Vector< T, Alloc >::data(), Vector< T, Alloc >::end(), EstimatorManagerBase::energyAccumulator, hdf_archive::flush(), EstimatorManagerBase::h5desc, EstimatorManagerBase::h_file, qmcplusplus::MANAGE, EstimatorManagerBase::max_block_avg_name_, EstimatorManagerBase::max_output_scalar_dat_, omptarget::min(), EstimatorManagerBase::myComm, EstimatorManagerBase::Options, EstimatorManagerBase::PropertyCache, EstimatorManagerBase::RecordCount, Communicate::reduce(), EstimatorManagerBase::RemoteData, Communicate::size(), Vector< T, Alloc >::size(), RecordNamedProperty< T >::size(), EstimatorManagerBase::SquaredAverageCache, EstimatorManagerBase::varAccumulator, and EstimatorManagerBase::write().
Referenced by EstimatorManagerBase::stopBlock().
|
inline |
Definition at line 189 of file EstimatorManagerBase.h.
References EstimatorManagerBase::AverageCache.
Referenced by EstimatorManagerBaseTest::fakeSomeScalarSamples().
|
inline |
Definition at line 190 of file EstimatorManagerBase.h.
References EstimatorManagerBase::SquaredAverageCache.
Referenced by EstimatorManagerBaseTest::fakeSomeScalarSamples().
get the average of per-block energy and variance of all the blocks Note: this is not weighted average.
It can be the same as weighted average only when block weights are identical.
Definition at line 371 of file EstimatorManagerBase.cpp.
References Communicate::bcast(), qmcplusplus::COLLECT, accumulator_set< T, typename >::count(), qmcplusplus::Units::charge::e, EstimatorManagerBase::energyAccumulator, accumulator_set< T, typename >::mean(), EstimatorManagerBase::myComm, EstimatorManagerBase::Options, accumulator_set< T, typename >::result(), and EstimatorManagerBase::varAccumulator.
|
inline |
return the communicator
Definition at line 69 of file EstimatorManagerBase.h.
References EstimatorManagerBase::myComm.
void getData | ( | int | i, |
std::vector< RealType > & | values | ||
) |
Definition at line 499 of file EstimatorManagerBase.cpp.
References EstimatorManagerBase::Block2Total, Matrix< T, Alloc >::rows(), and EstimatorManagerBase::TotalAveragesData.
EstimatorManagerBase::EstimatorType * getEstimator | ( | const std::string & | a | ) |
return a pointer to the estimator aname
Definition at line 397 of file EstimatorManagerBase.cpp.
References EstimatorManagerBase::EstimatorMap, and EstimatorManagerBase::Estimators.
Referenced by qmcplusplus::TEST_CASE().
EstimatorManagerBase::EstimatorType * getMainEstimator | ( | ) |
return a pointer to the estimator
Definition at line 390 of file EstimatorManagerBase.cpp.
References EstimatorManagerBase::add(), EstimatorManagerBase::main_estimator_name_, and EstimatorManagerBase::MainEstimator.
|
inline |
Definition at line 97 of file EstimatorManagerBase.h.
References EstimatorManagerBase::TotalAverages.
Referenced by QMCDriver::getObservable().
|
inline |
Definition at line 93 of file EstimatorManagerBase.h.
References EstimatorManagerBase::PropertyCache.
|
inline |
return true if the rank == 0
Definition at line 73 of file EstimatorManagerBase.h.
References EstimatorManagerBase::myComm, and Communicate::rank().
bool put | ( | QMCHamiltonian & | H, |
xmlNodePtr | cur | ||
) |
process xml tag associated with estimators
This should be moved to branch engine.
Definition at line 407 of file EstimatorManagerBase.cpp.
References OhmmsAttributeSet::add(), EstimatorManagerBase::add(), qmcplusplus::app_log(), EstimatorManagerBase::Collectables, EstimatorManagerBase::Estimators, EstimatorManagerBase::main_estimator_name_, EstimatorManagerBase::max_output_scalar_dat_, OhmmsAttributeSet::put(), QMCHamiltonian::sizeOfCollectables(), and QMCHamiltonian::sizeOfObservables().
Referenced by QMCDriver::process().
void reset | ( | ) |
reset the estimator
reset names of the properties
The number of estimators and their order can vary from the previous state. reinitialized properties before setting up a new BlockAverage data list.
Definition at line 126 of file EstimatorManagerBase.cpp.
References EstimatorManagerBase::acceptInd, RecordNamedProperty< T >::add(), EstimatorManagerBase::BlockAverages, EstimatorManagerBase::BlockProperties, RecordNamedProperty< T >::clear(), EstimatorManagerBase::Collectables, EstimatorManagerBase::cpuInd, EstimatorManagerBase::Estimators, EstimatorManagerBase::max_output_scalar_dat_, RecordNamedProperty< T >::size(), and EstimatorManagerBase::weightInd.
Referenced by EstimatorManagerBase::start(), and qmcplusplus::TEST_CASE().
void resetTargetParticleSet | ( | ParticleSet & | p | ) |
Definition at line 139 of file EstimatorManagerBase.cpp.
void setCollectionMode | ( | bool | collect | ) |
set CollectSum
collect | if true, global sum is done over the values |
Definition at line 111 of file EstimatorManagerBase.cpp.
References qmcplusplus::COLLECT, EstimatorManagerBase::myComm, EstimatorManagerBase::Options, EstimatorManagerBase::setCommunicator(), and Communicate::size().
Referenced by DMC::run().
void setCommunicator | ( | Communicate * | c | ) |
set the communicator
Definition at line 90 of file EstimatorManagerBase.cpp.
References qmcplusplus::COLLECT, OHMMS::Controller, qmcplusplus::MANAGE, EstimatorManagerBase::myComm, EstimatorManagerBase::Options, Communicate::rank(), EstimatorManagerBase::RemoteData, and Communicate::size().
Referenced by EstimatorManagerBase::EstimatorManagerBase(), and EstimatorManagerBase::setCollectionMode().
|
inline |
set the value of the i-th column with a value v
i | column index |
v | value |
Definition at line 91 of file EstimatorManagerBase.h.
References EstimatorManagerBase::PropertyCache.
|
inline |
return the number of ScalarEstimators
Definition at line 76 of file EstimatorManagerBase.h.
References EstimatorManagerBase::Estimators.
Referenced by qmcplusplus::TEST_CASE().
void start | ( | int | blocks, |
bool | record = true |
||
) |
start a run
blocks | number of blocks |
record | if true, will write to a file |
Replace reportHeader and reset functon.
Definition at line 160 of file EstimatorManagerBase.cpp.
References EstimatorManagerBase::addHeader(), EstimatorManagerBase::Archive, EstimatorManagerBase::AverageCache, EstimatorManagerBase::BlockAverages, EstimatorManagerBase::BlockProperties, EstimatorManagerBase::BufferSize, accumulator_set< T, typename >::clear(), EstimatorManagerBase::Collectables, hdf_archive::create(), EstimatorManagerBase::energyAccumulator, EstimatorManagerBase::Estimators, Communicate::getName(), EstimatorManagerBase::h5desc, EstimatorManagerBase::h_file, qmcplusplus::MANAGE, EstimatorManagerBase::myComm, EstimatorManagerBase::Options, EstimatorManagerBase::PropertyCache, Communicate::rank(), qmcplusplus::RECORD, EstimatorManagerBase::RecordCount, EstimatorManagerBase::RemoteData, EstimatorManagerBase::reset(), Vector< T, Alloc >::resize(), RecordNamedProperty< T >::setValues(), Vector< T, Alloc >::size(), RecordNamedProperty< T >::size(), EstimatorManagerBase::SquaredAverageCache, and EstimatorManagerBase::varAccumulator.
Referenced by VMC::run(), RMC::run(), DMC::run(), CSVMC::run(), QMCUpdateBase::startRun(), and qmcplusplus::TEST_CASE().
void startBlock | ( | int | steps | ) |
start a block
steps | number of steps in a block |
Definition at line 251 of file EstimatorManagerBase.cpp.
References EstimatorManagerBase::BlockWeight, EstimatorManagerBase::MyTimer, and Timer::restart().
Referenced by DMC::run(), and QMCUpdateBase::startBlock().
void stop | ( | ) |
stop a qmc run
Stop a run.
Replace finalize();
Collect data in Cache and print out data into hdf5 and ascii file. This should not be called in a OpenMP parallel region or should be guarded by master/single. Keep the ascii output for now
Definition at line 243 of file EstimatorManagerBase.cpp.
References EstimatorManagerBase::Archive, hdf_archive::close(), and EstimatorManagerBase::h_file.
Referenced by VMC::run(), RMC::run(), DMC::run(), CSVMC::run(), EstimatorManagerBase::stop(), QMCUpdateBase::stopRun(), and qmcplusplus::TEST_CASE().
void stop | ( | const std::vector< EstimatorManagerBase *> | m | ) |
stop a qmc run
Definition at line 213 of file EstimatorManagerBase.cpp.
References EstimatorManagerBase::AverageCache, EstimatorManagerBase::PropertyCache, Vector< T, Alloc >::size(), EstimatorManagerBase::SquaredAverageCache, and EstimatorManagerBase::stop().
void stopBlock | ( | RealType | accept, |
bool | collectall = true |
||
) |
stop a block
take statistics of a block
accept | acceptance rate of this block |
accept | acceptance rate of this block |
collectall | if true, need to gather data over MPI tasks |
Definition at line 261 of file EstimatorManagerBase.cpp.
References EstimatorManagerBase::acceptInd, EstimatorManagerBase::AverageCache, Vector< T, Alloc >::begin(), EstimatorManagerBase::BlockWeight, EstimatorManagerBase::Collectables, EstimatorManagerBase::collectBlockAverages(), EstimatorManagerBase::cpuInd, Timer::elapsed(), EstimatorManagerBase::Estimators, EstimatorManagerBase::MyTimer, EstimatorManagerBase::PropertyCache, EstimatorManagerBase::SquaredAverageCache, and EstimatorManagerBase::weightInd.
Referenced by VMC::run(), RMC::run(), DMC::run(), CSVMC::run(), and QMCUpdateBase::stopBlock().
void stopBlock | ( | const std::vector< EstimatorManagerBase *> & | m | ) |
stop a block
m | list of estimator which has been collecting data independently |
Definition at line 277 of file EstimatorManagerBase.cpp.
References EstimatorManagerBase::AverageCache, EstimatorManagerBase::collectBlockAverages(), EstimatorManagerBase::PropertyCache, Vector< T, Alloc >::size(), and EstimatorManagerBase::SquaredAverageCache.
|
inline |
Definition at line 184 of file EstimatorManagerBase.h.
References EstimatorManagerBase::h_file.
Referenced by EstimatorManagerBase::collectBlockAverages().
|
friend |
Definition at line 278 of file EstimatorManagerBase.h.
|
protected |
index for the acceptance rate PropertyCache(acceptInd)
Definition at line 204 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::reset(), and EstimatorManagerBase::stopBlock().
|
protected |
file handler to write data
Definition at line 210 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::collectBlockAverages(), EstimatorManagerBase::start(), and EstimatorManagerBase::stop().
cached block averages of the values
Definition at line 233 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::collectBlockAverages(), EstimatorManagerBase::get_AverageCache(), EstimatorManagerBase::start(), EstimatorManagerBase::stop(), and EstimatorManagerBase::stopBlock().
|
protected |
index mapping between BlockAverages and TotalAverages
Definition at line 247 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::addObservable(), and EstimatorManagerBase::getData().
|
protected |
manager of scalar data
Definition at line 239 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::addHeader(), EstimatorManagerBase::addObservable(), EstimatorManagerBase::collectBlockAverages(), EstimatorManagerBase::reset(), and EstimatorManagerBase::start().
|
protected |
manager of property data
Definition at line 241 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::addHeader(), EstimatorManagerBase::addProperty(), EstimatorManagerBase::reset(), and EstimatorManagerBase::start().
|
protected |
total weight accumulated in a block
Definition at line 208 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::accumulate(), EstimatorManagerBase::startBlock(), and EstimatorManagerBase::stopBlock().
|
protected |
size of the message buffer
Definition at line 196 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::start().
|
protected |
pointer to the CollectablesEstimator
Do not need to clone: owned by the master thread
Definition at line 224 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::accumulate(), EstimatorManagerBase::EstimatorManagerBase(), EstimatorManagerBase::put(), EstimatorManagerBase::reset(), EstimatorManagerBase::start(), and EstimatorManagerBase::stopBlock().
|
protected |
index for the block cpu PropertyCache(cpuInd)
Definition at line 202 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::reset(), and EstimatorManagerBase::stopBlock().
|
protected |
accumulator for the energy
Definition at line 229 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::collectBlockAverages(), EstimatorManagerBase::getApproximateEnergyVariance(), and EstimatorManagerBase::start().
|
protected |
column map
Definition at line 249 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::add(), EstimatorManagerBase::EstimatorManagerBase(), and EstimatorManagerBase::getEstimator().
|
protected |
estimators of simple scalars
Definition at line 251 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::accumulate(), EstimatorManagerBase::add(), EstimatorManagerBase::EstimatorManagerBase(), EstimatorManagerBase::getEstimator(), EstimatorManagerBase::put(), EstimatorManagerBase::reset(), EstimatorManagerBase::size(), EstimatorManagerBase::start(), and EstimatorManagerBase::stopBlock().
|
protected |
convenient descriptors for hdf5
Definition at line 253 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::collectBlockAverages(), and EstimatorManagerBase::start().
|
protected |
hdf5 handler
Definition at line 206 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::collectBlockAverages(), EstimatorManagerBase::start(), EstimatorManagerBase::stop(), and EstimatorManagerBase::write().
|
private |
name of the primary estimator name
Definition at line 261 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::add(), EstimatorManagerBase::EstimatorManagerBase(), EstimatorManagerBase::getMainEstimator(), and EstimatorManagerBase::put().
|
protected |
pointer to the primary ScalarEstimatorBase
Definition at line 219 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::add(), EstimatorManagerBase::EstimatorManagerBase(), and EstimatorManagerBase::getMainEstimator().
|
private |
largest name in BlockAverages adding 2 characters
Definition at line 276 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::addHeader(), and EstimatorManagerBase::collectBlockAverages().
|
private |
number of maximum data for a scalar.dat
Definition at line 264 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::addHeader(), EstimatorManagerBase::collectBlockAverages(), EstimatorManagerBase::put(), and EstimatorManagerBase::reset().
|
protected |
communicator to handle communication
Definition at line 216 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::collectBlockAverages(), EstimatorManagerBase::EstimatorManagerBase(), EstimatorManagerBase::getApproximateEnergyVariance(), EstimatorManagerBase::getCommunicator(), EstimatorManagerBase::is_manager(), EstimatorManagerBase::setCollectionMode(), EstimatorManagerBase::setCommunicator(), and EstimatorManagerBase::start().
|
protected |
Definition at line 257 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::startBlock(), and EstimatorManagerBase::stopBlock().
|
protected |
cached block averages of properties, e.g. BlockCPU
Definition at line 237 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::collectBlockAverages(), EstimatorManagerBase::getProperty(), EstimatorManagerBase::setProperty(), EstimatorManagerBase::start(), EstimatorManagerBase::stop(), and EstimatorManagerBase::stopBlock().
|
protected |
number of records in a block
Definition at line 198 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::collectBlockAverages(), and EstimatorManagerBase::start().
|
private |
Definition at line 267 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::collectBlockAverages(), EstimatorManagerBase::setCommunicator(), and EstimatorManagerBase::start().
cached block averages of the squared values
Definition at line 235 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::collectBlockAverages(), EstimatorManagerBase::get_SquaredAverageCache(), EstimatorManagerBase::start(), EstimatorManagerBase::stop(), and EstimatorManagerBase::stopBlock().
|
protected |
block averages: name to value
Definition at line 243 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::addObservable(), and EstimatorManagerBase::getObservable().
data accumulated over the blocks
Definition at line 245 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::getData().
|
protected |
accumulator for the variance
Definition at line 231 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::collectBlockAverages(), EstimatorManagerBase::getApproximateEnergyVariance(), and EstimatorManagerBase::start().
|
protected |
index for the block weight PropertyCache(weightInd)
Definition at line 200 of file EstimatorManagerBase.h.
Referenced by EstimatorManagerBase::reset(), and EstimatorManagerBase::stopBlock().