Path Integral Quantum Monte Carlo
|
Computes the effective potential from the exact two-body density matrix for hard rods in 1D. More...
#include <potential.h>
Public Member Functions | |
HardRodPotential (double) | |
Constructor. More... | |
~HardRodPotential () | |
Destructor. | |
virtual double | V (const dVec &r) |
The classical potential. | |
double | V (const dVec &, const dVec &) |
The effective potential. More... | |
double | dVdlambda (const dVec &, const dVec &) |
The derivative of the effective potential with respect to lambda. More... | |
double | dVdtau (const dVec &, const dVec &) |
The derivative of the effective potential with respect to tau. More... | |
Public Member Functions inherited from PotentialBase | |
PotentialBase () | |
Constructor. | |
virtual | ~PotentialBase () |
Destructor. | |
virtual dVec | gradV (const dVec &) |
The gradient of the potential. | |
virtual double | grad2V (const dVec &) |
Grad^2 of the potential. | |
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... | |
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. | |
Computes the effective potential from the exact two-body density matrix for hard rods in 1D.
Definition at line 1102 of file potential.h.
HardRodPotential::HardRodPotential | ( | double | _a | ) |
Constructor.
_a | The radius of the hard rod (also the scattering length) |
Definition at line 2367 of file potential.cpp.
The derivative of the effective potential with respect to lambda.
Computes the non-local two-body effective pair potential.
Tested and working with Mathematica on 2013-06-17.
sep1 | the first separation |
sep2 | the second separation |
Reimplemented from PotentialBase.
Definition at line 2426 of file potential.cpp.
The derivative of the effective potential with respect to tau.
Computes the non-local two-body effective pair potential.
Tested and working with Mathematica on 2013-06-17.
sep1 | the first separation |
sep2 | the second separation |
Reimplemented from PotentialBase.
Definition at line 2451 of file potential.cpp.
The effective potential.
Computes the non-local two-body effective pair potential.
Tested and working with Mathematica on 2013-06-17.
sep1 | The first separation |
sep2 | The second separation |
Reimplemented from PotentialBase.
Definition at line 2391 of file potential.cpp.