MADNESS 0.10.1
DerivativeGaussian< T, NDIM > Class Template Reference
Inheritance diagram for DerivativeGaussian< T, NDIM >:
Collaboration diagram for DerivativeGaussian< T, NDIM >:

Public Types

typedef Vector< double, NDIM > coordT
Public Types inherited from madness::FunctionFunctorInterface< T, NDIM >
typedef GenTensor< T > coeffT
typedef Key< NDIM > keyT
typedef T value_type

Public Member Functions

 DerivativeGaussian (const coordT &center, double exponent, T coefficient, int axis)
 DerivativeGaussian (const Gaussian< T, NDIM > &g, int axis)
T operator() (const coordT &x) const
 You should implement this to return f(x).
Public Member Functions inherited from madness::FunctionFunctorInterface< T, NDIM >
 FunctionFunctorInterface ()
virtual ~FunctionFunctorInterface ()
virtual coeffT coeff (const keyT &) const
virtual void operator() (const Vector< double *, 1 > &, T *, int) const
virtual void operator() (const Vector< double *, 2 > &, T *, int) const
virtual void operator() (const Vector< double *, 3 > &, T *, int) const
virtual void operator() (const Vector< double *, 4 > &, T *, int) const
virtual void operator() (const Vector< double *, 5 > &, T *, int) const
virtual void operator() (const Vector< double *, 6 > &, T *, 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

Public Attributes

const int axis
const coordT center
const T coefficient
const double exponent
Public Attributes inherited from madness::FunctionFunctorInterface< T, NDIM >
Level special_level_

Member Typedef Documentation

◆ coordT

template<typename T, std::size_t NDIM>
typedef Vector<double,NDIM> DerivativeGaussian< T, NDIM >::coordT

Constructor & Destructor Documentation

◆ DerivativeGaussian() [1/2]

template<typename T, std::size_t NDIM>
DerivativeGaussian< T, NDIM >::DerivativeGaussian ( const coordT & center,
double exponent,
T coefficient,
int axis )
inline

◆ DerivativeGaussian() [2/2]

template<typename T, std::size_t NDIM>
DerivativeGaussian< T, NDIM >::DerivativeGaussian ( const Gaussian< T, NDIM > & g,
int axis )
inline

References axis, center, coefficient, exponent, and madness::g.

Member Function Documentation

◆ operator()()

template<typename T, std::size_t NDIM>
T DerivativeGaussian< T, NDIM >::operator() ( const coordT & x) const
inlinevirtual

You should implement this to return f(x).

Implements madness::FunctionFunctorInterface< T, NDIM >.

References axis, center, coefficient, exponent, NDIM, and sum().

Member Data Documentation

◆ axis

template<typename T, std::size_t NDIM>
const int DerivativeGaussian< T, NDIM >::axis

◆ center

template<typename T, std::size_t NDIM>
const coordT DerivativeGaussian< T, NDIM >::center

◆ coefficient

template<typename T, std::size_t NDIM>
const T DerivativeGaussian< T, NDIM >::coefficient

◆ exponent

template<typename T, std::size_t NDIM>
const double DerivativeGaussian< T, NDIM >::exponent

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