QMCPACK
DriftModifierUNR.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) 2020 QMCPACK developers.
6 //
7 // File developed by: Ye Luo, yeluo@anl.gov, Argonne National Laboratory
8 //
9 // File created by: Ye Luo, yeluo@anl.gov, Argonne National Laboratory
10 //////////////////////////////////////////////////////////////////////////////////////
11 
12 
13 #ifndef QMCPLUSPLUS_DRIFTMODIFIER_UNR_H
14 #define QMCPLUSPLUS_DRIFTMODIFIER_UNR_H
15 
17 
18 namespace qmcplusplus
19 {
21 {
22 public:
25 
26  void getDrifts(RealType tau, const std::vector<GradType>& qf, std::vector<PosType>&) const final;
27 
28  void getDrift(RealType tau, const GradType& qf, PosType& drift) const final;
29 
30  void getDrifts(RealType tau,
31  const std::vector<ComplexType>& qf,
32  std::vector<ParticleSet::Scalar_t>& drift) const final;
33 
34  void getDrift(RealType tau, const ComplexType& qf, ParticleSet::Scalar_t& drift) const final;
35 
36  bool parseXML(xmlNodePtr cur) final;
37 
38  DriftModifierUNR(RealType a = 1.0) : a_(a) {}
39 
40 private:
41  /// JCP1993 Umrigar et eq. (35) "a" parameter is set to 1.0
43 };
44 
45 } // namespace qmcplusplus
46 
47 #endif
helper functions for EinsplineSetBuilder
Definition: Configuration.h:43
QTBase::RealType RealType
Definition: Configuration.h:58
void getDrift(RealType tau, const GradType &qf, PosType &drift) const final
evaluate a drift with a real force
this class implements drift modification
bool parseXML(xmlNodePtr cur) final
void getDrifts(RealType tau, const std::vector< GradType > &qf, std::vector< PosType > &) const final
RealType a_
JCP1993 Umrigar et eq. (35) "a" parameter is set to 1.0.
QTBase::PosType PosType
Definition: Configuration.h:61
QMCTraits::ComplexType ComplexType