|
SpECTRE
v2025.08.19
|
Register an ArrayComponentId that will call observers::ThreadedActions::WriteReductionData or observers::ThreadedActions::ContributeReductionData for a specific ObservationIdRegistrationKey
More...
#include <ObserverRegistration.hpp>
Static Public Member Functions | |
| template<typename ParallelComponent , typename DbTagsList , typename Metavariables , typename ArrayIndex > | |
| static void | apply (db::DataBox< DbTagsList > &box, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &, const observers::ObservationKey &observation_key, const Parallel::ArrayComponentId &id_of_caller) |
Register an ArrayComponentId that will call observers::ThreadedActions::WriteReductionData or observers::ThreadedActions::ContributeReductionData for a specific ObservationIdRegistrationKey
Should be invoked on ObserverWriter by the component that will be contributing the data.