QMCPACK
SelfHealingOverlapLegacy.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) 2024 QMCPACK developers.
6 //
7 // File developed by: Jaron T. Krogel, krogeljt@ornl.gov, Oak Ridge National Laboratory
8 //
9 // File created by: Jaron T. Krogel, krogeljt@ornl.gov, Oak Ridge National Laboratory
10 //////////////////////////////////////////////////////////////////////////////////////
11 
12 
13 #ifndef QMCPLUSPLUS_SHOVERLAPLEGACY__H
14 #define QMCPLUSPLUS_SHOVERLAPLEGACY__H
15 
17 
18 namespace qmcplusplus
19 {
20 /** Class that collects MSD coefficient values via the Self-Healing overlap
21  * (legacy driver version)
22  */
24 {
25 public:
31 
32  //data members
33  size_t ncoef;
36 
37  //constructor/destructor
40 
41  //standard interface
42  std::string getClassName() const override { return "SelfHealingOverlapLegacy"; }
43  std::unique_ptr<OperatorBase> makeClone(ParticleSet& P, TrialWaveFunction& psi) final;
44  bool put(xmlNodePtr cur) override;
45  Return_t evaluate(ParticleSet& P) override;
46 
47  //required for Collectables interface
48  void addObservables(PropertySetType& plist, BufferType& olist) override;
49  void registerCollectables(std::vector<ObservableHelper>& h5desc, hdf_archive& file) const override;
50 
51  //should be empty for Collectables interface
52  void resetTargetParticleSet(ParticleSet& P) override {}
53  void setObservables(PropertySetType& plist) override {}
54  void setParticlePropertyList(PropertySetType& plist, int offset) override {}
55 #if !defined(REMOVE_TRACEMANAGER)
59 #endif
60 
61  //obsolete?
62  bool get(std::ostream& os) const override { return false; }
63 
64  //local functions
65 
66 };
67 } // namespace qmcplusplus
68 
69 #endif
a class that defines a supercell in D-dimensional Euclean space.
helper functions for EinsplineSetBuilder
Definition: Configuration.h:43
void setObservables(PropertySetType &plist) override
Set the values evaluated by this object to plist Default implementation is to assign Value which is u...
void resetTargetParticleSet(ParticleSet &P) override
Reset the data with the target ParticleSet.
QTBase::RealType RealType
Definition: Configuration.h:58
bool put(xmlNodePtr cur) override
Read the input parameter.
std::unique_ptr< OperatorBase > makeClone(ParticleSet &P, TrialWaveFunction &psi) final
CrystalLattice< OHMMS_PRECISION, OHMMS_DIM > ParticleLayout
Definition: Configuration.h:79
Declaration of OperatorBase.
class to handle hdf file
Definition: hdf_archive.h:51
void registerCollectables(std::vector< ObservableHelper > &h5desc, hdf_archive &file) const override
QTBase::ComplexType ComplexType
Definition: Configuration.h:59
Vectorized record engine for scalar properties.
Return_t evaluate(ParticleSet &P) override
Evaluate the local energy contribution of this component.
Specialized paritlce class for atomistic simulations.
Definition: ParticleSet.h:55
ParticleSet::Buffer_t BufferType
typedef for the serialized buffer
Definition: OperatorBase.h:75
QTBase::ValueType ValueType
Definition: Configuration.h:60
Class that collects MSD coefficient values via the Self-Healing overlap (legacy driver version) ...
QTBase::PosType PosType
Definition: Configuration.h:61
std::string getClassName() const override
return class name
An abstract class for Local Energy operators.
Definition: OperatorBase.h:59
Class to represent a many-body trial wave function.
void setParticlePropertyList(PropertySetType &plist, int offset) override
void addObservables(PropertySetType &plist, BufferType &olist) override
named values to the property list Default implementaton uses addValue(plist_)
BareKineticEnergy::Return_t Return_t
RecordNamedProperty< FullPrecRealType > PropertySetType
define PropertyList_t
Definition: Configuration.h:69