|
Path Integral Quantum Monte Carlo
|
Computes the value of the external wall potential for a cylindrical cavity. More...
#include <potential.h>
Inheritance diagram for LJCylinderPotential:
Collaboration diagram for LJCylinderPotential:Public Member Functions | |
| LJCylinderPotential (const double) | |
| Constructor. More... | |
| ~LJCylinderPotential () | |
| Destructor. | |
| double | V (const dVec &r) |
| The integrated LJ Wall potential. | |
| dVec | gradV (const dVec &) |
| Return the gradient of aziz potential for separation r using a lookup table. | |
| double | grad2V (const dVec &) |
| Return the Laplacian of aziz potential for separation r using a lookup table. | |
| Array< dVec, 1 > | initialConfig (const Container *, MTRand &, const int) |
| Initial configuration corresponding to the LJ cylinder potential. More... | |
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 &) |
| 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 external wall potential for a cylindrical cavity.
Definition at line 535 of file potential.h.
| LJCylinderPotential::LJCylinderPotential | ( | const double | radius | ) |
Constructor.
We create a Lennard-Jones cylinder, which uses a lookup table to hold the value of the integrated 6-12 potential for helium atoms interacting with a silicon nitride cylinder.
| radius | The radius of the cylinder |
Definition at line 1027 of file potential.cpp.
Here is the call graph for this function:
|
virtual |
Initial configuration corresponding to the LJ cylinder potential.
Return an initial particle configuration.
Return a set of initial positions inside the cylinder.
Reimplemented from PotentialBase.
Definition at line 1191 of file potential.cpp.
Here is the call graph for this function: