![]() |
QMCPACK
|
Inheritance diagram for FakeEstimator:
Collaboration diagram for FakeEstimator:Public Member Functions | |
| std::string | getName () const override |
| void | accumulate (const MCWalkerConfiguration &W, WalkerIterator first, WalkerIterator last, RealType wgt) override |
| a virtual function to accumulate observables or collectables More... | |
| void | accumulate (const RefVector< MCPWalker > &walkers) override |
| a virtual function to accumulate observables or collectables More... | |
| void | add2Record (RecordNamedProperty< RealType > &record) override |
| add the content of the scalar estimator to the record More... | |
| void | registerObservables (std::vector< ObservableHelper > &h5dec, hdf_archive &file) override |
| add descriptors of observables to utilize hdf5 More... | |
| FakeEstimator * | clone () override |
| clone the object More... | |
| const std::string & | getSubTypeStr () const override |
| String representation of the derived type of the ScalarEstimator. More... | |
Public Member Functions inherited from ScalarEstimatorBase | |
| ScalarEstimatorBase () | |
| virtual | ~ScalarEstimatorBase () |
| virtual bool | isMainEstimator () const |
| Is this estimator a main estimator i.e. the estimator required for a particular driver. More... | |
| RealType | average (int i=0) const |
| return average of the More... | |
| RealType | variance (int i=0) const |
| return a variance More... | |
| std::pair< RealType, RealType > | operator[] (int i) const |
| retrun mean and variance More... | |
| virtual int | size () const |
| return the size of scalars it manages More... | |
| void | clear () |
| clear the scalars to collect More... | |
| template<typename IT > | |
| void | takeBlockAverage (IT first) |
| take block average and write to a common container More... | |
| template<typename IT > | |
| void | takeBlockAverage (IT first, IT first_sq) |
| take block average and write to common containers for values and squared values More... | |
| template<typename IT > | |
| void | addAccumulated (IT first) |
| add the block accumulated scalars More... | |
Public Attributes | |
| std::string | type_ {"fake"} |
Public Attributes inherited from ScalarEstimatorBase | |
| int | FirstIndex |
| first index within an record of the first element handled by an object More... | |
| int | LastIndex |
| last index within an record of the first element handled by an object More... | |
| std::vector< accumulator_type > | scalars |
| scalars to be measured More... | |
| std::vector< accumulator_type > | scalars_saved |
| scalars saved More... | |
Additional Inherited Members | |
Public Types inherited from ScalarEstimatorBase | |
| using | RealType = QMCTraits::FullPrecRealType |
| using | accumulator_type = accumulator_set< RealType > |
| using | Walker_t = MCWalkerConfiguration::Walker_t |
| using | MCPWalker = Walker< QMCTraits, PtclOnLatticeTraits > |
| using | WalkerIterator = MCWalkerConfiguration::const_iterator |
| using | RecordListType = RecordNamedProperty< RealType > |
Definition at line 19 of file FakeEstimator.h.
|
inlineoverridevirtual |
a virtual function to accumulate observables or collectables
| W | const MCWalkerConfiguration |
| first | const_iterator for the first walker |
| last | const_iterator for the last walker |
| wgt | weight |
Pass W along with the iterators so that the properties of W can be utilized.
Implements ScalarEstimatorBase.
Definition at line 24 of file FakeEstimator.h.
a virtual function to accumulate observables or collectables
| global_walkers_ | walkers per ranks or walkers total? |
| RefVector | of MCPWalkers |
| wgt | weight or maybe norm |
Implements ScalarEstimatorBase.
Definition at line 26 of file FakeEstimator.h.
|
inlineoverridevirtual |
add the content of the scalar estimator to the record
| record | scalar data list |
Each ScalarEstimatorBase object adds 1 to many accumulator_type
Implements ScalarEstimatorBase.
Definition at line 28 of file FakeEstimator.h.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements ScalarEstimatorBase.
Definition at line 22 of file FakeEstimator.h.
|
inlineoverridevirtual |
String representation of the derived type of the ScalarEstimator.
Implements ScalarEstimatorBase.
Definition at line 35 of file FakeEstimator.h.
References FakeEstimator::type_.
|
inlineoverridevirtual |
add descriptors of observables to utilize hdf5
| h5desc | descriptor of a data stored in a h5 group |
| file | file to which each statistical data will be stored |
Implements ScalarEstimatorBase.
Definition at line 30 of file FakeEstimator.h.
| std::string type_ {"fake"} |
Definition at line 34 of file FakeEstimator.h.
Referenced by FakeEstimator::getSubTypeStr().