20 #ifndef QMCPLUSPLUS_CUSPCORRECTION_H 21 #define QMCPLUSPLUS_CUSPCORRECTION_H 72 return alpha[0] + alpha[1] * r + alpha[2] * r * r + alpha[3] * r * r * r + alpha[4] * r * r * r * r;
78 return alpha[1] + 2.0 * alpha[2] * r + 3.0 * alpha[3] * r * r + 4.0 * alpha[4] * r * r * r;
84 return 2.0 * alpha[2] + 6.0 * alpha[3] * r + 12.0 * alpha[4] * r * r;
TinyVector< ValueType, 5 > alpha
The coefficients of the polynomial in Eq 8.
helper functions for EinsplineSetBuilder
QTBase::RealType RealType
RealType dpr(RealType r) const
Cusp correction parameters.
QMCTraits::RealType RealType
RealType sg
The sign of the wavefunction at the nucleus.
CuspCorrectionParameters cparam
RealType Rc
The cutoff radius.
RealType Rr(RealType r) const
CuspCorrectionParameters()
int redo
Flag to indicate the correction should be recalculated.
RealType d2pr(RealType r) const
CuspCorrection(const CuspCorrectionParameters ¶m)
QTBase::ValueType ValueType
Formulas for applying the cusp correction.
MakeReturn< UnaryNode< FnExp, typename CreateLeaf< Vector< T1, C1 > >::Leaf_t > >::Expression_t exp(const Vector< T1, C1 > &l)
QMCTraits::ValueType ValueType
QMCTraits::RealType RealType
RealType C
A shift to keep correction to a single sign.
RealType pr(RealType r) const