|
| | CompositeFactory (World &world) |
| |
| CompositeFactory & | g12 (const Function< T, NDIM > &f) |
| | g12 is the interaction potential (6D)
|
| |
| std::shared_ptr< FunctionFunctorInterface< T, NDIM > > | get_functor () const |
| | return the functor; override this if the functor needs deferred construction
|
| |
| CompositeFactory & | ket (const Function< T, NDIM > &f) |
| | provide directly the NDIM (6D) pair function ket
|
| |
| CompositeFactory & | ket (const std::vector< Function< T, NDIM > > &vf) |
| |
| CompositeFactory & | particle1 (const Function< T, MDIM > &f) |
| |
| CompositeFactory & | particle1 (const std::vector< Function< T, MDIM > > &vf) |
| |
| CompositeFactory & | particle2 (const Function< T, MDIM > &f) |
| |
| CompositeFactory & | particle2 (const std::vector< Function< T, MDIM > > &vf) |
| |
| CompositeFactory & | self () |
| |
| CompositeFactory & | V_for_particle1 (const Function< T, MDIM > &f) |
| | a one-particle potential, acting on particle 1
|
| |
| CompositeFactory & | V_for_particle2 (const Function< T, MDIM > &f) |
| | a one-particle potential, acting on particle 2
|
| |
| | FunctionFactory (World &world) |
| |
| virtual | ~FunctionFactory () |
| |
| FunctionFactory & | autorefine () |
| |
| FunctionFactory & | compressed (bool value=true) |
| |
| FunctionFactory & | empty () |
| |
| FunctionFactory & | f (T(*f)(const coordT &)) |
| |
| FunctionFactory & | fence (bool fence=true) |
| |
| template<typename opT > |
| std::enable_if< std::is_base_of< FunctionFunctorInterface< T, NDIM >, opT >::value, FunctionFactory & >::type | functor (const opT &op) |
| | pass in a functor that is derived from FunctionFunctorInterface
|
| |
| template<typename opT > |
| std::enable_if< notstd::is_base_of< FunctionFunctorInterface< T, NDIM >, opT >::value, FunctionFactory & >::type | functor (const opT &op) |
| | pass in a functor that is not derived from FunctionFunctorInterface
|
| |
| FunctionFactory & | functor (const std::shared_ptr< FunctionFunctorInterface< T, NDIM > > &f) |
| |
| int | get_k () const |
| |
| double | get_thresh () const |
| |
| World & | get_world () const |
| |
| FunctionFactory & | initial_level (int initial_level) |
| |
| virtual FunctionFactory & | is_on_demand () |
| |
| virtual FunctionFactory & | k (int k) |
| |
| FunctionFactory & | max_refine_level (int max_refine_level) |
| |
| FunctionFactory & | no_functor () |
| |
| FunctionFactory & | noautorefine () |
| |
| FunctionFactory & | nofence () |
| |
| FunctionFactory & | norefine (bool norefine=true) |
| |
| FunctionFactory & | notruncate_on_project () |
| |
| FunctionFactory & | pmap (const std::shared_ptr< WorldDCPmapInterface< Key< NDIM > > > &pmap) |
| |
| FunctionFactory & | refine (bool refine=true) |
| |
| FunctionFactory & | self () |
| | implement this in all derived classes for correct chaining
|
| |
| FunctionFactory & | special_level (int special_level) |
| |
| FunctionFactory & | special_points (const std::vector< Vector< double, NDIM > > &special_points) |
| |
| virtual FunctionFactory & | thresh (double thresh) |
| |
| FunctionFactory & | treestate (const TreeState state) |
| |
| FunctionFactory & | truncate_mode (int truncate_mode) |
| |
| FunctionFactory & | truncate_on_project () |
| |
template<
typename T, std::size_t NDIM, std::size_t MDIM>
class madness::CompositeFactory< T, NDIM, MDIM >
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.