SpECTRE  v2024.04.12
Actions::AdvanceTime Struct Reference

Advance time one substep. More...

#include <AdvanceTime.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

Advance time one substep.

Replaces the time state with the Tags::Next values, advances the Tags::Next values, and sets Tags::Time to the new substep time.

Uses:

  • DataBox:
    • Tags::Next<Tags::TimeStep>
    • Tags::Next<Tags::TimeStepId>
    • Tags::TimeStepper<TimeStepper>

DataBox changes:


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