MADNESS  0.10.1
Public Member Functions | Private Member Functions | List of all members
madness::AdhocNuclearCorrelationFactor Class Reference

this ncf has no information about itself, only U2 and U1 assigned More...

#include <correlationfactor.h>

Inheritance diagram for madness::AdhocNuclearCorrelationFactor:
Inheritance graph
[legend]
Collaboration diagram for madness::AdhocNuclearCorrelationFactor:
Collaboration graph
[legend]

Public Member Functions

 AdhocNuclearCorrelationFactor (World &world, const real_function_3d U2, const std::vector< real_function_3d > &U1)
 ctor More...
 
corrfactype type () const
 
- Public Member Functions inherited from madness::NuclearCorrelationFactor
 NuclearCorrelationFactor (World &world, const Molecule &mol)
 ctor More...
 
virtual ~NuclearCorrelationFactor ()
 virtual destructor More...
 
virtual real_function_3d apply_U (const real_function_3d &rhs) const
 apply the regularized potential U_nuc on a given function rhs More...
 
coord_3d dsmoothed_unitvec (const coord_3d &xyz, const int axis, double smoothing=0.0) const
 derivative of smoothed unit vector wrt the electronic coordinate More...
 
virtual real_function_3d function () const
 return the nuclear correlation factor More...
 
void initialize (const double vtol1)
 initialize the regularized potentials U1 and U2 More...
 
virtual real_function_3d inverse () const
 return the inverse nuclear correlation factor More...
 
coord_3d smoothed_unitvec (const coord_3d &xyz, double smoothing=0.0) const
 smoothed unit vector for the computation of the U1 potential More...
 
virtual real_function_3d square () const
 return the square of the nuclear correlation factor More...
 
virtual real_function_3d square_times_V_derivative (const int iatom, const int axis) const
 
virtual const real_function_3d U1 (const int axis) const
 return the U1 term of the correlation function More...
 
std::vector< real_function_3dU1vec () const
 return the U1 functions in a vector More...
 
virtual const real_function_3d U2 () const
 return the U2 term of the correlation function More...
 
virtual double U2X_spherical (const double &r, const double &Z, const double &rcut) const
 derivative of the U2 potential wrt nuclear coordinate X (spherical part) More...
 

Private Member Functions

double S (const double &r, const double &Z) const
 the nuclear correlation factor More...
 
coord_3d Sp (const coord_3d &vr1A, const double &Z) const
 radial part first derivative of the nuclear correlation factor More...
 
double Spp_div_S (const double &r, const double &Z) const
 second derivative of the nuclear correlation factor More...
 
double Sr_div_S (const double &r, const double &Z) const
 
double Srr_div_S (const double &r, const double &Z) const
 
double Srrr_div_S (const double &r, const double &Z) const
 

Additional Inherited Members

- Public Types inherited from madness::NuclearCorrelationFactor
enum  corrfactype {
  None , GradientalGaussSlater , GaussSlater , LinearSlater ,
  Polynomial , Slater , poly4erfc , Two ,
  Adhoc
}
 
typedef std::shared_ptr< FunctionFunctorInterface< double, 3 > > functorT
 
- Protected Attributes inherited from madness::NuclearCorrelationFactor
std::vector< real_function_3dU1_function
 the three components of the U1 potential More...
 
real_function_3d U2_function
 the purely local U2 potential, having absorbed the nuclear pot V_nuc More...
 

Detailed Description

this ncf has no information about itself, only U2 and U1 assigned

Constructor & Destructor Documentation

◆ AdhocNuclearCorrelationFactor()

madness::AdhocNuclearCorrelationFactor::AdhocNuclearCorrelationFactor ( World world,
const real_function_3d  U2,
const std::vector< real_function_3d > &  U1 
)
inline

Member Function Documentation

◆ S()

double madness::AdhocNuclearCorrelationFactor::S ( const double &  r,
const double &  Z 
) const
inlineprivatevirtual

the nuclear correlation factor

Implements madness::NuclearCorrelationFactor.

References MADNESS_EXCEPTION.

◆ Sp()

coord_3d madness::AdhocNuclearCorrelationFactor::Sp ( const coord_3d vr1A,
const double &  Z 
) const
inlineprivatevirtual

radial part first derivative of the nuclear correlation factor

Implements madness::NuclearCorrelationFactor.

References MADNESS_EXCEPTION.

◆ Spp_div_S()

double madness::AdhocNuclearCorrelationFactor::Spp_div_S ( const double &  r,
const double &  Z 
) const
inlineprivatevirtual

second derivative of the nuclear correlation factor

Implements madness::NuclearCorrelationFactor.

References MADNESS_EXCEPTION.

◆ Sr_div_S()

double madness::AdhocNuclearCorrelationFactor::Sr_div_S ( const double &  r,
const double &  Z 
) const
inlineprivatevirtual

first derivative of the NCF with respect to the relative distance rho

\[ \frac{\partial S(\rho)}{\partial \rho} \frac{1}{S(\rho)} \]

where the distance of the electron to the nucleus A is given by

\[ \rho = |\vec r - \vec R_A | \]

Implements madness::NuclearCorrelationFactor.

References MADNESS_EXCEPTION.

◆ Srr_div_S()

double madness::AdhocNuclearCorrelationFactor::Srr_div_S ( const double &  r,
const double &  Z 
) const
inlineprivatevirtual

second derivative of the NCF with respect to the relative distance rho

\[ \frac{\partial^2 S(\rho)}{\partial \rho^2} \frac{1}{S(\rho)} \]

where the distance of the electron to the nucleus A is given by

\[ \rho = |\vec r - \vec R_A | \]

Implements madness::NuclearCorrelationFactor.

References MADNESS_EXCEPTION.

◆ Srrr_div_S()

double madness::AdhocNuclearCorrelationFactor::Srrr_div_S ( const double &  r,
const double &  Z 
) const
inlineprivatevirtual

third derivative of the NCF with respect to the relative distance rho

\[ \frac{\partial^3 S(\rho)}{\partial \rho^3} \frac{1}{S(\rho)} \]

where the distance of the electron to the nucleus A is given by

\[ \rho = |\vec r - \vec R_A | \]

Implements madness::NuclearCorrelationFactor.

References MADNESS_EXCEPTION.

◆ type()

corrfactype madness::AdhocNuclearCorrelationFactor::type ( ) const
inlinevirtual

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