Defines the Jastrow factor in the wave function. More...
#include <jastrow.h>
Public Member Functions | |
Jastrow (Config *config) | |
double | evaluate (vec2 r[]) |
Jastrow::evaluate calculates the Jastrow part of the wave function. | |
double | ratio (vec2 &rNew, int movedParticle) |
void | setParameters (double *parameters) |
void | calculateDistances (vec2 r[]) |
Jastrow::calculateDistances sets the distance and argument matrix based on the given positions. | |
void | initialize (vec2 positions[]) |
Jastrow::initialize calculates the distances and jastrow arguments for an initial position. | |
void | acceptMove (int movedParticle) |
Jastrow::acceptMove sets the old distance and argument matrices to their new values. | |
double | argument (int i, int j, mat &distances) |
void | gradient (vec2 r[], vec &rGradient) |
Jastrow::gradient calculates the gradient analytically. | |
void | rejectMove () |
Jastrow::rejectMove sets the new distance and argument matrices to their old values. | |
double | laplacePartial (vec2 r[]) |
Defines the Jastrow factor in the wave function.
void Jastrow::acceptMove | ( | int | movedParticle | ) |
Jastrow::acceptMove sets the old distance and argument matrices to their new values.
movedParticle |
void Jastrow::calculateDistances | ( | vec2 | r[] | ) |
Jastrow::calculateDistances sets the distance and argument matrix based on the given positions.
r |
double Jastrow::evaluate | ( | vec2 | r[] | ) |
void Jastrow::gradient | ( | vec2 | r[], |
vec & | rGradient | ||
) |
Jastrow::gradient calculates the gradient analytically.
r | |
movedParticlea | |
rGradient |
void Jastrow::initialize | ( | vec2 | positions[] | ) |
Jastrow::initialize calculates the distances and jastrow arguments for an initial position.
positions |
double Jastrow::laplacePartial | ( | vec2 | r[] | ) |
Jastrow::laplacePartial calculates the Jastrow Laplace ratio, except for the gradient dot term
double Jastrow::ratio | ( | vec2 & | r, |
int | movedParticle | ||
) |
Jastrow::ratio calculates the Jastrow ratio