MADNESS  0.10.1
Public Types | Public Member Functions | Public Attributes | List of all members
DerivativeGaussian< T, NDIM > Class Template Reference
Inheritance diagram for DerivativeGaussian< T, NDIM >:
Inheritance graph
[legend]
Collaboration diagram for DerivativeGaussian< T, NDIM >:
Collaboration graph
[legend]

Public Types

typedef Vector< double, NDIMcoordT
 
- Public Types inherited from madness::FunctionFunctorInterface< T, NDIM >
typedef GenTensor< TcoeffT
 
typedef Key< NDIMkeyT
 
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) More...
 
- 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 > &xvals, T *fvals, int npts) const
 
virtual void operator() (const Vector< double *, 2 > &xvals, T *fvals, int npts) const
 
virtual void operator() (const Vector< double *, 3 > &xvals, T *fvals, int npts) const
 
virtual void operator() (const Vector< double *, 4 > &xvals, T *fvals, int npts) const
 
virtual void operator() (const Vector< double *, 5 > &xvals, T *fvals, int npts) const
 
virtual void operator() (const Vector< double *, 6 > &xvals, T *fvals, int npts) const
 
virtual bool provides_coeff () const
 does this functor directly provide sum coefficients? or only function values? More...
 
virtual bool screened (const Vector< double, NDIM > &c1, const Vector< double, NDIM > &c2) const
 Can we screen this function based on the bounding box information? More...
 
void set_length_scale (double lo)
 adapt the special level to resolve the smallest length scale More...
 
virtual Level special_level ()
 Override this change level refinement for special points (default is 6) More...
 
virtual std::vector< Vector< double, NDIM > > special_points () const
 Override this to return list of special points to be refined more deeply. More...
 
virtual bool supports_vectorized () const
 Does the interface support a vectorized operator()? More...
 
virtual coeffT values (const keyT &key, const Tensor< double > &tensor) 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

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, NDIM, and madness::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: