MADNESS 0.10.1
|
#include <ccpairfunction.h>
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 |
|
inline |
|
inline |
|
default |
|
inline |
References MADNESS_EXCEPTION.
|
inlineoverridevirtual |
deep copy
Implements madness::TwoBodyFunctionComponentBase.
References madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::a, madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::b, madness::copy(), madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::op, and madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::world().
|
inline |
|
inlineoverridevirtual |
Implements madness::TwoBodyFunctionComponentBase.
References madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::op.
Referenced by madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::name().
|
inlineoverridevirtual |
Implements madness::TwoBodyFunctionComponentBase.
References madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::a, aa, madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::b, madness::hash_combine(), madness::hash_value(), madness::nonlinear_vector_solver(), and madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::op.
|
inlineoverridevirtual |
Reimplemented from madness::TwoBodyFunctionComponentBase.
|
inlineoverridevirtual |
Implements madness::TwoBodyFunctionComponentBase.
References madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::get_operator_ptr(), madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::has_operator(), and madness::transpose().
Referenced by madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::print_size().
|
inline |
|
inlineoverridevirtual |
Implements madness::TwoBodyFunctionComponentBase.
References madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::a, madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::b, madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::name(), madness::print_size(), and madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::world().
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
return f(2,1)
Implements madness::TwoBodyFunctionComponentBase.
References madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::a, and madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::b.
|
inlineoverridevirtual |
Implements madness::TwoBodyFunctionComponentBase.
References madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::a, MADNESS_ASSERT, and madness::nonlinear_vector_solver().
Referenced by madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::clone(), and madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::print_size().
Referenced by madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::clone(), madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::get_a(), madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::get_vector(), madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::hash(), madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::operator*=(), madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::print_size(), madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::rank(), madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::swap_particles_inplace(), and madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::world().
Referenced by madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::clone(), madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::get_b(), madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::get_vector(), madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::hash(), madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::print_size(), madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::rank(), and madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::swap_particles_inplace().
|
staticconstexprprivate |
|
private |
Referenced by madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::clone(), madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::get_operator_ptr(), madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::has_operator(), madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::hash(), and madness::TwoBodyFunctionSeparatedComponent< T, NDIM >::set_operator().