SpECTRE
v2025.03.17
|
Computes the boundary corrections for local time-stepping and adds them to the variables. More...
#include <ApplyBoundaryCorrections.hpp>
Public Types | |
using | inbox_tags = implementation defined |
using | const_global_cache_tags = implementation defined |
Static Public Member Functions | |
template<typename DbTagsList , typename... InboxTags, typename Metavariables , typename ArrayIndex , typename ActionList , typename ParallelComponent > | |
static Parallel::iterable_action_return_t | apply (db::DataBox< DbTagsList > &box, tuples::TaggedTuple< InboxTags... > &inboxes, const Parallel::GlobalCache< Metavariables > &, const ArrayIndex &, ActionList, const ParallelComponent *const) |
Computes the boundary corrections for local time-stepping and adds them to the variables.
When using local time stepping the neighbor sends data at the neighbor's current temporal id. Along with the boundary data, the next temporal id at which the neighbor will send data is also sent. This is equal to the neighbor's Tags::Next<::Tags::TimeStepId>
. When inserting into the mortar data history, we insert the received temporal id, that is, the current time of the neighbor, along with the boundary correction data.