MADNESS  version 0.9
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, NDIMctT
 
typedef CoeffTracker< T, LDIM > ctL
 
typedef multiply_op< LDIM > this_type
 

Public Member Functions

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

Static Public Member Functions

static bool randomize ()
 

Public Attributes

implTh
 the result function h(1,2) = f(1,2) * g(1) More...
 
ctT f
 
ctL g
 
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

template<typename T, std::size_t NDIM>
template<size_t LDIM>
typedef CoeffTracker<T,LDIM> madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::ctL
template<typename T, std::size_t NDIM>
template<size_t LDIM>
typedef CoeffTracker<T,NDIM> madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::ctT
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

template<typename T, std::size_t NDIM>
template<size_t LDIM>
madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::multiply_op ( )
inline
template<typename T, std::size_t NDIM>
template<size_t LDIM>
madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::multiply_op ( implT h,
const ctT f,
const ctL g,
const int  particle 
)
inline

Member Function Documentation

template<typename T, std::size_t NDIM>
template<size_t LDIM>
Future<this_type> madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::activate ( ) const
inline
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
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
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
template<typename T, std::size_t NDIM>
template<size_t LDIM>
static bool madness::FunctionImpl< T, NDIM >::multiply_op< LDIM >::randomize ( )
inlinestatic
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
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

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

the result function h(1,2) = f(1,2) * g(1)

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: