|
MADNESS 0.10.1
|
#include <ccpairfunction.h>


Public Member Functions | |
| TwoBodyFunctionSeparatedComponent ()=default | |
| TwoBodyFunctionSeparatedComponent (const std::vector< Function< T, LDIM > > &a, const std::vector< Function< T, LDIM > > &b) | |
| TwoBodyFunctionSeparatedComponent (const std::vector< Function< T, LDIM > > &a, const std::vector< Function< T, LDIM > > &b, const std::shared_ptr< CCConvolutionOperator< T, LDIM > > op) | |
| TwoBodyFunctionSeparatedComponent (const TwoBodyFunctionSeparatedComponent &other)=default | |
| template<typename Q, std::size_t MDIM> | |
| TwoBodyFunctionPureComponent< T, NDIM > | apply (const SeparatedConvolution< Q, MDIM > *op, const int particle=0) |
| std::shared_ptr< TwoBodyFunctionComponentBase > | clone () override |
| deep copy | |
| std::vector< Function< T, LDIM > > | get_a () const |
| std::vector< Function< T, LDIM > > | get_b () const |
| const std::shared_ptr< CCConvolutionOperator< T, LDIM > > | get_operator_ptr () const |
| std::vector< Function< T, LDIM > > | get_vector (const int i) const |
| bool | has_operator () const override |
| hashT | hash () const override |
| bool | is_decomposed () const override |
| std::string | name (const bool transpose) const override |
| template<typename Q> | |
| TwoBodyFunctionSeparatedComponent & | operator*= (const Q fac) |
| void | print_size (const std::string name1="") const override |
| long | rank () const |
| void | serialize () |
| void | set_operator (const std::shared_ptr< CCConvolutionOperator< T, LDIM > > op1) |
| void | swap_particles_inplace () override |
| return f(2,1) | |
| World & | world () const override |
| Public Member Functions inherited from madness::TwoBodyFunctionComponentBase | |
| virtual | ~TwoBodyFunctionComponentBase () |
| virtual bool | is_pure () const |
Private Attributes | |
| std::vector< Function< T, LDIM > > | a |
| std::vector< Function< T, LDIM > > | b |
| std::shared_ptr< CCConvolutionOperator< T, LDIM > > | op |
Static Private Attributes | |
| static constexpr std::size_t | LDIM =NDIM/2 |
holds two vectors a and b of low-dimensional functions forming a high-dim function by a sum of outer products f(1,2) = sum_i |a_i b_i >
|
default |
Referenced by TwoBodyFunctionSeparatedComponent(), clone(), and operator*=().
|
inline |
|
default |
References TwoBodyFunctionSeparatedComponent().
|
inline |
References MADNESS_EXCEPTION, and op.
|
inlineoverridevirtual |
deep copy
Implements madness::TwoBodyFunctionComponentBase.
References TwoBodyFunctionSeparatedComponent(), a, b, madness::copy(), op, and world().
|
inline |
References a.
|
inline |
References b.
|
inline |
|
inline |
References a, b, MADNESS_CHECK, and MADNESS_EXCEPTION.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements madness::TwoBodyFunctionComponentBase.
References a, aa, b, madness::hash_combine(), madness::hash_value(), and op.
|
inlineoverridevirtual |
Reimplemented from madness::TwoBodyFunctionComponentBase.
|
inlineoverridevirtual |
Implements madness::TwoBodyFunctionComponentBase.
References get_operator_ptr(), has_operator(), and madness::transpose().
Referenced by print_size().
|
inline |
References TwoBodyFunctionSeparatedComponent(), a, Q(), and madness::scale().
|
inlineoverridevirtual |
Implements madness::TwoBodyFunctionComponentBase.
References a, b, name(), madness::print_size(), and world().
|
inline |
References a, b, and MADNESS_CHECK.
|
inline |
|
inline |
References op.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements madness::TwoBodyFunctionComponentBase.
References a, and MADNESS_ASSERT.
Referenced by clone(), and print_size().
|
private |
|
private |
|
staticconstexprprivate |
|
private |