Public Member Functions | Protected Attributes
Walker Class Reference

A general class that defines a Monte Carlo walker. More...

#include <walker.h>

Inheritance diagram for Walker:
DiffusionWalker EvolutionaryWalker

List of all members.

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
WaveFunctionwave
Hamiltonianhamiltonian
double m_energy
long * idum
int m_changeInEnergySamples
bool isCopyFromOtherWalker

Detailed Description

A general class that defines a Monte Carlo walker.


Member Function Documentation

void Walker::copyOtherWalker ( Walker otherWalker) [virtual]

Walker::copyOtherWalker makes a copy of all properties in the other walker into this walker.

Parameters:
otherWalker

The documentation for this class was generated from the following files:
 All Classes Functions