MADNESS 0.10.1
Public Member Functions | List of all members
madness::guessfactory::PolynomialTrigonometricsFunctor Class Reference

#include <GuessFactory.h>

Inheritance diagram for madness::guessfactory::PolynomialTrigonometricsFunctor:
Inheritance graph
[legend]
Collaboration diagram for madness::guessfactory::PolynomialTrigonometricsFunctor:
Collaboration graph
[legend]

Public Member Functions

double compute_value (const coord_3d &r) const
 
 PolynomialFunctor (const int &axis)
 c++11 constructor inheritance
 
 PolynomialFunctor (const std::string input, const double &damp_width, const Tensor< double > &c)
 c++11 constructor inheritance
 
 PolynomialFunctor (const std::string input, const double &damp_width=0.0, const coord_3d &c=coord_3d())
 c++11 constructor inheritance
 
- Public Member Functions inherited from madness::guessfactory::PolynomialFunctor
 PolynomialFunctor (const int &axis)
 simple xyz moments constructor
 
 PolynomialFunctor (const std::string input, const double &damp_width, const Tensor< double > &c)
 
 PolynomialFunctor (const std::string input, const double &damp_width=0.0, const coord_3d &c=coord_3d())
 
std::string axis_to_string (const int &axis) const
 convert a given axis to the appropriate input string
 
double compute_value (const coord_3d &r) const
 create the value of the polynomial according to the data in the data_ structure
 
std::vector< std::vector< double > > give_data ()
 
double operator() (const coord_3d &rr) const
 construction by coordinates
 
std::vector< std::vector< double > > read_string (const std::string string) const
 
void test ()
 
- 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 > &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 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 > &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 ()
 Override this change level refinement for 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
 

Additional Inherited Members

- Public Types inherited from madness::FunctionFunctorInterface< double, 3 >
typedef GenTensor< double > coeffT
 
typedef Key< NDIMkeyT
 
typedef double value_type
 
- Public Attributes inherited from madness::FunctionFunctorInterface< double, 3 >
Level special_level_
 
- Protected Attributes inherited from madness::guessfactory::PolynomialFunctor
coord_3d center =coord_3d()
 
GaussFunctor dampf
 damping function
 
const std::vector< std::vector< double > > data_
 
const std::string input_string_
 

Detailed Description

instead of x,y,z use sin(x), sin(y), sin(z) shows the same transformation behaviour but does not grow unbounded with larger x,y,z values

Member Function Documentation

◆ compute_value()

double madness::guessfactory::PolynomialTrigonometricsFunctor::compute_value ( const coord_3d r) const

create the value of the polynomial according to the data in the data_ structure instead of x,y,z use sin(x), sin(y), sin(z)

References madness::guessfactory::PolynomialFunctor::data_, MADNESS_EXCEPTION, and pow().

◆ PolynomialFunctor() [1/3]

madness::guessfactory::PolynomialFunctor::PolynomialFunctor ( const int &  axis)
inline

c++11 constructor inheritance

◆ PolynomialFunctor() [2/3]

madness::guessfactory::PolynomialFunctor::PolynomialFunctor ( const std::string  input,
const double &  damp_width,
const Tensor< double > &  c 
)
inline

c++11 constructor inheritance

◆ PolynomialFunctor() [3/3]

madness::guessfactory::PolynomialFunctor::PolynomialFunctor ( const std::string  input,
const double &  damp_width = 0.0,
const coord_3d c = coord_3d() 
)
inline

c++11 constructor inheritance


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