A general class that defines a Monte Carlo walker. More...
#include <walker.h>
Public Member Functions | |
Walker (Config *config) | |
virtual void | advance () |
virtual void | initialize (vec2 *positions) |
virtual void | copyOtherWalker (Walker *otherWalker) |
Walker::copyOtherWalker makes a copy of all properties in the other walker into this walker. | |
vec2 * | positionsNew () |
double | energy () |
int | changeInEnergySamples () |
void | setParameters (double *parameters) |
Protected Attributes | |
vec2 * | rNew |
vec2 * | rOld |
vec | quantumForceOld |
vec | quantumForceNew |
double | localEnergyNew |
double | localEnergyOld |
int | nParticles |
int | nDimensions |
WaveFunction * | wave |
Hamiltonian * | hamiltonian |
double | m_energy |
long * | idum |
int | m_changeInEnergySamples |
bool | isCopyFromOtherWalker |
A general class that defines a Monte Carlo walker.
void Walker::copyOtherWalker | ( | Walker * | otherWalker | ) | [virtual] |
Walker::copyOtherWalker makes a copy of all properties in the other walker into this walker.
otherWalker |