SpECTRE  v2025.03.17
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
intrp::Actions::AddTemporalIdsToInterpolationTarget< InterpolationTargetTag > Struct Template Reference

Adds a temporal_id on which this InterpolationTarget should be triggered. More...

#include <AddTemporalIdsToInterpolationTarget.hpp>

Static Public Member Functions

template<typename ParallelComponent , typename DbTags , typename Metavariables , typename ArrayIndex , typename TemporalId >
static void apply (db::DataBox< DbTags > &box, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &array_index, const TemporalId &temporal_id)
 

Detailed Description

template<typename InterpolationTargetTag>
struct intrp::Actions::AddTemporalIdsToInterpolationTarget< InterpolationTargetTag >

Adds a temporal_id on which this InterpolationTarget should be triggered.

Invoked on an InterpolationTarget.

In more detail, does the following:

  • Adds the passed-in temporal_id to PendingTemporalIds.
  • If all the following conditions are met:
    • CurrentTemporalId doesn't have a value
    • PendingTemporalIds is not empty,
    • The temporal id is a LinkedMessageId or PendingTemporalIds was empty upon entry call Actions::VerifyTemporalIdsAndSendPoints. (Otherwise there is an interpolation in progress and nothing needs to be done.)

Uses:

DataBox changes:


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