QMCPACK
Potential Class Referenceabstract
+ Inheritance diagram for Potential:
+ Collaboration diagram for Potential:

Public Member Functions

virtual ~Potential ()=default
 
virtual bool IsPH ()
 
virtual bool IsNonlocal ()
 
virtual double V (int l, double r)
 
virtual double dVdr (int l, double r)
 
virtual double d2Vdr2 (int l, double r)
 
virtual bool NeedsRel ()
 
virtual double GetCoreRadius ()
 
virtual double A (double r)
 
virtual double B (double r)
 
virtual double dAdr (double r)
 
virtual double d2Adr2 (double r)
 
virtual double V (double r)=0
 
virtual double dVdr (double r)=0
 
virtual double d2Vdr2 (double r)=0
 
virtual void Write (IOSectionClass &out)=0
 
virtual void Read (IOSectionClass &in)=0
 
virtual double X_k (double rcut, double k)
 

Detailed Description

Definition at line 22 of file PotentialBase.h.

Constructor & Destructor Documentation

◆ ~Potential()

virtual ~Potential ( )
virtualdefault

Member Function Documentation

◆ A()

virtual double A ( double  r)
inlinevirtual

Reimplemented in ScreenedPot.

Definition at line 36 of file PotentialBase.h.

Referenced by RadialWF::PseudoDerivs().

36 { return 1.0; }

◆ B()

virtual double B ( double  r)
inlinevirtual

Reimplemented in ScreenedPot.

Definition at line 37 of file PotentialBase.h.

Referenced by RadialWF::PseudoDerivs().

37 { return 1.0; }

◆ d2Adr2()

virtual double d2Adr2 ( double  r)
inlinevirtual

Reimplemented in ScreenedPot.

Definition at line 39 of file PotentialBase.h.

39 { return 0.0; }

◆ d2Vdr2() [1/2]

virtual double d2Vdr2 ( int  l,
double  r 
)
virtual

Reimplemented in PseudoClass, NLPPClass, and ScreenedPot.

◆ d2Vdr2() [2/2]

virtual double d2Vdr2 ( double  r)
pure virtual

◆ dAdr()

virtual double dAdr ( double  r)
inlinevirtual

Reimplemented in ScreenedPot.

Definition at line 38 of file PotentialBase.h.

Referenced by RadialWF::PseudoDerivs().

38 { return 0.0; }

◆ dVdr() [1/2]

virtual double dVdr ( int  l,
double  r 
)
virtual

Reimplemented in PseudoClass, NLPPClass, and ScreenedPot.

Referenced by RadialWF::ScalarRelDerivs().

◆ dVdr() [2/2]

virtual double dVdr ( double  r)
pure virtual

◆ GetCoreRadius()

virtual double GetCoreRadius ( )
inlinevirtual

Reimplemented in ScreenedPot.

Definition at line 35 of file PotentialBase.h.

35 { return 0.0; }

◆ IsNonlocal()

virtual bool IsNonlocal ( )
inlinevirtual

Reimplemented in NLPPClass.

Definition at line 29 of file PotentialBase.h.

29 { return false; }

◆ IsPH()

virtual bool IsPH ( )
virtual

Reimplemented in ScreenedPot.

◆ NeedsRel()

virtual bool NeedsRel ( )
virtual

Reimplemented in CoulombPot, and ScreenedPot.

◆ Read()

virtual void Read ( IOSectionClass in)
pure virtual

◆ V() [1/2]

virtual double V ( int  l,
double  r 
)
virtual

◆ V() [2/2]

virtual double V ( double  r)
pure virtual

◆ Write()

virtual void Write ( IOSectionClass out)
pure virtual

◆ X_k()

virtual double X_k ( double  rcut,
double  k 
)
inlinevirtual

Reimplemented in CoulombPot.

Definition at line 47 of file PotentialBase.h.

47 { return 0.0; }

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