MADNESS  0.10.1
Classes | Public Member Functions | Private Attributes | List of all members
madness::smooth< T, NDIM > Class Template Reference

#include <smooth.h>

Collaboration diagram for madness::smooth< T, NDIM >:
Collaboration graph
[legend]

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, NDIMcut_oscillations (const Function< T, NDIM > &f, const double &cutoff, const size_t order) const
 
double gauss_norm (const double &exponent) const
 
Function< T, NDIMgaussian_smoothing (const Function< T, NDIM > &f, const double &eps=0.04, const std::string &name="nooutput") const
 
double get_density_thresh () const
 
Function< T, NDIMlinearize (const Function< T, NDIM > &ln_rho) const
 
Function< T, NDIMmake_density_mask (const Function< T, NDIM > &density) const
 
Function< T, NDIMmake_explog (const Function< T, NDIM > &f, const std::string &msg="function") const
 
Function< T, NDIMmake_inv_mask (const Function< T, NDIM > &mask) const
 
Function< T, NDIMmake_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, NDIMmake_sigma (const Function< T, NDIM > &density) const
 
Function< T, NDIMmerge_functions (const Function< T, NDIM > &f, const Function< T, NDIM > &sf, const double &thresh) const
 
Function< T, NDIMmerge_functions (const Function< T, NDIM > &f, const Function< T, NDIM > &sf, const Function< T, NDIM > &mask, const std::string &name="f") const
 
Function< T, NDIMmunge_density (const Function< T, NDIM > &density) const
 
void output (const std::string &msg) const
 
Function< T, NDIMsmooth_density (const Function< T, NDIM > &density, const std::string &msg="function")
 
Function< T, NDIMsmooth_density_from_orbitals (const std::vector< Function< T, NDIM >> &orbitals) const
 
Function< T, NDIMsmooth_sigma (const Function< T, NDIM > &density)
 
void test_1d () const
 

Private Attributes

const Function< T, NDIMbox_mask_
 
Function< T, NDIMinv_mask_
 
Function< T, NDIMmask_
 
Worldworld
 

Constructor & Destructor Documentation

◆ smooth() [1/2]

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

◆ 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

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

◆ 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()

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

◆ 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

◆ 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()

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

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

template<typename T , std::size_t NDIM>
World& madness::smooth< T, NDIM >::world
private

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