MADNESS
version 0.9
|
Factory for facile setup of a CompositeFunctorInterface and its FuncImpl. More...
#include <function_factory.h>
Public Attributes | |
std::shared_ptr< FunctionImpl < T, NDIM > > | _ket |
supposedly a 6D pair function ket More... | |
std::shared_ptr< FunctionImpl < T, NDIM > > | _g12 |
supposedly a interaction potential More... | |
std::shared_ptr< FunctionImpl < T, MDIM > > | _v1 |
supposedly a potential for particle 1 More... | |
std::shared_ptr< FunctionImpl < T, MDIM > > | _v2 |
supposedly a potential for particle 2 More... | |
std::shared_ptr< FunctionImpl < T, MDIM > > | _particle1 |
supposedly particle 1 More... | |
std::shared_ptr< FunctionImpl < T, MDIM > > | _particle2 |
supposedly particle 2 More... | |
Friends | |
class | CompositeFunctorInterface< T, NDIM, MDIM > |
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 |
Factory for facile setup of a CompositeFunctorInterface and its FuncImpl.
for the concept of a Factory see base class FunctionFactory here we need to provide two different dimensions, since the main purpose of this is to set up a pair function (6D), consisting of orbitals (3D), and also one- and two-electron potentials This Factory constructs a FuncImpl, and also the functor to it.
NOTE: pass in only copies of functions, since use in here will corrupt the tree structure and functions will not pass the VERIFY test after this.
|
inline |
|
inline |
g12 is the interaction potential (6D)
References madness::Function< T, NDIM >::get_impl().
|
inlinevirtual |
return the functor; override this if the functor needs deferred construction
Reimplemented from madness::FunctionFactory< T, NDIM >.
|
inline |
provide directly the NDIM (6D) pair function ket
References madness::Function< T, NDIM >::get_impl().
Referenced by apply_U_mix(), compute_R2f2_psi(), reconstruct_psi(), and test_U_el().
|
inline |
provide particle 1, used with particle 2 to set up a pair function by direct product
References madness::Function< T, NDIM >::get_impl().
Referenced by compute_energy().
|
inline |
provide particle 2, used with particle 1 to set up a pair function by direct product
References madness::Function< T, NDIM >::get_impl().
Referenced by compute_energy().
|
inline |
|
inline |
a one-particle potential, acting on particle 1
References madness::Function< T, NDIM >::get_impl().
Referenced by apply_U_ncf().
|
inline |
a one-particle potential, acting on particle 2
References madness::Function< T, NDIM >::get_impl().
Referenced by apply_U_mix(), and apply_U_ncf().
|
friend |
std::shared_ptr<FunctionImpl<T,NDIM> > madness::CompositeFactory< T, NDIM, MDIM >::_g12 |
supposedly a interaction potential
std::shared_ptr<FunctionImpl<T,NDIM> > madness::CompositeFactory< T, NDIM, MDIM >::_ket |
supposedly a 6D pair function ket
std::shared_ptr<FunctionImpl<T,MDIM> > madness::CompositeFactory< T, NDIM, MDIM >::_particle1 |
supposedly particle 1
std::shared_ptr<FunctionImpl<T,MDIM> > madness::CompositeFactory< T, NDIM, MDIM >::_particle2 |
supposedly particle 2
std::shared_ptr<FunctionImpl<T,MDIM> > madness::CompositeFactory< T, NDIM, MDIM >::_v1 |
supposedly a potential for particle 1
std::shared_ptr<FunctionImpl<T,MDIM> > madness::CompositeFactory< T, NDIM, MDIM >::_v2 |
supposedly a potential for particle 2