SpECTRE
v2024.09.29
|
Add data to a LinkedMessageQueue. More...
#include <UpdateMessageQueue.hpp>
Static Public Member Functions | |
template<typename ParallelComponent , typename DbTags , typename Metavariables , typename ArrayIndex > | |
static void | apply (db::DataBox< DbTags > &box, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &array_index, const LinkedMessageId< typename LinkedMessageQueueTag::type::IdType > &id_and_previous, typename QueueTag::type message) |
Add data to a LinkedMessageQueue.
Add the passed id_and_previous
and message
to the queue QueueTag
in the LinkedMessageQueue
stored in the DataBox tag LinkedMessageQueueTag
. Then, for each ID for which the message queue has all required messages, call Processor::apply
. The signature for an apply
function for a message queue containing Queue1
and Queue2
with ID type int
is: