MADNESS 0.10.1
madness::ScalingFunctionFunctor< 1 > Struct Reference

#include <mw.h>

Inheritance diagram for madness::ScalingFunctionFunctor< 1 >:
Collaboration diagram for madness::ScalingFunctionFunctor< 1 >:

Public Member Functions

 ScalingFunctionFunctor ()=default
 ScalingFunctionFunctor (double L, Level n, Translation l, int k)
double operator() (const coord_1d &r) const final
virtual Level special_level () const final
 Override this to change the minimum level of refinement at special points (default is 6).
virtual std::vector< Vector< double, 1 > > special_points () const final
 Override this to return list of special points to be refined more deeply.
Public Member Functions inherited from madness::FunctionFunctorInterface< double, 1 >
 FunctionFunctorInterface ()
virtual ~FunctionFunctorInterface ()
virtual coeffT coeff (const keyT &) const
virtual void operator() (const Vector< double *, 1 > &, double *, 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 bool supports_vectorized () const
 Does the interface support a vectorized operator()?
virtual coeffT values (const keyT &, const Tensor< double > &) const

Public Attributes

int k = -1
double L = -1
Translation l
Level n = -1
double one_over_sqrttwoL
double one_over_twoL
double one_over_twon
double sqrt_twon
Translation twon
Public Attributes inherited from madness::FunctionFunctorInterface< double, 1 >
Level special_level_

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ ScalingFunctionFunctor() [1/2]

madness::ScalingFunctionFunctor< 1 >::ScalingFunctionFunctor ( )
default

◆ ScalingFunctionFunctor() [2/2]

madness::ScalingFunctionFunctor< 1 >::ScalingFunctionFunctor ( double L,
Level n,
Translation l,
int k )
inline

Member Function Documentation

◆ operator()()

◆ special_level()

virtual Level madness::ScalingFunctionFunctor< 1 >::special_level ( ) const
inlinefinalvirtual

Override this to change the minimum level of refinement at special points (default is 6).

Reimplemented from madness::FunctionFunctorInterface< double, 1 >.

References final, and n.

◆ special_points()

virtual std::vector< Vector< double, 1 > > madness::ScalingFunctionFunctor< 1 >::special_points ( ) const
inlinefinalvirtual

Override this to return list of special points to be refined more deeply.

Reimplemented from madness::FunctionFunctorInterface< double, 1 >.

References final, L, l, and one_over_twon.

Member Data Documentation

◆ k

◆ L

◆ l

◆ n

◆ one_over_sqrttwoL

double madness::ScalingFunctionFunctor< 1 >::one_over_sqrttwoL

◆ one_over_twoL

double madness::ScalingFunctionFunctor< 1 >::one_over_twoL

Referenced by ScalingFunctionFunctor().

◆ one_over_twon

◆ sqrt_twon

double madness::ScalingFunctionFunctor< 1 >::sqrt_twon

◆ twon


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