QMCPACK
EstimatorManagerCrowdTest Class Reference

Testing class breaking EstimatorManagerCrowd encapsultation. More...

+ Collaboration diagram for EstimatorManagerCrowdTest:

Public Member Functions

 EstimatorManagerCrowdTest (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

Communicatecomm_
 
std::vector< FakeEstimatorestimators_
 

Detailed Description

Testing class breaking EstimatorManagerCrowd encapsultation.

Wraps EstimatorManagerCrowd

Definition at line 30 of file EstimatorManagerCrowdTest.h.

Constructor & Destructor Documentation

◆ EstimatorManagerCrowdTest()

EstimatorManagerCrowdTest ( Communicate comm,
int  ranks 
)

Member Function Documentation

◆ collectScalarEstimators()

void collectScalarEstimators ( )

call private EMB method and colelct EMBTs estimators_

◆ fakeSomeScalarSamples()

void fakeSomeScalarSamples ( )

Quickly add scalar samples using FakeEstimator mock estimator.

◆ testMakeBlockAverages()

bool testMakeBlockAverages ( )

for mpi test (it's trivial for 1 rank)

only used by test_manager_mpi.cpp so implemented there.

Member Data Documentation

◆ comm_

Communicate* comm_
private

Definition at line 45 of file EstimatorManagerCrowdTest.h.

◆ em

Definition at line 43 of file EstimatorManagerCrowdTest.h.

◆ estimators_

std::vector<FakeEstimator> estimators_
private

Definition at line 46 of file EstimatorManagerCrowdTest.h.


The documentation for this class was generated from the following file: