SpECTRE  v2024.04.12
observers::Actions::RegisterReductionContributorWithObserverWriter Struct Reference

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)
 

Detailed Description

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.


The documentation for this struct was generated from the following file: