|
MADNESS 0.10.1
|
#include <leafop.h>
Public Member Functions | |
| LeafOpRef ()=default | |
| LeafOpRef (const LeafOpBase< T, NDIM > &b) | |
| LeafOpRef (const LeafOpRef &)=default | |
| bool | do_pre_screening () const |
| LeafOpRef & | operator= (const LeafOpRef &)=default |
| bool | post_screening (const Key< NDIM > &key, const GenTensor< T > &coeff) const |
| bool | pre_screening (const Key< NDIM > &key) const |
| template<typename Archive> | |
| void | serialize (Archive &ar) |
| bool | special_refinement_needed (const Key< NDIM > &key) const |
Public Attributes | |
| const LeafOpBase< T, NDIM > * | base = nullptr |
Value-type adapter that satisfies the existing concept used by composite_product_op_NS (do_pre_screening, pre_screening, special_refinement_needed, post_screening, serialize) by forwarding to a LeafOpBase<T,NDIM> through a pointer.
Lifetime: the caller must keep the LeafOpBase alive for the duration of the composite_product / composite_inner call. This matches MADNESS's existing convention (Leaf_op holds a raw FunctionImpl pointer the same way).
|
default |
Referenced by LeafOpRef(), and operator=().
|
inlineexplicit |
|
default |
References LeafOpRef().
|
inline |
References base.
|
default |
References LeafOpRef().
|
inline |
References base.
|
inline |
References base.
|
inline |
Pointer serialization: archive the bit pattern via uintptr_t. This is only meaningful for in-process tasks (the leaf_op must live in the same address space across the task boundary), which matches the existing MADNESS convention (Leaf_op already holds a raw FunctionImpl pointer).
References base.
|
inline |
References base.
| const LeafOpBase<T, NDIM>* madness::LeafOpRef< T, NDIM >::base = nullptr |
Referenced by LeafOpRef(), do_pre_screening(), post_screening(), pre_screening(), serialize(), and special_refinement_needed().