MADNESS
version 0.9
|
factory for generating TwoElectronInterfaces More...
#include <function_factory.h>
Public Member Functions | |
TwoElectronFactory (World &world) | |
TwoElectronFactory & | dcut (double dcut) |
the smallest length scale to be represented (aka lo) More... | |
TwoElectronFactory & | thresh (double thresh) |
the requested precision More... | |
TwoElectronFactory & | gamma (double g) |
the exponent of a slater function More... | |
TwoElectronFactory & | f12 () |
return the operator (1 - exp(-gamma x) / (2 gamma) More... | |
TwoElectronFactory & | slater () |
return the operator (1 - exp(-gamma x) / (2 gamma) More... | |
InterfacePtr | get_functor () const |
return the functor; override this if the functor needs deferred construction More... | |
TwoElectronFactory & | self () |
Public Member Functions inherited from madness::FunctionFactory< double, 6 > | |
FunctionFactory (World &world) | |
virtual | ~FunctionFactory () |
FunctionFactory & | functor (const std::shared_ptr< FunctionFunctorInterface< double, NDIM > > &f) |
FunctionFactory & | functor2 (const opT &op) |
FunctionFactory & | no_functor () |
FunctionFactory & | f (double(*f)(const coordT &)) |
virtual FunctionFactory & | k (int k) |
FunctionFactory & | initial_level (int initial_level) |
FunctionFactory & | max_refine_level (int max_refine_level) |
FunctionFactory & | truncate_mode (int truncate_mode) |
FunctionFactory & | refine (bool refine=true) |
FunctionFactory & | norefine (bool norefine=true) |
FunctionFactory & | empty () |
FunctionFactory & | autorefine () |
FunctionFactory & | noautorefine () |
FunctionFactory & | truncate_on_project () |
FunctionFactory & | notruncate_on_project () |
FunctionFactory & | fence (bool fence=true) |
FunctionFactory & | nofence () |
virtual FunctionFactory & | is_on_demand () |
FunctionFactory & | pmap (const std::shared_ptr< WorldDCPmapInterface< Key< NDIM > > > &pmap) |
int | get_k () const |
double | get_thresh () const |
World & | get_world () const |
FunctionFactory & | self () |
implement this in all derived classes for correct chaining More... | |
Protected Types | |
enum | operatortype { coulomb_, slater_, f12_, bsh_, fg_ } |
typedef std::shared_ptr < FunctionFunctorInterface < double, 6 > > | InterfacePtr |
Protected Attributes | |
operatortype | type_ |
InterfacePtr | interface_ |
the interface providing the actual coefficients More... | |
double | dcut_ |
cutoff radius for 1/r12, aka regularization More... | |
double | gamma_ |
BoundaryConditions< 6 > | bc_ |
Protected Attributes inherited from madness::FunctionFactory< double, 6 > | |
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 |
factory for generating TwoElectronInterfaces
|
protected |
|
protected |
|
inline |
|
inline |
the smallest length scale to be represented (aka lo)
References dcut_.
Referenced by compute_energy(), and test_U_el().
|
inline |
|
inline |
the exponent of a slater function
References madness::g, and gamma_.
|
inlinevirtual |
return the functor; override this if the functor needs deferred construction
Reimplemented from madness::FunctionFactory< double, 6 >.
References bc_, coulomb_, dcut_, f12_, gamma_, interface_, MADNESS_EXCEPTION, slater_, and type_.
|
inline |
|
inline |
|
inlinevirtual |
the requested precision
Reimplemented from madness::FunctionFactory< double, 6 >.
|
protected |
Referenced by get_functor().
|
protected |
cutoff radius for 1/r12, aka regularization
Referenced by dcut(), and get_functor().
|
protected |
Referenced by gamma(), and get_functor().
|
protected |
the interface providing the actual coefficients
Referenced by get_functor().
|
protected |
Referenced by f12(), get_functor(), and slater().