Path Integral Quantum Monte Carlo
Public Member Functions
SutherlandPotential Class Reference

Computes the potential energy for the periodic Sutherland model which approximates long-range 1/r^2 interactions on a ring. More...

#include <potential.h>

+ Inheritance diagram for SutherlandPotential:
+ Collaboration diagram for SutherlandPotential:

Public Member Functions

 SutherlandPotential (double)
 Constructor. More...
 
 ~SutherlandPotential ()
 Destructor.
 
double V (const dVec &r)
 Return the Sutherland potential g/r^2.
 
dVec gradV (const dVec &r)
 Return the gradient of the Sutherland potential.
 
double grad2V (const dVec &r)
 Return the Laplacian of the Sutherland potential.
 
- 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...
 

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 potential energy for the periodic Sutherland model which approximates long-range 1/r^2 interactions on a ring.

See also
: B. Sutherland, Phys Rev A 4, 2019 (1971)

Definition at line 313 of file potential.h.

Constructor & Destructor Documentation

◆ SutherlandPotential()

SutherlandPotential::SutherlandPotential ( double  _g)

Constructor.

Setup the parameters of the potential.

Parameters
_gThe interaction strength.

Definition at line 439 of file potential.cpp.

439  : PotentialBase()
440 {
441  g = 2.0*constants()->lambda() * _g * (_g - 1.0);
442  pioL = M_PI / constants()->L();
443 }
double lambda() const
Get lambda = hbar^2/(2mk_B)
Definition: constants.h:46
double L() const
Get maximum side length.
Definition: constants.h:52
PotentialBase()
Constructor.
Definition: potential.cpp:25
ConstantParameters * constants()
Global public access to the constants.
Definition: constants.h:201
+ Here is the call graph for this function:

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