|
MADNESS 0.10.1
|
#include <applyscreen.h>
Public Member Functions | |
| ApplyScreenHandle ()=default | |
| ApplyScreenHandle (const apply_screen_t< NDIM > &screen) | |
| operator bool () const | |
| double | operator() (const Key< NDIM > &key) const |
| template<typename Archive> | |
| void | serialize (Archive &) |
Private Attributes | |
| std::shared_ptr< const apply_screen_t< NDIM > > | screen_ |
The screen as the tasks of an apply carry it: shared ownership, so the screen lives as long as any task of the apply does, and nothing is stored on the function. Empty means no screen. The tasks stay on the rank that creates them (apply_only refuses apply_randomize), so the handle does not travel.
|
default |
|
inlineexplicit |
|
inlineexplicit |
References screen_.
|
inline |
References screen_.
|
inline |
References MADNESS_EXCEPTION.
|
private |
Referenced by ApplyScreenHandle(), operator bool(), and operator()().