SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
Tags::TimeAndPrevious< Index > Struct Template Reference

Tag for the current and previous time as doubles. More...

#include <TimeAndPrevious.hpp>

Public Types

using type = LinkedMessageId<double>

Static Public Member Functions

static std::string name ()

Static Public Attributes

static constexpr size_t index = Index

Detailed Description

template<size_t Index>
struct Tags::TimeAndPrevious< Index >

Tag for the current and previous time as doubles.

Warning
The previous time is calculated via the value of the Tags::PreviousTriggerTime. Therefore, this tag can only be used in the context of dense triggers as that is where the Tags::PreviousTriggerTime tag is set. Any Events that request this tag in their argument_tags type alias, must be triggered by a DenseTrigger.
Note
The Index is just so we can have multiple of this tag in the same DataBox.

The documentation for this struct was generated from the following file:
  • src/Time/Tags/TimeAndPrevious.hpp