SpECTRE  2021.08.02
observers::Actions::RegisterContributorWithObserver Struct Reference

Register the ArrayComponentId that will send the data to the observer for the given ObservationIdRegistrationKey More...

#include <ObserverRegistration.hpp>

Static Public Member Functions

template<typename ParallelComponent , typename DbTagList , typename Metavariables , typename ArrayIndex >
static void apply (db::DataBox< DbTagList > &box, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &array_index, const observers::ObservationKey &observation_key, const observers::ArrayComponentId &component_id, const TypeOfObservation &type_of_observation) noexcept
 

Detailed Description

Register the ArrayComponentId that will send the data to the observer for the given ObservationIdRegistrationKey

Should be invoked on the Observer by the contributing component.