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.
 
- 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 bool supports_vectorized () const
 Does the interface support a vectorized operator()?
 
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)
 
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 bool supports_vectorized () const
 Does the interface support a vectorized operator()?
 
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 fac, op_dx, pow(), R, v, Z, and z.

◆ operator()() [2/2]

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

References exponent, nx, ny, nz, psi(), and z.

◆ 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 >.

References specialpt.

Member Data Documentation

◆ exponent

const double Guess::exponent

Referenced by operator()().

◆ fac

const double Guess::fac
private

Referenced by operator()().

◆ nx

const int Guess::nx

Referenced by operator()().

◆ ny

const int Guess::ny

Referenced by operator()().

◆ nz

const int Guess::nz

Referenced by operator()().

◆ specialpt

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

Referenced by special_points().

◆ v

const double Guess::v
private

Referenced by operator()().

◆ Z

const double Guess::Z
private

Referenced by operator()().

◆ z

const double Guess::z

Referenced by operator()(), and operator()().


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