QMCPACK
GaussianCombo< T >::BasicGaussian Struct Reference
+ Collaboration diagram for GaussianCombo< T >::BasicGaussian:

Public Member Functions

 BasicGaussian ()
 
 BasicGaussian (real_type sig, real_type c)
 
void reset (real_type sig, real_type c)
 
void reset ()
 
void setgrid (real_type r)
 
real_type f (real_type rr) const
 
real_type df (real_type r, real_type rr) const
 
real_type evaluate (real_type r, real_type rr, real_type &du, real_type &d2u)
 
real_type evaluate (real_type r, real_type rr, real_type &du, real_type &d2u, real_type &d3u)
 

Public Attributes

real_type Sigma
 
real_type Coeff
 
real_type MinusSigma
 
real_type CoeffP
 
real_type CoeffPP
 
real_type CoeffPPP1
 
real_type CoeffPPP2
 

Detailed Description

template<class T>
struct qmcplusplus::GaussianCombo< T >::BasicGaussian

Definition at line 33 of file GaussianBasisSet.h.

Constructor & Destructor Documentation

◆ BasicGaussian() [1/2]

◆ BasicGaussian() [2/2]

BasicGaussian ( real_type  sig,
real_type  c 
)
inline

Member Function Documentation

◆ df()

real_type df ( real_type  r,
real_type  rr 
) const
inline

Definition at line 70 of file GaussianBasisSet.h.

References GaussianCombo< T >::BasicGaussian::CoeffP, qmcplusplus::exp(), and GaussianCombo< T >::BasicGaussian::MinusSigma.

Referenced by qmcplusplus::TEST_CASE().

70 { return CoeffP * r * std::exp(MinusSigma * rr); }
MakeReturn< UnaryNode< FnExp, typename CreateLeaf< Vector< T1, C1 > >::Leaf_t > >::Expression_t exp(const Vector< T1, C1 > &l)

◆ evaluate() [1/2]

real_type evaluate ( real_type  r,
real_type  rr,
real_type du,
real_type d2u 
)
inline

Definition at line 71 of file GaussianBasisSet.h.

References GaussianCombo< T >::BasicGaussian::Coeff, GaussianCombo< T >::BasicGaussian::CoeffP, GaussianCombo< T >::BasicGaussian::CoeffPP, qmcplusplus::exp(), and GaussianCombo< T >::BasicGaussian::MinusSigma.

Referenced by qmcplusplus::TEST_CASE().

72  {
73  real_type v = std::exp(MinusSigma * rr);
74  du += CoeffP * r * v;
75  d2u += (CoeffP + CoeffPP * rr) * v;
76  return Coeff * v;
77  }
MakeReturn< UnaryNode< FnExp, typename CreateLeaf< Vector< T1, C1 > >::Leaf_t > >::Expression_t exp(const Vector< T1, C1 > &l)
OHMMS_PRECISION real_type

◆ evaluate() [2/2]

real_type evaluate ( real_type  r,
real_type  rr,
real_type du,
real_type d2u,
real_type d3u 
)
inline

◆ f()

real_type f ( real_type  rr) const
inline

Definition at line 69 of file GaussianBasisSet.h.

References GaussianCombo< T >::BasicGaussian::Coeff, qmcplusplus::exp(), and GaussianCombo< T >::BasicGaussian::MinusSigma.

Referenced by qmcplusplus::TEST_CASE().

69 { return Coeff * std::exp(MinusSigma * rr); }
MakeReturn< UnaryNode< FnExp, typename CreateLeaf< Vector< T1, C1 > >::Leaf_t > >::Expression_t exp(const Vector< T1, C1 > &l)

◆ reset() [1/2]

◆ reset() [2/2]

◆ setgrid()

void setgrid ( real_type  r)
inline

Definition at line 67 of file GaussianBasisSet.h.

67 {}

Member Data Documentation

◆ Coeff

◆ CoeffP

◆ CoeffPP

◆ CoeffPPP1

◆ CoeffPPP2

◆ MinusSigma

◆ Sigma

real_type Sigma

Definition at line 35 of file GaussianBasisSet.h.

Referenced by GaussianCombo< T >::BasicGaussian::reset().


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