|
MADNESS 0.10.1
|
#include <lowrankfunction.h>


Classes | |
| class | MacroTaskLRFInner |
| macrotask for \sum_ia premultiply_ia * f12 * postmultiply_ia * rhs, batched over rhs More... | |
Public Member Functions | |
| LRFunctorF12 (const std::shared_ptr< SeparatedConvolution< T, LDIM > > f12, const Function< T, LDIM > &a, const Function< T, LDIM > &b) | |
| delegate to the other ctor with vector arguments | |
| LRFunctorF12 (const std::shared_ptr< SeparatedConvolution< T, LDIM > > f12, const std::vector< Function< T, LDIM > > &a, const std::vector< Function< T, LDIM > > &b) | |
| const std::vector< Function< T, LDIM > > & | get_a () const |
| access the a functions (particle 1 pre-multipliers) | |
| const std::vector< Function< T, LDIM > > & | get_b () const |
| access the b functions (particle 2 pre-multipliers) | |
| const std::shared_ptr< SeparatedConvolution< T, LDIM > > & | get_f12 () const |
| access the F12 operator | |
| std::vector< Function< T, LDIM > > | inner (const std::vector< Function< T, LDIM > > &rhs, const particle< LDIM > p1, const particle< LDIM > p2) const override |
| Tensor< T >::scalar_type | norm2 () const override |
| T | operator() (const Vector< double, NDIM > &r) const override |
You should implement this to return f(x). | |
| void | set_thresh (double thresh) override |
| set the MRA threshold on all internal functions and reproject to the new precision | |
| std::string | type () const override |
| introspection | |
| World & | world () const override |
| Public Member Functions inherited from madness::LRFunctorBase< T, NDIM, LDIM > | |
| virtual | ~LRFunctorBase () |
| virtual Function< T, LDIM > | inner (const Function< T, LDIM > &rhs, const particle< LDIM > p1, const particle< LDIM > p2) const |
| virtual T | operator() (const Vector< T, NDIM > &r) const =0 |
| evaluate the functor at a given point, e.g. for plotting | |
| Public Member Functions inherited from madness::FunctionFunctorInterface< T, NDIM > | |
| FunctionFunctorInterface () | |
| virtual | ~FunctionFunctorInterface () |
| virtual coeffT | coeff (const keyT &) const |
| virtual void | operator() (const Vector< double *, 1 > &, T *, int) const |
| virtual void | operator() (const Vector< double *, 2 > &, T *, int) const |
| virtual void | operator() (const Vector< double *, 3 > &, T *, int) const |
| virtual void | operator() (const Vector< double *, 4 > &, T *, int) const |
| virtual void | operator() (const Vector< double *, 5 > &, T *, int) const |
| virtual void | operator() (const Vector< double *, 6 > &, T *, int) const |
| virtual bool | provides_coeff () const |
| does this functor directly provide sum coefficients? or only function values? | |
| virtual bool | screened (const Vector< double, NDIM > &, const Vector< double, NDIM > &) const |
| Can we screen this function based on the bounding box information? | |
| void | set_length_scale (double lo) |
| adapt the special level to resolve the smallest length scale | |
| virtual Level | special_level () const |
| Override this to change the minimum level of refinement at special points (default is 6). | |
| virtual std::vector< Vector< double, NDIM > > | special_points () const |
| Override this to return list of special points to be refined more deeply. | |
| virtual bool | supports_vectorized () const |
| Does the interface support a vectorized operator()? | |
| virtual coeffT | values (const keyT &, const Tensor< double > &) const |
Private Attributes | |
| std::vector< Function< T, LDIM > > | a |
| std::vector< Function< T, LDIM > > | b |
| the lo-dim functions | |
| std::shared_ptr< SeparatedConvolution< T, LDIM > > | f12 |
| a two-particle function | |
Additional Inherited Members | |
| Public Types inherited from madness::FunctionFunctorInterface< T, NDIM > | |
| typedef GenTensor< T > | coeffT |
| typedef Key< NDIM > | keyT |
| typedef T | value_type |
| Public Attributes inherited from madness::FunctionFunctorInterface< T, NDIM > | |
| Level | special_level_ |
|
inline |
References a, b, f12, and MADNESS_CHECK_THROW.
Referenced by LRFunctorF12().
|
inline |
delegate to the other ctor with vector arguments
References LRFunctorF12(), a, b, and f12.
|
inline |
access the a functions (particle 1 pre-multipliers)
References a.
|
inline |
access the b functions (particle 2 pre-multipliers)
References b.
|
inline |
access the F12 operator
References f12.
Referenced by madness::LowRankFunctionFactory< T, NDIM, LDIM >::build_taylor_y().
|
inlineoverridevirtual |
Implements madness::LRFunctorBase< T, NDIM, LDIM >.
References a, b, madness::f, f12, madness::FunctionFactory< T, NDIM >::functor(), madness::particle< PDIM >::is_first(), one(), v, and world().
|
inlineoverridevirtual |
Reimplemented from madness::LRFunctorBase< T, NDIM, LDIM >.
References a, aa, madness::append(), b, madness::SeparatedConvolution< Q, NDIM >::can_combine(), madness::SeparatedConvolution< Q, NDIM >::combine(), madness::SeparatedConvolution< Q, NDIM >::combine_generic(), madness::FunctionFactory< T, NDIM >::f(), f12, madness::SeparatedConvolution< Q, NDIM >::info, madness::inner(), madness::OperatorInfo::lo, MADNESS_CHECK_THROW, one(), madness::BaseTensor::size(), madness::SeparatedConvolution< Q, NDIM >::stored_coeffs, madness::SeparatedConvolution< Q, NDIM >::stored_exponents, madness::OperatorInfo::thresh, and world().
Referenced by test_invrsq_operator().
|
inlineoverridevirtual |
You should implement this to return f(x).
Implements madness::FunctionFunctorInterface< T, NDIM >.
References a, b, f12, madness::inner(), MADNESS_EXCEPTION, madness::OT_F12, madness::OT_GAUSS, madness::OT_SLATER, and split().
|
inlineoverridevirtual |
set the MRA threshold on all internal functions and reproject to the new precision
Reimplemented from madness::LRFunctorBase< T, NDIM, LDIM >.
References a, b, madness::f, and madness::FunctionDefaults< NDIM >::thresh.
|
inlineoverridevirtual |
introspection
Implements madness::LRFunctorBase< T, NDIM, LDIM >.
|
inlinenodiscardoverridevirtual |
Implements madness::LRFunctorBase< T, NDIM, LDIM >.
References f12.
Referenced by madness::LRFunctorF12< T, NDIM, LDIM >::MacroTaskLRFInner::allocator(), madness::LowRankFunctionFactory< T, NDIM, LDIM >::build_taylor_y(), inner(), norm2(), madness::LRFunctorF12< T, NDIM, LDIM >::MacroTaskLRFInner::operator()(), and madness::LowRankFunctionFactory< T, NDIM, LDIM >::project_from_operator().
|
private |
|
private |
the lo-dim functions
Referenced by LRFunctorF12(), LRFunctorF12(), get_b(), inner(), norm2(), madness::LRFunctorF12< T, NDIM, LDIM >::MacroTaskLRFInner::operator()(), operator()(), and set_thresh().
|
private |
a two-particle function
Referenced by LRFunctorF12(), LRFunctorF12(), get_f12(), inner(), norm2(), operator()(), and world().