MADNESS 0.10.1
Cusp Class Reference

exp(-Z r), refined to level 15 at the origin: a nuclear cusp More...

Inheritance diagram for Cusp:
Collaboration diagram for Cusp:

Public Member Functions

 Cusp (double Z)
double operator() (const Vector< double, D > &r) const override
Level special_level () const override
 Override this to change the minimum level of refinement at special points (default is 6).
std::vector< Vector< double, D > > special_points () const override
 Override this to return list of special points to be refined more deeply.
Public Member Functions inherited from madness::FunctionFunctorInterface< double, D >
 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 bool supports_vectorized () const
 Does the interface support a vectorized operator()?
virtual coeffT values (const keyT &, const Tensor< double > &) const

Private Attributes

double Z

Additional Inherited Members

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

Detailed Description

exp(-Z r), refined to level 15 at the origin: a nuclear cusp

Constructor & Destructor Documentation

◆ Cusp()

Cusp::Cusp ( double Z)
inlineexplicit

References Z.

Member Function Documentation

◆ operator()()

double Cusp::operator() ( const Vector< double, D > & r) const
inlineoverride

◆ special_level()

Level Cusp::special_level ( ) const
inlineoverridevirtual

Override this to change the minimum level of refinement at special points (default is 6).

Reimplemented from madness::FunctionFunctorInterface< double, D >.

◆ special_points()

std::vector< Vector< double, D > > Cusp::special_points ( ) const
inlineoverridevirtual

Override this to return list of special points to be refined more deeply.

Reimplemented from madness::FunctionFunctorInterface< double, D >.

Member Data Documentation

◆ Z

double Cusp::Z
private

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


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