|
SpECTRE
2021.08.02
|
Registers a singleton with the ObserverWriter. More...
#include <RegisterSingleton.hpp>
Static Public Member Functions | |
| template<typename DbTagList , typename... InboxTags, typename Metavariables , typename ArrayIndex , typename ActionList , typename ParallelComponent > | |
| static std::tuple< db::DataBox< DbTagList > &&, bool > | apply (db::DataBox< DbTagList > &box, const tuples::TaggedTuple< InboxTags... > &, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &array_index, const ActionList, const ParallelComponent *const) noexcept |
Registers a singleton with the ObserverWriter.
The singleton that observes is expected to call WriteReductionData on node 0.