MADNESS  version 0.9
Public Member Functions | Public Attributes | List of all members
madness::FGFactory< T, NDIM > Class Template Reference

Factory to set up an ElectronRepulsion Function. More...

#include <function_factory.h>

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

Public Member Functions

 FGFactory (World &world, double gamma)
 
FGFactorythresh (double thresh)
 
FGFactorydcut (double dcut)
 
std::shared_ptr
< FunctionFunctorInterface< T,
NDIM > > 
get_functor () const
 return the functor; override this if the functor needs deferred construction More...
 
- Public Member Functions inherited from madness::FunctionFactory< T, NDIM >
 FunctionFactory (World &world)
 
virtual ~FunctionFactory ()
 
FunctionFactoryfunctor (const std::shared_ptr< FunctionFunctorInterface< T, NDIM > > &f)
 
template<typename opT >
FunctionFactoryfunctor2 (const opT &op)
 
FunctionFactoryno_functor ()
 
FunctionFactoryf (T(*f)(const coordT &))
 
virtual FunctionFactoryk (int k)
 
FunctionFactoryinitial_level (int initial_level)
 
FunctionFactorymax_refine_level (int max_refine_level)
 
FunctionFactorytruncate_mode (int truncate_mode)
 
FunctionFactoryrefine (bool refine=true)
 
FunctionFactorynorefine (bool norefine=true)
 
FunctionFactoryempty ()
 
FunctionFactoryautorefine ()
 
FunctionFactorynoautorefine ()
 
FunctionFactorytruncate_on_project ()
 
FunctionFactorynotruncate_on_project ()
 
FunctionFactoryfence (bool fence=true)
 
FunctionFactorynofence ()
 
virtual FunctionFactoryis_on_demand ()
 
FunctionFactorypmap (const std::shared_ptr< WorldDCPmapInterface< Key< NDIM > > > &pmap)
 
int get_k () const
 
double get_thresh () const
 
Worldget_world () const
 
FunctionFactoryself ()
 implement this in all derived classes for correct chaining More...
 

Public Attributes

double _dcut
 cutoff radius for 1/r12, aka regularization More...
 
double _gamma
 
BoundaryConditions< NDIM_bc
 

Additional Inherited Members

- Protected Attributes inherited from madness::FunctionFactory< T, NDIM >
World_world
 
int _k
 
double _thresh
 
int _initial_level
 
int _max_refine_level
 
int _truncate_mode
 
bool _refine
 
bool _empty
 
bool _autorefine
 
bool _truncate_on_project
 
bool _fence
 
bool _is_on_demand
 
std::shared_ptr
< WorldDCPmapInterface< Key
< NDIM > > > 
_pmap
 

Detailed Description

template<typename T, std::size_t NDIM>
class madness::FGFactory< T, NDIM >

Factory to set up an ElectronRepulsion Function.

Constructor & Destructor Documentation

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

References NDIM.

Member Function Documentation

template<typename T , std::size_t NDIM>
FGFactory& madness::FGFactory< T, NDIM >::dcut ( double  dcut)
inline
template<typename T , std::size_t NDIM>
std::shared_ptr<FunctionFunctorInterface<T, NDIM> > madness::FGFactory< T, NDIM >::get_functor ( ) const
inlinevirtual

return the functor; override this if the functor needs deferred construction

Reimplemented from madness::FunctionFactory< T, NDIM >.

template<typename T , std::size_t NDIM>
FGFactory& madness::FGFactory< T, NDIM >::thresh ( double  thresh)
inlinevirtual

Member Data Documentation

template<typename T , std::size_t NDIM>
BoundaryConditions<NDIM> madness::FGFactory< T, NDIM >::_bc
template<typename T , std::size_t NDIM>
double madness::FGFactory< T, NDIM >::_dcut

cutoff radius for 1/r12, aka regularization

template<typename T , std::size_t NDIM>
double madness::FGFactory< T, NDIM >::_gamma

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