MADNESS 0.10.1
madness::smooth< T, NDIM > Class Template Reference

#include <smooth.h>

Collaboration diagram for madness::smooth< T, NDIM >:

Classes

struct  inv_mask_functor
struct  mask_functor

Public Member Functions

 smooth (World &world)
 smooth (World &world, const double &box_mask_factor, const double box_mask_cutoff)
Function< T, NDIM > cut_oscillations (const Function< T, NDIM > &f, const double &cutoff, const size_t order) const
double gauss_norm (const double &exponent) const
Function< T, NDIM > gaussian_smoothing (const Function< T, NDIM > &f, const double &eps=0.04, const std::string &name="nooutput") const
double get_density_thresh () const
Function< T, NDIM > linearize (const Function< T, NDIM > &ln_rho) const
Function< T, NDIM > make_density_mask (const Function< T, NDIM > &density) const
Function< T, NDIM > make_explog (const Function< T, NDIM > &f, const std::string &msg="function") const
Function< T, NDIM > make_inv_mask (const Function< T, NDIM > &mask) const
Function< T, NDIM > make_mask (const Function< T, NDIM > &samplef, const double &thresh) const
void make_plots (const Function< T, NDIM > &f, const std::string &name="function") const
Function< T, NDIM > make_sigma (const Function< T, NDIM > &density) const
Function< T, NDIM > merge_functions (const Function< T, NDIM > &f, const Function< T, NDIM > &sf, const double &thresh) const
Function< T, NDIM > merge_functions (const Function< T, NDIM > &f, const Function< T, NDIM > &sf, const Function< T, NDIM > &mask, const std::string &name="f") const
Function< T, NDIM > munge_density (const Function< T, NDIM > &density) const
void output (const std::string &msg) const
Function< T, NDIM > smooth_density (const Function< T, NDIM > &density, const std::string &msg="function")
Function< T, NDIM > smooth_density_from_orbitals (const std::vector< Function< T, NDIM > > &orbitals) const
Function< T, NDIM > smooth_sigma (const Function< T, NDIM > &density)
void test_1d () const

Private Attributes

const Function< T, NDIM > box_mask_
Function< T, NDIM > inv_mask_
Function< T, NDIM > mask_
World & world

Constructor & Destructor Documentation

◆ smooth() [1/2]

template<typename T, std::size_t NDIM>
madness::smooth< T, NDIM >::smooth ( World & world)
inline

References world.

◆ smooth() [2/2]

template<typename T, std::size_t NDIM>
madness::smooth< T, NDIM >::smooth ( World & world,
const double & box_mask_factor,
const double box_mask_cutoff )
inline

References world.

Member Function Documentation

◆ cut_oscillations()

template<typename T, std::size_t NDIM>
Function< T, NDIM > madness::smooth< T, NDIM >::cut_oscillations ( const Function< T, NDIM > & f,
const double & cutoff,
const size_t order ) const
inline

◆ gauss_norm()

template<typename T, std::size_t NDIM>
double madness::smooth< T, NDIM >::gauss_norm ( const double & exponent) const
inline

References pow().

Referenced by gaussian_smoothing().

◆ gaussian_smoothing()

template<typename T, std::size_t NDIM>
Function< T, NDIM > madness::smooth< T, NDIM >::gaussian_smoothing ( const Function< T, NDIM > & f,
const double & eps = 0.04,
const std::string & name = "nooutput" ) const
inline

◆ get_density_thresh()

template<typename T, std::size_t NDIM>
double madness::smooth< T, NDIM >::get_density_thresh ( ) const
inline

◆ linearize()

template<typename T, std::size_t NDIM>
Function< T, NDIM > madness::smooth< T, NDIM >::linearize ( const Function< T, NDIM > & ln_rho) const
inline

◆ make_density_mask()

template<typename T, std::size_t NDIM>
Function< T, NDIM > madness::smooth< T, NDIM >::make_density_mask ( const Function< T, NDIM > & density) const
inline

◆ make_explog()

template<typename T, std::size_t NDIM>
Function< T, NDIM > madness::smooth< T, NDIM >::make_explog ( const Function< T, NDIM > & f,
const std::string & msg = "function" ) const
inline

◆ make_inv_mask()

template<typename T, std::size_t NDIM>
Function< T, NDIM > madness::smooth< T, NDIM >::make_inv_mask ( const Function< T, NDIM > & mask) const
inline

◆ make_mask()

template<typename T, std::size_t NDIM>
Function< T, NDIM > madness::smooth< T, NDIM >::make_mask ( const Function< T, NDIM > & samplef,
const double & thresh ) const
inline

◆ make_plots()

◆ make_sigma()

template<typename T, std::size_t NDIM>
Function< T, NDIM > madness::smooth< T, NDIM >::make_sigma ( const Function< T, NDIM > & density) const
inline

◆ merge_functions() [1/2]

template<typename T, std::size_t NDIM>
Function< T, NDIM > madness::smooth< T, NDIM >::merge_functions ( const Function< T, NDIM > & f,
const Function< T, NDIM > & sf,
const double & thresh ) const
inline

◆ merge_functions() [2/2]

template<typename T, std::size_t NDIM>
Function< T, NDIM > madness::smooth< T, NDIM >::merge_functions ( const Function< T, NDIM > & f,
const Function< T, NDIM > & sf,
const Function< T, NDIM > & mask,
const std::string & name = "f" ) const
inline

◆ munge_density()

template<typename T, std::size_t NDIM>
Function< T, NDIM > madness::smooth< T, NDIM >::munge_density ( const Function< T, NDIM > & density) const
inline

◆ output()

template<typename T, std::size_t NDIM>
void madness::smooth< T, NDIM >::output ( const std::string & msg) const
inline

References world.

Referenced by gaussian_smoothing(), and test_1d().

◆ smooth_density()

template<typename T, std::size_t NDIM>
Function< T, NDIM > madness::smooth< T, NDIM >::smooth_density ( const Function< T, NDIM > & density,
const std::string & msg = "function" )
inline

◆ smooth_density_from_orbitals()

template<typename T, std::size_t NDIM>
Function< T, NDIM > madness::smooth< T, NDIM >::smooth_density_from_orbitals ( const std::vector< Function< T, NDIM > > & orbitals) const
inline

◆ smooth_sigma()

template<typename T, std::size_t NDIM>
Function< T, NDIM > madness::smooth< T, NDIM >::smooth_sigma ( const Function< T, NDIM > & density)
inline

◆ test_1d()

Member Data Documentation

◆ box_mask_

template<typename T, std::size_t NDIM>
const Function<T, NDIM> madness::smooth< T, NDIM >::box_mask_
private

◆ inv_mask_

template<typename T, std::size_t NDIM>
Function<T, NDIM> madness::smooth< T, NDIM >::inv_mask_
private

◆ mask_

template<typename T, std::size_t NDIM>
Function<T, NDIM> madness::smooth< T, NDIM >::mask_
private

◆ world


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