13 #ifndef QMCPLUSPLUS_ESTIMATORMANAGERNEWTEST_HPP 14 #define QMCPLUSPLUS_ESTIMATORMANAGERNEWTEST_HPP
void fakeSomeOperatorEstimatorSamples(int rank)
Quickly add scalar samples using FakeOperatorEstimator mock estimator.
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...
const ScalarEstimatorBase & getMainEstimator()
bool testReplaceMainEstimator()
test replacing the main estimator
EstimatorManagerNewTest(const QMCHamiltonian &ham, Communicate *comm, int ranks)
Collection of Local Energy Operators.
void collectMainEstimators()
call private EMB method and collect EMBTs estimators_ as main_estimators
Testing class breaking EstimatorManagerNew encapsultation.
void fakeMainScalarSamples()
Quickly add main scalar samples using FakeEstimator mock estimator.
EstimatorManagerNewTestAccess(EstimatorManagerNew &emn)
Wrapping information on parallelism.
void testReduceOperatorEstimators()
void collectOperatorEstimators()
reduce the OperatorEstimators onto the EstimatorManagerNew copy.
std::vector< QMCT::RealType > & get_operator_data()
std::vector< FakeEstimator > estimators_
UPtr< ScalarEstimatorBase > main_estimator_
main estimator i.e. some version of a local energy estimator.
EstimatorManagerNew & emn_
void collectScalarEstimators()
call private EMB method and colelct EMBTs estimators_
bool testMakeBlockAverages()
Abstract class for an estimator of a scalar operator.
void fakeScalarSamplesAndCollect()
Quickly add scalar samples using FakeEstimator mock estimator.
std::vector< RefVector< ScalarEstimatorBase > > scalar_estimators_
std::vector< QMCT::RealType > generateGoodOperatorData(int num_ranks)
for mpi test (it's trivial for 1 rank)
EstimatorManagerNew emn(comm, std::move(emi), ham, pset, twf)