MADNESS 0.10.1
madness::ProjRLMFunctor Class Reference

#include <gth_pseudopotential.h>

Inheritance diagram for madness::ProjRLMFunctor:
Collaboration diagram for madness::ProjRLMFunctor:

Public Member Functions

 ProjRLMFunctor (double alpha, int l, int m, int i, const coord_3d &center)
double operator() (const coord_3d &r) const final
virtual void operator() (const Vector< double *, 3 > &xvals, double *MADNESS_RESTRICT fvals, int npts) const final
virtual bool screened (const coord_3d &c1, const coord_3d &c2) const final
Level special_level () const final
 Override this to change the minimum level of refinement at special points (default is 6).
std::vector< coord_3d > special_points () const final
 Override this to return list of special points to be refined more deeply.
virtual bool supports_vectorized () const final
 Does the interface support a vectorized operator()?
Public Member Functions inherited from madness::FunctionFunctorInterface< double, 3 >
 FunctionFunctorInterface ()
virtual ~FunctionFunctorInterface ()
virtual coeffT coeff (const keyT &) const
virtual void operator() (const Vector< double *, 1 > &, double *, int) const
virtual void operator() (const Vector< double *, 2 > &, double *, int) const
virtual void operator() (const Vector< double *, 3 > &, double *, int) const
virtual void operator() (const Vector< double *, 4 > &, double *, int) const
virtual void operator() (const Vector< double *, 5 > &, double *, int) const
virtual void operator() (const Vector< double *, 6 > &, double *, int) const
virtual double operator() (const Vector< double, NDIM > &x) const=0
 You should implement this to return f(x).
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 coeffT values (const keyT &, const Tensor< double > &) const

Static Public Attributes

static const double gamma_data [17]

Private Attributes

double alpha
coord_3d center
int itmp
int itmp2
int l
int m
std::vector< coord_3d > specialpts
double sqrtPI
double t1

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ ProjRLMFunctor()

madness::ProjRLMFunctor::ProjRLMFunctor ( double alpha,
int l,
int m,
int i,
const coord_3d & center )
inline

Member Function Documentation

◆ operator()() [1/2]

double madness::ProjRLMFunctor::operator() ( const coord_3d & r) const
inlinefinal

References alpha, center, itmp2, l, m, MADNESS_EXCEPTION, PI, madness::constants::pi, and t1.

Referenced by screened().

◆ operator()() [2/2]

virtual void madness::ProjRLMFunctor::operator() ( const Vector< double *, 3 > & xvals,
double *MADNESS_RESTRICT fvals,
int npts ) const
inlinefinalvirtual

◆ screened()

virtual bool madness::ProjRLMFunctor::screened ( const coord_3d & c1,
const coord_3d & c2 ) const
inlinefinalvirtual

◆ special_level()

Level madness::ProjRLMFunctor::special_level ( ) const
inlinefinalvirtual

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

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

References final.

◆ special_points()

std::vector< coord_3d > madness::ProjRLMFunctor::special_points ( ) const
inlinefinalvirtual

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

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

References final, and specialpts.

◆ supports_vectorized()

virtual bool madness::ProjRLMFunctor::supports_vectorized ( ) const
inlinefinalvirtual

Does the interface support a vectorized operator()?

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

References final.

Member Data Documentation

◆ alpha

double madness::ProjRLMFunctor::alpha
private

◆ center

coord_3d madness::ProjRLMFunctor::center
private

◆ gamma_data

const double madness::ProjRLMFunctor::gamma_data
static
Initial value:
= {1.0, 0.0, 1.0/2.0, 0.0, 3.0/4.0, 0.0, 15.0/8.0, 0.0, 105.0/16.0, 0.0,
945.0/32.0, 0.0, 10395.0/64.0, 0.0, 135135.0/128.0, 0.0, 2027025.0/256.0}

Referenced by ProjRLMFunctor().

◆ itmp

int madness::ProjRLMFunctor::itmp
private

Referenced by ProjRLMFunctor().

◆ itmp2

int madness::ProjRLMFunctor::itmp2
private

◆ l

int madness::ProjRLMFunctor::l
private

◆ m

int madness::ProjRLMFunctor::m
private

◆ specialpts

std::vector<coord_3d> madness::ProjRLMFunctor::specialpts
private

Referenced by ProjRLMFunctor(), and special_points().

◆ sqrtPI

double madness::ProjRLMFunctor::sqrtPI
private

Referenced by ProjRLMFunctor().

◆ t1

double madness::ProjRLMFunctor::t1
private

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