MADNESS  0.10.1
Public Member Functions | Public Attributes | Private Attributes | List of all members
Guess Struct Reference
Inheritance diagram for Guess:
Inheritance graph
[legend]
Collaboration diagram for Guess:
Collaboration graph
[legend]

Public Member Functions

 Guess (double Z)
 
 Guess (double z, double exponent, int nx, int ny, int nz)
 
double operator() (const coord_3d &r) const
 
double_complex operator() (const coordT &r) const
 
Level special_level () const
 
std::vector< coord_3dspecial_points () const
 Override this to return list of special points to be refined more deeply. More...
 
- 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) More...
 
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 bool supports_vectorized () const
 Does the interface support a vectorized operator()? More...
 
virtual coeffT values (const keyT &key, const Tensor< double > &tensor) const
 
- Public Member Functions inherited from madness::FunctionFunctorInterface< double_complex, 3 >
 FunctionFunctorInterface ()
 
virtual ~FunctionFunctorInterface ()
 
virtual coeffT coeff (const keyT &) const
 
virtual void operator() (const Vector< double *, 1 > &xvals, double_complex *fvals, int npts) const
 
virtual void operator() (const Vector< double *, 2 > &xvals, double_complex *fvals, int npts) const
 
virtual void operator() (const Vector< double *, 3 > &xvals, double_complex *fvals, int npts) const
 
virtual void operator() (const Vector< double *, 4 > &xvals, double_complex *fvals, int npts) const
 
virtual void operator() (const Vector< double *, 5 > &xvals, double_complex *fvals, int npts) const
 
virtual void operator() (const Vector< double *, 6 > &xvals, double_complex *fvals, int npts) const
 
virtual double_complex operator() (const Vector< double, NDIM > &x) const=0
 You should implement this to return f(x) More...
 
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 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 double exponent
 
const int nx
 
const int ny
 
const int nz
 
const double z
 
- Public Attributes inherited from madness::FunctionFunctorInterface< double, 3 >
Level special_level_
 
- Public Attributes inherited from madness::FunctionFunctorInterface< double_complex, 3 >
Level special_level_
 

Private Attributes

const double fac
 
std::vector< coord_3dspecialpt
 
const double v
 
const double Z
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ Guess() [1/2]

Guess::Guess ( double  Z)
inline

◆ Guess() [2/2]

Guess::Guess ( double  z,
double  exponent,
int  nx,
int  ny,
int  nz 
)
inline

Member Function Documentation

◆ operator()() [1/2]

double Guess::operator() ( const coord_3d r) const
inline

References op_dx, pow(), R, v, and Z.

◆ operator()() [2/2]

double_complex Guess::operator() ( const coordT r) const
inline

References psi().

◆ special_level()

Level Guess::special_level ( ) const
inline

◆ special_points()

std::vector<coord_3d> Guess::special_points ( ) const
inlinevirtual

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

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

Member Data Documentation

◆ exponent

const double Guess::exponent

◆ fac

const double Guess::fac
private

◆ nx

const int Guess::nx

◆ ny

const int Guess::ny

◆ nz

const int Guess::nz

◆ specialpt

std::vector<coord_3d> Guess::specialpt
private

◆ v

const double Guess::v
private

◆ Z

const double Guess::Z
private

◆ z

const double Guess::z

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