QMCPACK
EstimatorTesting.h
Go to the documentation of this file.
1 //////////////////////////////////////////////////////////////////////////////////////
2 // This file is distributed under the University of Illinois/NCSA Open Source License.
3 // See LICENSE file in top directory for details.
4 //
5 // Copyright (c) 2021 QMCPACK developers.
6 //
7 // File developed by: Peter Doak, doakpw@ornl.gov, Oak Ridge National Laboratory
8 //
9 // File created by: Peter Doak, doakpw@ornl.gov, Oak Ridge National Laboratory
10 //////////////////////////////////////////////////////////////////////////////////////
11 
12 #ifndef QMCPLUSPLUS_ESTIMATOR_TESTING_H
13 #define QMCPLUSPLUS_ESTIMATOR_TESTING_H
14 
15 #include "ParticleSet.h"
16 #include "OperatorEstBase.h"
17 
18 namespace qmcplusplus
19 {
20 
21 class SpeciesSet;
22 
23 namespace testing
24 {
27 
28 enum class SpeciesCases
29 {
30  GOOD,
32 };
33 
35 SpeciesSet makeSpeciesSet(const SpeciesCases species_case);
36 
37 /** break encapsulation of data_ by OperatorEstBase
38  * only for testing!
39  */
41 {
42 public:
43  // break naming rule to make std::vector which we assume is the type of OperatorEstBase::Data
46  value_type& operator[](size_t pos);
47 
48 private:
50 };
51 
52 } // namespace testing
53 } // namespace qmcplusplus
54 #endif
a class that defines a supercell in D-dimensional Euclean space.
value_type & operator[](size_t pos)
helper functions for EinsplineSetBuilder
Definition: Configuration.h:43
CrystalLattice< OHMMS_PRECISION, OHMMS_DIM > ParticleLayout
Definition: Configuration.h:79
An abstract class for gridded estimators.
OperatorEstBase::Data::value_type value_type
Particle traits to use UniformGridLayout for the ParticleLayout.
Definition: Configuration.h:77
Custom container for set of attributes for a set of species.
Definition: SpeciesSet.h:33
break encapsulation of data_ by OperatorEstBase only for testing!
QMCTraits::FullPrecRealType value_type
SpeciesSet makeSpeciesSet(const SpeciesCases species_case)