MADNESS
0.10.1
|
a two-body, explicitly 6-dimensional function More...
#include <ccpairfunction.h>
Public Member Functions | |
TwoBodyFunctionPureComponent ()=default | |
TwoBodyFunctionPureComponent (const Function< T, NDIM > &f) | |
TwoBodyFunctionPureComponent (const std::shared_ptr< CCConvolutionOperator< T, LDIM >> op, const Function< T, NDIM > &f) | |
template<typename Q , std::size_t MDIM> | |
TwoBodyFunctionPureComponent | apply (const SeparatedConvolution< Q, MDIM > *op, const int particle=0) |
std::shared_ptr< TwoBodyFunctionComponentBase > | clone () override |
deep copy More... | |
Function< T, NDIM > & | get_function () |
const std::shared_ptr< CCConvolutionOperator< T, LDIM > > | get_operator_ptr () const |
bool | has_operator () const override |
hashT | hash () const override |
bool | is_pure () const override |
std::string | name (const bool transpose) const override |
template<typename Q > | |
TwoBodyFunctionPureComponent & | operator*= (const Q fac) |
void | print_size (const std::string name1="") const override |
void | set_operator (const std::shared_ptr< CCConvolutionOperator< T, LDIM >> op1) |
void | swap_particles_inplace () override |
return f(2,1) More... | |
World & | world () const override |
Public Member Functions inherited from madness::TwoBodyFunctionComponentBase | |
virtual | ~TwoBodyFunctionComponentBase () |
virtual bool | is_decomposed () const |
Private Attributes | |
std::shared_ptr< CCConvolutionOperator< T, LDIM > > | op |
Function< T, NDIM > | u |
pure 6D function More... | |
Static Private Attributes | |
static constexpr std::size_t | LDIM =NDIM/2 |
a two-body, explicitly 6-dimensional function
|
default |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inlineoverridevirtual |
deep copy
Implements madness::TwoBodyFunctionComponentBase.
References madness::copy(), madness::TwoBodyFunctionPureComponent< T, NDIM >::op, and madness::TwoBodyFunctionPureComponent< T, NDIM >::u.
|
inline |
References madness::TwoBodyFunctionPureComponent< T, NDIM >::op.
Referenced by madness::TwoBodyFunctionPureComponent< T, NDIM >::name().
|
inlineoverridevirtual |
Implements madness::TwoBodyFunctionComponentBase.
References madness::TwoBodyFunctionPureComponent< T, NDIM >::op.
Referenced by madness::TwoBodyFunctionPureComponent< T, NDIM >::name().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Reimplemented from madness::TwoBodyFunctionComponentBase.
|
inlineoverridevirtual |
Implements madness::TwoBodyFunctionComponentBase.
References madness::TwoBodyFunctionPureComponent< T, NDIM >::get_operator_ptr(), madness::TwoBodyFunctionPureComponent< T, NDIM >::has_operator(), and madness::transpose().
Referenced by madness::TwoBodyFunctionPureComponent< T, NDIM >::print_size().
|
inline |
|
inlineoverridevirtual |
|
inline |
|
inlineoverridevirtual |
return f(2,1)
Implements madness::TwoBodyFunctionComponentBase.
References madness::swap_particles(), and madness::TwoBodyFunctionPureComponent< T, NDIM >::u.
|
inlineoverridevirtual |
Implements madness::TwoBodyFunctionComponentBase.
References madness::TwoBodyFunctionPureComponent< T, NDIM >::u.
|
staticconstexprprivate |
|
private |
Referenced by madness::TwoBodyFunctionPureComponent< T, NDIM >::clone(), madness::TwoBodyFunctionPureComponent< T, NDIM >::get_operator_ptr(), madness::TwoBodyFunctionPureComponent< T, NDIM >::has_operator(), madness::TwoBodyFunctionPureComponent< T, NDIM >::hash(), and madness::TwoBodyFunctionPureComponent< T, NDIM >::set_operator().
|
private |
pure 6D function
Referenced by madness::TwoBodyFunctionPureComponent< T, NDIM >::clone(), madness::TwoBodyFunctionPureComponent< T, NDIM >::get_function(), madness::TwoBodyFunctionPureComponent< T, NDIM >::hash(), madness::TwoBodyFunctionPureComponent< T, NDIM >::operator*=(), madness::TwoBodyFunctionPureComponent< T, NDIM >::print_size(), madness::TwoBodyFunctionPureComponent< T, NDIM >::swap_particles_inplace(), and madness::TwoBodyFunctionPureComponent< T, NDIM >::world().