MADNESS  0.10.1
Public Member Functions | Private Attributes | List of all members
madness::LRFunctorF12< T, NDIM, LDIM > Struct Template Reference

#include <lowrankfunction.h>

Inheritance diagram for madness::LRFunctorF12< T, NDIM, LDIM >:
Inheritance graph
[legend]
Collaboration diagram for madness::LRFunctorF12< T, NDIM, LDIM >:
Collaboration graph
[legend]

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 More...
 
 LRFunctorF12 (const std::shared_ptr< SeparatedConvolution< T, LDIM >> f12, const std::vector< Function< T, LDIM >> &a, const std::vector< Function< T, LDIM >> &b)
 
std::vector< Function< T, LDIM > > inner (const std::vector< Function< T, LDIM >> &rhs, const particle< LDIM > p1, const particle< LDIM > p2) const
 
Tensor< T >::scalar_type norm2 () const
 
T operator() (const Vector< double, NDIM > &r) const
 
Worldworld () const
 
- 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
 

Private Attributes

std::vector< Function< T, LDIM > > a
 
std::vector< Function< T, LDIM > > b
 the lo-dim functions More...
 
std::shared_ptr< SeparatedConvolution< T, LDIM > > f12
 a two-particle function More...
 

Constructor & Destructor Documentation

◆ LRFunctorF12() [1/2]

template<typename T , std::size_t NDIM, std::size_t LDIM = NDIM/2>
madness::LRFunctorF12< T, NDIM, LDIM >::LRFunctorF12 ( const std::shared_ptr< SeparatedConvolution< T, LDIM >>  f12,
const std::vector< Function< T, LDIM >> &  a,
const std::vector< Function< T, LDIM >> &  b 
)
inline

◆ LRFunctorF12() [2/2]

template<typename T , std::size_t NDIM, std::size_t LDIM = NDIM/2>
madness::LRFunctorF12< T, NDIM, LDIM >::LRFunctorF12 ( const std::shared_ptr< SeparatedConvolution< T, LDIM >>  f12,
const Function< T, LDIM > &  a,
const Function< T, LDIM > &  b 
)
inline

delegate to the other ctor with vector arguments

References madness::LRFunctorF12< T, NDIM, LDIM >::a.

Member Function Documentation

◆ inner()

template<typename T , std::size_t NDIM, std::size_t LDIM = NDIM/2>
std::vector<Function<T,LDIM> > madness::LRFunctorF12< T, NDIM, LDIM >::inner ( const std::vector< Function< T, LDIM >> &  rhs,
const particle< LDIM >  p1,
const particle< LDIM >  p2 
) const
inlinevirtual

◆ norm2()

template<typename T , std::size_t NDIM, std::size_t LDIM = NDIM/2>
Tensor<T>::scalar_type madness::LRFunctorF12< T, NDIM, LDIM >::norm2 ( ) const
inlinevirtual

◆ operator()()

template<typename T , std::size_t NDIM, std::size_t LDIM = NDIM/2>
T madness::LRFunctorF12< T, NDIM, LDIM >::operator() ( const Vector< double, NDIM > &  r) const
inline

◆ world()

template<typename T , std::size_t NDIM, std::size_t LDIM = NDIM/2>
World& madness::LRFunctorF12< T, NDIM, LDIM >::world ( ) const
inlinevirtual

Member Data Documentation

◆ a

template<typename T , std::size_t NDIM, std::size_t LDIM = NDIM/2>
std::vector<Function<T,LDIM> > madness::LRFunctorF12< T, NDIM, LDIM >::a
private

◆ b

template<typename T , std::size_t NDIM, std::size_t LDIM = NDIM/2>
std::vector<Function<T,LDIM> > madness::LRFunctorF12< T, NDIM, LDIM >::b
private

◆ f12

template<typename T , std::size_t NDIM, std::size_t LDIM = NDIM/2>
std::shared_ptr<SeparatedConvolution<T,LDIM> > madness::LRFunctorF12< T, NDIM, LDIM >::f12
private

The documentation for this struct was generated from the following file: