![]() |
QMCPACK
|
Testing class breaking EstimatorManagerBase encapsultation. More...
Collaboration diagram for EstimatorManagerBaseTest:Public Member Functions | |
| EstimatorManagerBaseTest (Communicate *comm, int ranks) | |
| void | fakeSomeScalarSamples () |
| Quickly add scalar samples using FakeEstimator mock estimator. More... | |
| void | collectScalarEstimators () |
| call private EMB method and colelct EMBTs estimators_ More... | |
| bool | testMakeBlockAverages () |
| for mpi test (it's trivial for 1 rank) More... | |
| EstimatorManagerBaseTest (Communicate *comm, int ranks) | |
| void | fakeSomeScalarSamples () |
| Quickly add scalar samples using FakeEstimator mock estimator. More... | |
| void | collectScalarEstimators () |
| call private EMB method and colelct EMBTs estimators_ More... | |
| bool | testMakeBlockAverages () |
| for mpi test (it's trivial for 1 rank) More... | |
Public Attributes | |
| EstimatorManagerBase | em |
Private Attributes | |
| Communicate * | comm_ |
| std::vector< FakeEstimator > | estimators_ |
Testing class breaking EstimatorManagerBase encapsultation.
Wraps EstimatorManagerBase
Definition at line 30 of file EstimatorManagerBaseTest.h.
| EstimatorManagerBaseTest | ( | Communicate * | comm, |
| int | ranks | ||
| ) |
Definition at line 19 of file EstimatorManagerBaseTest.cpp.
References qmcplusplus::app_log(), EstimatorManagerBaseTest::comm_, qmcplusplus::num_ranks, and Communicate::size().
| EstimatorManagerBaseTest | ( | Communicate * | comm, |
| int | ranks | ||
| ) |
| void collectScalarEstimators | ( | ) |
call private EMB method and colelct EMBTs estimators_
| void collectScalarEstimators | ( | ) |
call private EMB method and colelct EMBTs estimators_
| void fakeSomeScalarSamples | ( | ) |
Quickly add scalar samples using FakeEstimator mock estimator.
Definition at line 29 of file EstimatorManagerBaseTest.cpp.
References EstimatorManagerBaseTest::em, EstimatorManagerBaseTest::estimators_, EstimatorManagerBase::get_AverageCache(), EstimatorManagerBase::get_SquaredAverageCache(), ScalarEstimatorBase::scalars, and ScalarEstimatorBase::scalars_saved.
| void fakeSomeScalarSamples | ( | ) |
Quickly add scalar samples using FakeEstimator mock estimator.
| bool testMakeBlockAverages | ( | ) |
for mpi test (it's trivial for 1 rank)
only used by test_manager_mpi.cpp so implemented there.
| bool testMakeBlockAverages | ( | ) |
for mpi test (it's trivial for 1 rank)
only used by test_manager_mpi.cpp so implemented there.
|
private |
Definition at line 45 of file EstimatorManagerBaseTest.h.
Referenced by EstimatorManagerBaseTest::EstimatorManagerBaseTest().
Definition at line 43 of file EstimatorManagerBaseTest.h.
Referenced by EstimatorManagerBaseTest::fakeSomeScalarSamples().
|
private |
Definition at line 46 of file EstimatorManagerBaseTest.h.
Referenced by EstimatorManagerBaseTest::fakeSomeScalarSamples().