MADNESS  0.10.1
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
madness::FunctionImpl< T, NDIM >::multiply_op< LDIM > Struct Template Reference

perform this multiplication: h(1,2) = f(1,2) * g(1) More...

#include <funcimpl.h>

Collaboration diagram for madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >:
Collaboration graph
[legend]

Public Types

typedef CoeffTracker< T, LDIM > ctL
 
typedef CoeffTracker< T, NDIMctT
 
typedef multiply_op< LDIM > this_type
 

Public Member Functions

 multiply_op ()
 
 multiply_op (implT *h1, const ctT &f1, const ctL &g1, const int particle1)
 
Future< this_typeactivate () const
 
this_type forward_ctor (implT *h1, const ctT &f1, const ctL &g1, const int particle)
 
this_type make_child (const keyT &child) const
 
std::pair< bool, coeffToperator() (const Key< NDIM > &key) const
 apply this on a FunctionNode of f and g of Key key More...
 
bool screen (const coeffT &fcoeff, const coeffT &gcoeff, const keyT &key) const
 return true if this will be a leaf node More...
 
template<typename Archive >
void serialize (const Archive &ar)
 

Static Public Member Functions

static bool randomize ()
 

Public Attributes

ctT f
 
ctL g
 
implTh
 the result function h(1,2) = f(1,2) * g(1) More...
 
int particle
 if g is g(1) or g(2) More...
 

Detailed Description

template<typename T, std::size_t NDIM>
template<size_t LDIM>
struct madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >

perform this multiplication: h(1,2) = f(1,2) * g(1)

Member Typedef Documentation

◆ ctL

template<typename T , std::size_t NDIM>
template<size_t LDIM>
typedef CoeffTracker<T,LDIM> madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::ctL

◆ ctT

template<typename T , std::size_t NDIM>
template<size_t LDIM>
typedef CoeffTracker<T,NDIM> madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::ctT

◆ this_type

template<typename T , std::size_t NDIM>
template<size_t LDIM>
typedef multiply_op<LDIM> madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::this_type

Constructor & Destructor Documentation

◆ multiply_op() [1/2]

template<typename T , std::size_t NDIM>
template<size_t LDIM>
madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::multiply_op ( )
inline

◆ multiply_op() [2/2]

template<typename T , std::size_t NDIM>
template<size_t LDIM>
madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::multiply_op ( implT h1,
const ctT f1,
const ctL g1,
const int  particle1 
)
inline

Member Function Documentation

◆ activate()

template<typename T , std::size_t NDIM>
template<size_t LDIM>
Future<this_type> madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::activate ( ) const
inline

◆ forward_ctor()

template<typename T , std::size_t NDIM>
template<size_t LDIM>
this_type madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::forward_ctor ( implT h1,
const ctT f1,
const ctL g1,
const int  particle 
)
inline

◆ make_child()

template<typename T , std::size_t NDIM>
template<size_t LDIM>
this_type madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::make_child ( const keyT child) const
inline

◆ operator()()

template<typename T , std::size_t NDIM>
template<size_t LDIM>
std::pair<bool,coeffT> madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::operator() ( const Key< NDIM > &  key) const
inline

◆ randomize()

template<typename T , std::size_t NDIM>
template<size_t LDIM>
static bool madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::randomize ( )
inlinestatic

◆ screen()

template<typename T , std::size_t NDIM>
template<size_t LDIM>
bool madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::screen ( const coeffT fcoeff,
const coeffT gcoeff,
const keyT key 
) const
inline

◆ serialize()

template<typename T , std::size_t NDIM>
template<size_t LDIM>
template<typename Archive >
void madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::serialize ( const Archive &  ar)
inline

Member Data Documentation

◆ f

template<typename T , std::size_t NDIM>
template<size_t LDIM>
ctT madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::f

◆ g

template<typename T , std::size_t NDIM>
template<size_t LDIM>
ctL madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::g

◆ h

template<typename T , std::size_t NDIM>
template<size_t LDIM>
implT* madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::h

◆ particle

template<typename T , std::size_t NDIM>
template<size_t LDIM>
int madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::particle

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