|
Path Integral Quantum Monte Carlo
|
Computes the effective potential from the exact two-body density matrix for hard spheres in 3D. More...
#include <potential.h>
Inheritance diagram for HardSpherePotential:
Collaboration diagram for HardSpherePotential:Public Member Functions | |
| HardSpherePotential (double) | |
| Constructor. More... | |
| ~HardSpherePotential () | |
| 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 spheres in 3D.
Definition at line 1032 of file potential.h.
| HardSpherePotential::HardSpherePotential | ( | double | _a | ) |
Constructor.
| _a | The radius of the hard sphere (also the scattering length) |
Definition at line 2053 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-12.
| sep1 | the first separation |
| sep2 | the second separation |
Reimplemented from PotentialBase.
Definition at line 2108 of file potential.cpp.
Here is the call graph for this function: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-12.
| sep1 | the first separation |
| sep2 | the second separation |
| lambda | \lambda = \hbar^2/2m |
| tau | the imaginary timestep tau |
Reimplemented from PotentialBase.
Definition at line 2140 of file potential.cpp.
Here is the call graph for this function:The effective potential.
Computes the non-local two-body effective pair potential.
Tested and working with Mathematica on 2013-06-12.
| sep1 | The first separation |
| sep2 | The second separation |
Reimplemented from PotentialBase.
Definition at line 2077 of file potential.cpp.
Here is the call graph for this function: