36 for (
int i = 0; i < num_scalar_estimators; ++i)
45 if (estimator->isListenerRequired())
46 estimator->registerListeners(ham_list.
getLeader());
52 uope->startBlock(steps);
helper functions for EinsplineSetBuilder
std::vector< std::unique_ptr< OperatorEstBase > > operator_ests_
OperatorEst Observables.
Class to manage a set of ScalarEstimators As a manager, this class handles the aggregation of data fr...
void startBlock(int steps)
start a block
UPtrVector< ScalarEstimatorBase > scalar_estimators_
estimators of simple scalars
std::unique_ptr< T > UPtr
RealType block_num_samples_
number of samples accumulated in a block
RealType block_weight_
total weight accumulated in a block
UPtr< ScalarEstimatorBase > main_estimator_
main estimator i.e. some version of a local energy estimator.
std::vector< std::reference_wrapper< T > > RefVector
UPtr< ScalarEstimatorBase > main_estimator_
void registerListeners(const RefVectorWithLeader< QMCHamiltonian > &ham_list)
This registers the crowd lever estimators that require listeners into the QMCHamiltonianMultiWalkerRe...
EstimatorManagerCrowd(EstimatorManagerNew &em)
EstimatorManagerCrowd are always spawn of an EstimatorManagerNew.
A container class to represent a walker.
UPtrVector< OperatorEstBase > operator_ests_
std::vector< UPtr< ScalarEstimatorBase > > scalar_ests_
non main scalar estimators collecting simple scalars, are there any? with the removal of collectables...
void accumulate(const RefVector< MCPWalker > &walkers, const RefVector< ParticleSet > &psets, const RefVector< TrialWaveFunction > &wfns, const RefVector< QMCHamiltonian > &hams, RandomBase< FullPrecRealType > &rng)
Accumulate over all scalar estimators and operator estimators over all walkers in crowd...