QMCPACK
CuspCorrectionParameters Struct Reference

Cusp correction parameters. More...

+ Collaboration diagram for CuspCorrectionParameters:

Public Types

using ValueType = QMCTraits::ValueType
 
using RealType = QMCTraits::RealType
 

Public Member Functions

 CuspCorrectionParameters ()
 

Public Attributes

RealType Rc
 The cutoff radius. More...
 
RealType C
 A shift to keep correction to a single sign. More...
 
RealType sg
 The sign of the wavefunction at the nucleus. More...
 
TinyVector< ValueType, 5 > alpha
 The coefficients of the polynomial $p(r)$ in Eq 8. More...
 
int redo
 Flag to indicate the correction should be recalculated. More...
 

Detailed Description

Cusp correction parameters.

From "Scheme for adding electron-nuclear cusps to Gaussian orbitals" Ma, Towler, Drummond, and Needs JCP 122, 224322 (2005)

Equations 7 and 8 in the paper define the correction. These are the parameters in those equations.

Definition at line 37 of file CuspCorrection.h.

Member Typedef Documentation

◆ RealType

Definition at line 40 of file CuspCorrection.h.

◆ ValueType

Definition at line 39 of file CuspCorrection.h.

Constructor & Destructor Documentation

◆ CuspCorrectionParameters()

Definition at line 57 of file CuspCorrection.h.

57 : Rc(0.0), C(0.0), sg(1.0), alpha(0.0), redo(0) {}
TinyVector< ValueType, 5 > alpha
The coefficients of the polynomial in Eq 8.
RealType sg
The sign of the wavefunction at the nucleus.
RealType Rc
The cutoff radius.
int redo
Flag to indicate the correction should be recalculated.
RealType C
A shift to keep correction to a single sign.

Member Data Documentation

◆ alpha

◆ C

A shift to keep correction to a single sign.

Definition at line 46 of file CuspCorrection.h.

Referenced by qmcplusplus::broadcastCuspInfo(), qmcplusplus::evaluateForPhi0Body(), qmcplusplus::phiBar(), and qmcplusplus::TEST_CASE().

◆ Rc

◆ redo

int redo

Flag to indicate the correction should be recalculated.

Definition at line 55 of file CuspCorrection.h.

Referenced by qmcplusplus::broadcastCuspInfo(), and qmcplusplus::TEST_CASE().

◆ sg

The sign of the wavefunction at the nucleus.

Definition at line 49 of file CuspCorrection.h.

Referenced by qmcplusplus::broadcastCuspInfo(), qmcplusplus::evaluateForPhi0Body(), CuspCorrection::Rr(), and qmcplusplus::TEST_CASE().


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