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) 2016 Jeongnim Kim and QMCPACK developers. 6 // 7 // File developed by: Jeongnim Kim, jeongnim.kim@gmail.com, University of Illinois at Urbana-Champaign 8 // Jeremy McMinnis, jmcminis@gmail.com, University of Illinois at Urbana-Champaign 9 // 10 // File created by: Jeongnim Kim, jeongnim.kim@gmail.com, University of Illinois at Urbana-Champaign 11 ////////////////////////////////////////////////////////////////////////////////////// 12 13 14 #ifndef QMCPLUSPLUS_DMC_ALLPARTICLE_UPDATE_H 15 #define QMCPLUSPLUS_DMC_ALLPARTICLE_UPDATE_H 16 #include "QMCDrivers/QMCUpdateBase.h" 17 namespace qmcplusplus 18 { 19 class DMCUpdateAllWithRejection : public QMCUpdateBase 20 { 21 public: 22 /// Constructor. 23 DMCUpdateAllWithRejection(MCWalkerConfiguration& w, TrialWaveFunction& psi, QMCHamiltonian& h, RandomGenerator_t& rg); 24 ///destructor 25 ~DMCUpdateAllWithRejection(); 26 27 void advanceWalker(Walker_t& thisWalker, bool recompute); 28 29 /// Copy Constructor (disabled) 30 DMCUpdateAllWithRejection(const DMCUpdateAllWithRejection&) = delete; 31 /// Copy operator (disabled). 32 DMCUpdateAllWithRejection& operator=(const DMCUpdateAllWithRejection&) = delete; 33 }; 34 35 class DMCUpdateAllWithKill : public QMCUpdateBase 36 { 37 public: 38 /// Constructor. 39 DMCUpdateAllWithKill(MCWalkerConfiguration& w, TrialWaveFunction& psi, QMCHamiltonian& h, RandomGenerator_t& rg); 40 ///destructor 41 ~DMCUpdateAllWithKill(); 42 43 void advanceWalker(Walker_t& thisWalker, bool recompute); 44 45 /// Copy Constructor (disabled) 46 DMCUpdateAllWithKill(const DMCUpdateAllWithKill&) = delete; 47 /// Copy operator (disabled). 48 DMCUpdateAllWithKill& operator=(const DMCUpdateAllWithKill&) = delete; 49 }; 50 } // namespace qmcplusplus 51 52 #endif 53