Path Integral Quantum Monte Carlo
Public Member Functions
HardCylinderPotential Class Reference

Computes the value of the external wall potential for a hard-walled cylindrical cavity. More...

#include <potential.h>

+ Inheritance diagram for HardCylinderPotential:
+ Collaboration diagram for HardCylinderPotential:

Public Member Functions

 HardCylinderPotential (const double)
 Constructor. More...
 
 ~HardCylinderPotential ()
 Destructor.
 
double V (const dVec &r)
 A step function at rho=R.
 
dVec gradV (const dVec &r)
 A delta function at rho=R.
 
- 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 grad2V (const dVec &)
 Grad^2 of the potential.
 
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...
 

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.
 

Detailed Description

Computes the value of the external wall potential for a hard-walled cylindrical cavity.

Definition at line 405 of file potential.h.

Constructor & Destructor Documentation

◆ HardCylinderPotential()

HardCylinderPotential::HardCylinderPotential ( const double  radius)

Constructor.

Parameters
radiusThe radius of the cylinder

Definition at line 781 of file potential.cpp.

781  :
782  PotentialBase(),
783  R(radius) {
784 }
PotentialBase()
Constructor.
Definition: potential.cpp:25

The documentation for this class was generated from the following files: