55 for (
int iter = 0; iter <
nSubSteps; ++iter)
62 APP_ABORT(
"All-electron spin moves with drift are not implemented\n");
70 for (
int iat = 0; iat <
deltaR.size(); ++iat)
RealType evaluateLog(ParticleSet &P)
evalaute the log (internally gradients and laplacian) of the trial wavefunction.
PropertyContainer_t Properties
scalar properties of a walker
Base class for update methods for each step.
A set of walkers that are to be advanced by Metropolis Monte Carlo.
helper functions for EinsplineSetBuilder
ParticleScalar spins
internal spin variables for dynamical spin calculations
QTBase::RealType RealType
TrialWaveFunction & Psi
trial function
RealType spinMass
spin mass
ParticleSet::ParticleScalar deltaS
temporart storage for spin displacement
void saveProperty(IT first)
save the values of Hamiltonian elements to the Properties
Collection of Local Energy Operators.
void update(bool skipSK=false)
update the internal data
ParticleSet::ParticlePos deltaR
temporary storage for random displacement
int Age
Age of this walker age is incremented when a walker is not moved after a sweep.
SOVMCUpdateAll(MCWalkerConfiguration &w, TrialWaveFunction &psi, QMCHamiltonian &h, RandomBase< FullPrecRealType > &rg)
Constructor.
WalkerProperties::Indexes WP
std::vector< RealType > SqrtTauOverMass
sqrt(tau/Mass) per particle
void saveWalker(Walker_t &awalker)
save this to awalker
#define APP_ABORT(msg)
Widely used but deprecated fatal error macros from legacy code.
MakeReturn< UnaryNode< FnExp, typename CreateLeaf< Vector< T1, C1 > >::Leaf_t > >::Expression_t exp(const Vector< T1, C1 > &l)
MCWalkerConfiguration & W
walker ensemble
void advanceWalker(Walker_t &thisWalker, bool recompute) override
move a walker
void loadWalker(Walker_t &awalker, bool pbyp)
load a Walker_t to the current ParticleSet
void auxHevaluate(ParticleSet &P)
int nSubSteps
number of steps per measurement
RealType getPhase() const
MakeReturn< UnaryNode< FnSqrt, typename CreateLeaf< Vector< T1, C1 > >::Leaf_t > >::Expression_t sqrt(const Vector< T1, C1 > &l)
Class to represent a many-body trial wave function.
RandomBase< FullPrecRealType > & RandomGen
random number generator
Indexes
an enum denoting index of physical properties
FullPrecRealType evaluate(ParticleSet &P)
evaluate Local Energy
IndexType nAccept
counter for number of moves accepted
IndexType nReject
counter for number of moves rejected
FullPrecRealType * getPropertyBase()
bool makeMoveAllParticles(const Walker_t &awalker, const ParticlePos &deltaR, RealType dt)
move all the particles of a walker
~SOVMCUpdateAll() override
A container class to represent a walker.
QMCHamiltonian & H
Hamiltonian.
void resetProperty(FullPrecRealType logpsi, FullPrecRealType sigN, FullPrecRealType ene)
reset the property of a walker
ParticlePos R
The configuration vector (3N-dimensional vector to store the positions of all the particles for a sin...
bool UpdatePbyP
update particle-by-particle
void makeGaussRandomWithEngine(ParticleAttrib< TinyVector< T, D >> &a, RG &rng)