Path Integral Quantum Monte Carlo
|
Computes the value of the semi-empircal Szalewicz potential that is known to be accurate for He-4. More...
#include <potential.h>
Public Member Functions | |
SzalewiczPotential (const Container *) | |
Constructor. More... | |
~SzalewiczPotential () | |
Destructor. | |
double | V (const dVec &) |
Return the Szalewicz potential for separation r using a lookup table. | |
dVec | gradV (const dVec &) |
Return the gradient of Szalewicz potential for separation r using a lookup table. | |
double | grad2V (const dVec &) |
Return the Laplacian of Szalewicz potential for separation r using a lookup table. | |
Public Member Functions inherited from PotentialBase | |
PotentialBase () | |
Constructor. | |
virtual | ~PotentialBase () |
Destructor. | |
virtual double | V (const dVec &, const dVec &) |
The effective potential for the pair product approximation. | |
virtual double | dVdlambda (const dVec &, const dVec &) |
The derivative of the effective potential with respect to lambda and tau. | |
virtual double | dVdtau (const dVec &, const dVec &) |
virtual Array< dVec, 1 > | initialConfig (const Container *, MTRand &, const int) |
Default Initial configuration of particles. More... | |
void | output (const double) |
A debug method that output's the potential to a supplied separation. More... | |
virtual Array< double, 1 > | getExcLen () |
Array to hold data elements. More... | |
Public Member Functions inherited from TabulatedPotential | |
TabulatedPotential () | |
Constructor. | |
virtual | ~TabulatedPotential () |
Destructor. | |
Additional Inherited Members | |
Data Fields inherited from PotentialBase | |
double | tailV |
Tail correction factor. | |
Protected Member Functions inherited from PotentialBase | |
double | deltaSeparation (double sep1, double sep2) const |
Return the minimum image difference for 1D separations. | |
Protected Member Functions inherited from TabulatedPotential | |
void | initLookupTable (const double, const double) |
Given a discretization factor and the system size, create and fill the lookup tables for the potential and its derivative. | |
virtual double | newtonGregory (const Array< double, 1 > &, const TinyVector< double, 2 > &, const double) |
Use the Newton-Gregory forward difference method to do a 2-point lookup on the potential table. More... | |
virtual double | direct (const Array< double, 1 > &, const TinyVector< double, 2 > &, const double) |
Use a direct lookup for the potential table. More... | |
Protected Attributes inherited from TabulatedPotential | |
Array< double, 1 > | lookupV |
A potential lookup table. | |
Array< double, 1 > | lookupdVdr |
A lookup table for dVint/dr. | |
Array< double, 1 > | lookupd2Vdr2 |
A lookup table for d2Vint/dr2. | |
double | dr |
The discretization for the lookup table. | |
int | tableLength |
The number of elements in the lookup table. | |
TinyVector< double, 2 > | extV |
Extremal value of V. | |
TinyVector< double, 2 > | extdVdr |
Extremal value of dV/dr. | |
TinyVector< double, 2 > | extd2Vdr2 |
Extremal value of d2V/dr2. | |
Computes the value of the semi-empircal Szalewicz potential that is known to be accurate for He-4.
Definition at line 774 of file potential.h.
SzalewiczPotential::SzalewiczPotential | ( | const Container * | _boxPtr | ) |
Constructor.
Create the Szalewicz interaction potential. We use the standard 1979 values.
Definition at line 1625 of file potential.cpp.