MADNESS 0.10.1
|
#include <funcimpl.h>
Public Types | |
typedef FunctionImpl< T, NDIM > | implT |
Public Member Functions | |
op_leaf_op ()=default | |
op_leaf_op (const opT *op, const implT *f) | |
bool | do_error_leaf_op () const |
bool | operator() (const Key< NDIM > &key) const |
pre-determination: we can't know if this will be a leaf node before we got the final coeffs | |
bool | operator() (const Key< NDIM > &key, const double &cnorm) const |
post-determination: return true if operator and coefficient norms are small | |
bool | operator() (const Key< NDIM > &key, const GenTensor< T > &coeff) const |
post-determination: return true if operator and coefficient norms are small | |
template<typename Archive > | |
void | serialize (Archive &ar) |
Public Attributes | |
const implT * | f |
the source or result function, needed for truncate_tol | |
const opT * | op |
the convolution operator | |
returns true if the result of the convolution operator op with some provided coefficients will be small
typedef FunctionImpl<T,NDIM> madness::op_leaf_op< T, NDIM, opT >::implT |
|
default |
|
inline |
|
inline |
|
inline |
pre-determination: we can't know if this will be a leaf node before we got the final coeffs
Referenced by madness::op_leaf_op< T, NDIM, opT >::operator()().
|
inline |
post-determination: return true if operator and coefficient norms are small
References d, madness::op_leaf_op< T, NDIM, opT >::f, madness::FunctionImpl< T, NDIM >::get_thresh(), madness::Key< NDIM >::level(), norm(), madness::op_leaf_op< T, NDIM, opT >::op, source(), thresh, and madness::FunctionImpl< T, NDIM >::truncate_tol().
|
inline |
post-determination: return true if operator and coefficient norms are small
References madness::Key< NDIM >::level(), madness::GenTensor< T >::normf(), and madness::op_leaf_op< T, NDIM, opT >::operator()().
|
inline |
const implT* madness::op_leaf_op< T, NDIM, opT >::f |
the source or result function, needed for truncate_tol
Referenced by madness::op_leaf_op< T, NDIM, opT >::operator()(), and madness::op_leaf_op< T, NDIM, opT >::serialize().
const opT* madness::op_leaf_op< T, NDIM, opT >::op |
the convolution operator
Referenced by madness::op_leaf_op< T, NDIM, opT >::operator()(), and madness::op_leaf_op< T, NDIM, opT >::serialize().