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

Public Member Functions

 Oscillatory (double f)
 
double operator() (const Vector< double, NDIM > &x) const
 You should implement this to return f(x)
 
- Public Member Functions inherited from madness::FunctionFunctorInterface< double, NDIM >
 FunctionFunctorInterface ()
 
virtual ~FunctionFunctorInterface ()
 
virtual coeffT coeff (const keyT &) const
 
virtual void operator() (const Vector< double *, 1 > &xvals, double *fvals, int npts) const
 
virtual void operator() (const Vector< double *, 2 > &xvals, double *fvals, int npts) const
 
virtual void operator() (const Vector< double *, 3 > &xvals, double *fvals, int npts) const
 
virtual void operator() (const Vector< double *, 4 > &xvals, double *fvals, int npts) const
 
virtual void operator() (const Vector< double *, 5 > &xvals, double *fvals, int npts) const
 
virtual void operator() (const Vector< double *, 6 > &xvals, double *fvals, int npts) const
 
virtual bool provides_coeff () const
 does this functor directly provide sum coefficients? or only function values?
 
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?
 
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 &key, const Tensor< double > &tensor) const
 

Public Attributes

double freq
 
- Public Attributes inherited from madness::FunctionFunctorInterface< double, NDIM >
Level special_level_
 

Additional Inherited Members

- Public Types inherited from madness::FunctionFunctorInterface< double, NDIM >
typedef GenTensor< double > coeffT
 
typedef Key< NDIMkeyT
 
typedef double value_type
 

Constructor & Destructor Documentation

◆ Oscillatory()

template<std::size_t NDIM>
Oscillatory< NDIM >::Oscillatory ( double  f)
inlineexplicit

Member Function Documentation

◆ operator()()

template<std::size_t NDIM>
double Oscillatory< NDIM >::operator() ( const Vector< double, NDIM > &  x) const
inlinevirtual

You should implement this to return f(x)

Implements madness::FunctionFunctorInterface< double, NDIM >.

References d, Oscillatory< NDIM >::freq, and NDIM.

Member Data Documentation

◆ freq

template<std::size_t NDIM>
double Oscillatory< NDIM >::freq

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