MADNESS 0.10.1
PWFunctor Class Reference
Inheritance diagram for PWFunctor:
Collaboration diagram for PWFunctor:

Public Member Functions

 PWFunctor (const std::vector< coord_3d > &gvecs, const real_tensor &coeffs, const double &L)
double_complex operator() (const coord_3d &x) const
Public Member Functions inherited from madness::FunctionFunctorInterface< double_complex, 3 >
 FunctionFunctorInterface ()
virtual ~FunctionFunctorInterface ()
virtual coeffT coeff (const keyT &) const
virtual void operator() (const Vector< double *, 1 > &, double_complex *, 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 Attributes

real_tensor coeffs
double_complex factor
std::vector< coord_3d > gvecs

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ PWFunctor()

PWFunctor::PWFunctor ( const std::vector< coord_3d > & gvecs,
const real_tensor & coeffs,
const double & L )
inline

References coeffs, factor, gvecs, L, and pi.

Member Function Documentation

◆ operator()()

double_complex PWFunctor::operator() ( const coord_3d & x) const
inline

References coeffs, factor, gvecs, and MADNESS_CHECK.

Member Data Documentation

◆ coeffs

real_tensor PWFunctor::coeffs
private

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

◆ factor

double_complex PWFunctor::factor
private

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

◆ gvecs

std::vector<coord_3d> PWFunctor::gvecs
private

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


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