MADNESS  version 0.9
Public Types | Public Member Functions | Public Attributes | List of all members
madness::hartree_convolute_leaf_op< T, NDIM, LDIM, opT > Struct Template Reference

#include <funcimpl.h>

Collaboration diagram for madness::hartree_convolute_leaf_op< T, NDIM, LDIM, opT >:
Collaboration graph
[legend]

Public Types

typedef FunctionImpl< T, NDIMimplT
 
typedef FunctionImpl< T, LDIM > implL
 

Public Member Functions

bool do_error_leaf_op () const
 
 hartree_convolute_leaf_op ()
 
 hartree_convolute_leaf_op (const implT *f, const implL *g, const opT *op)
 
bool operator() (const Key< NDIM > &key) const
 no pre-determination More...
 
bool operator() (const Key< NDIM > &key, const GenTensor< T > &coeff) const
 no post-determination More...
 
bool operator() (const Key< NDIM > &key, const Tensor< T > &fcoeff, const Tensor< T > &gcoeff) const
 post-determination: true if f is a leaf and the result is well-represented More...
 
template<typename Archive >
void serialize (Archive &ar)
 

Public Attributes

const FunctionImpl< T, NDIM > * f
 
const implLg
 
const opT * op
 

Detailed Description

template<typename T, size_t NDIM, size_t LDIM, typename opT>
struct madness::hartree_convolute_leaf_op< T, NDIM, LDIM, opT >

returns true if the result of a hartree_product is a leaf node criteria are error, norm and its effect on a convolution operator

Member Typedef Documentation

template<typename T , size_t NDIM, size_t LDIM, typename opT >
typedef FunctionImpl<T,LDIM> madness::hartree_convolute_leaf_op< T, NDIM, LDIM, opT >::implL
template<typename T , size_t NDIM, size_t LDIM, typename opT >
typedef FunctionImpl<T,NDIM> madness::hartree_convolute_leaf_op< T, NDIM, LDIM, opT >::implT

Constructor & Destructor Documentation

template<typename T , size_t NDIM, size_t LDIM, typename opT >
madness::hartree_convolute_leaf_op< T, NDIM, LDIM, opT >::hartree_convolute_leaf_op ( )
inline
template<typename T , size_t NDIM, size_t LDIM, typename opT >
madness::hartree_convolute_leaf_op< T, NDIM, LDIM, opT >::hartree_convolute_leaf_op ( const implT f,
const implL g,
const opT *  op 
)
inline

Member Function Documentation

template<typename T , size_t NDIM, size_t LDIM, typename opT >
bool madness::hartree_convolute_leaf_op< T, NDIM, LDIM, opT >::do_error_leaf_op ( ) const
inline
template<typename T , size_t NDIM, size_t LDIM, typename opT >
bool madness::hartree_convolute_leaf_op< T, NDIM, LDIM, opT >::operator() ( const Key< NDIM > &  key) const
inline

no pre-determination

template<typename T , size_t NDIM, size_t LDIM, typename opT >
bool madness::hartree_convolute_leaf_op< T, NDIM, LDIM, opT >::operator() ( const Key< NDIM > &  key,
const GenTensor< T > &  coeff 
) const
inline

no post-determination

References MADNESS_EXCEPTION.

template<typename T , size_t NDIM, size_t LDIM, typename opT >
bool madness::hartree_convolute_leaf_op< T, NDIM, LDIM, opT >::operator() ( const Key< NDIM > &  key,
const Tensor< T > &  fcoeff,
const Tensor< T > &  gcoeff 
) const
inline

post-determination: true if f is a leaf and the result is well-represented

Parameters
[in]keythe hi-dimensional key (breaks into keys for f and g)
[in]fcoeffcoefficients of f of its appropriate key in NS form
[in]gcoeffcoefficients of g of its appropriate key in NS form

References madness::error(), madness::FunctionImpl< T, NDIM >::get_cdata(), madness::FunctionImpl< T, NDIM >::get_thresh(), madness::Key< NDIM >::level(), madness::norm(), sqrt(), thresh, and madness::FunctionImpl< T, NDIM >::truncate_tol().

template<typename T , size_t NDIM, size_t LDIM, typename opT >
template<typename Archive >
void madness::hartree_convolute_leaf_op< T, NDIM, LDIM, opT >::serialize ( Archive &  ar)
inline

Member Data Documentation

template<typename T , size_t NDIM, size_t LDIM, typename opT >
const FunctionImpl<T,NDIM>* madness::hartree_convolute_leaf_op< T, NDIM, LDIM, opT >::f
template<typename T , size_t NDIM, size_t LDIM, typename opT >
const implL* madness::hartree_convolute_leaf_op< T, NDIM, LDIM, opT >::g
template<typename T , size_t NDIM, size_t LDIM, typename opT >
const opT* madness::hartree_convolute_leaf_op< T, NDIM, LDIM, opT >::op

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