SpECTRE  v2022.10.04
Actions::RecordTimeStepperData< VariablesTag > Struct Template Reference

Records the variables and their time derivatives in the time stepper history, and copies variables_tag to Tags::RollbackValue<variables_tag> if the latter is present in the DataBox. More...

#include <RecordTimeStepperData.hpp>

Static Public Member Functions

template<typename DbTags , typename... InboxTags, typename Metavariables , typename ArrayIndex , typename ActionList , typename ParallelComponent >
static Parallel::iterable_action_return_t apply (db::DataBox< DbTags > &box, tuples::TaggedTuple< InboxTags... > &, const Parallel::GlobalCache< Metavariables > &, const ArrayIndex &, ActionList, const ParallelComponent *const)
 

Detailed Description

template<typename VariablesTag = NoSuchType>
struct Actions::RecordTimeStepperData< VariablesTag >

Records the variables and their time derivatives in the time stepper history, and copies variables_tag to Tags::RollbackValue<variables_tag> if the latter is present in the DataBox.

With dt_variables_tag = db::add_tag_prefix<Tags::dt, variables_tag>:

Uses:

  • GlobalCache: nothing
  • DataBox:
    • variables_tag (either the provided VariablesTag or the system::variables_tag if none is provided)
    • dt_variables_tag
    • Tags::HistoryEvolvedVariables<variables_tag>
    • Tags::TimeStepId

DataBox changes:

  • Tags::HistoryEvolvedVariables<variables_tag>
  • Tags::RollbackValue<variables_tag> if present

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