MADNESS 0.10.1
madness::int_factor_functor< NDIM > Class Template Reference

Functor for the correction factor, which is multiplied with the exchange correlation potential. More...

#include <AC.h>

Inheritance diagram for madness::int_factor_functor< NDIM >:
Collaboration diagram for madness::int_factor_functor< NDIM >:

Public Member Functions

 int_factor_functor ()
 int_factor_functor (const ACParameters< NDIM > &ac_param)
double int_factor (const Vector< double, NDIM > &r, std::vector< atom_information< NDIM > > between) const
double operator() (const Vector< double, NDIM > &r) const
Public Member Functions inherited from madness::FunctionFunctorInterface< double, NDIM >
 FunctionFunctorInterface ()
virtual ~FunctionFunctorInterface ()
virtual coeffT coeff (const keyT &) const
virtual void operator() (const Vector< double *, 1 > &, double *, int) const
virtual bool provides_coeff () const
 does this functor directly provide sum coefficients? or only function values?
virtual bool screened (const Vector< double, NDIM > &, const Vector< double, NDIM > &) const
 Can we screen this function based on the bounding box information?
void set_length_scale (double lo)
 adapt the special level to resolve the smallest length scale
virtual Level special_level () const
 Override this to change the minimum level of refinement at special points (default is 6).
virtual std::vector< Vector< double, NDIM > > special_points () const
 Override this to return list of special points to be refined more deeply.
virtual bool supports_vectorized () const
 Does the interface support a vectorized operator()?
virtual coeffT values (const keyT &, const Tensor< double > &) const

Private Member Functions

double get_distance (Vector< double, NDIM > elec, Vector< double, NDIM > nuc) const

Private Attributes

const ACParameters< NDIM > & ac_param_
 Parameter for the asymtotic correction.

Additional Inherited Members

Public Types inherited from madness::FunctionFunctorInterface< double, NDIM >
typedef GenTensor< double > coeffT
typedef Key< NDIM > keyT
typedef double value_type
Public Attributes inherited from madness::FunctionFunctorInterface< double, NDIM >
Level special_level_

Detailed Description

template<unsigned long int NDIM>
class madness::int_factor_functor< NDIM >

Functor for the correction factor, which is multiplied with the exchange correlation potential.

Constructor & Destructor Documentation

◆ int_factor_functor() [1/2]

template<unsigned long int NDIM>
madness::int_factor_functor< NDIM >::int_factor_functor ( )
inline

◆ int_factor_functor() [2/2]

template<unsigned long int NDIM>
madness::int_factor_functor< NDIM >::int_factor_functor ( const ACParameters< NDIM > & ac_param)
inline

References ac_param_.

Member Function Documentation

◆ get_distance()

template<unsigned long int NDIM>
double madness::int_factor_functor< NDIM >::get_distance ( Vector< double, NDIM > elec,
Vector< double, NDIM > nuc ) const
inlineprivate

Computes the distance between electron and nucleus

Parameters
[in]elecposition of electron
[in]nucposition of nucleus
[out]distancedistance between electron and nucleus

References madness::distance(), and NDIM.

Referenced by int_factor(), and operator()().

◆ int_factor()

template<unsigned long int NDIM>
double madness::int_factor_functor< NDIM >::int_factor ( const Vector< double, NDIM > & r,
std::vector< atom_information< NDIM > > between ) const
inline

Computes correction factor for the exchange correlation potential if electron position is between R1 and R2

Parameters
[in]rposition of electron
[in]betweenvector of the atom_information of all atoms for that electron position is between R1 and R2
[out]int_factorcorrection factor

References ac_param_, get_distance(), and int_factor().

Referenced by int_factor(), madness::lr_pot_functor< NDIM >::int_factor(), and operator()().

◆ operator()()

template<unsigned long int NDIM>
double madness::int_factor_functor< NDIM >::operator() ( const Vector< double, NDIM > & r) const
inline

Computes correction factor for exchange correlation potential

Parameters
[in]rposition of the electron
[out]correction factor for exchange correlation potential at position r

References ac_param_, d, get_distance(), and int_factor().

Member Data Documentation

◆ ac_param_

template<unsigned long int NDIM>
const ACParameters<NDIM>& madness::int_factor_functor< NDIM >::ac_param_
private

Parameter for the asymtotic correction.

Referenced by int_factor_functor(), int_factor(), and operator()().


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