SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
Initialization::ProjectTimeStepperHistory< Metavariables > Struct Template Reference

Initialize/update items related to time stepper history after an AMR change. More...

#include <Evolution.hpp>

Public Types

using variables_tag = typename Metavariables::system::variables_tag
using dt_variables_tag = db::add_tag_prefix<::Tags::dt, variables_tag>
using history_tag = ::Tags::HistoryEvolvedVariables<variables_tag>
using return_tags
using argument_tags

Static Public Member Functions

static void apply (const gsl::not_null< typename dt_variables_tag::type * > dt_vars, const gsl::not_null< typename history_tag::type * > history, const gsl::not_null< TimeStepId * >, const gsl::not_null< TimeDelta * >, const Mesh< dim > &new_mesh, const ElementId< dim > &, const TimeStepper &, const DirectionalIdMap< dim, evolution::dg::MortarInfo< dim > > &, const std::pair< Mesh< dim >, Element< dim > > &old_mesh_and_element)
template<typename... Tags>
static void apply (const gsl::not_null< typename dt_variables_tag::type * > dt_vars, const gsl::not_null< typename history_tag::type * > history, const gsl::not_null< TimeStepId * > next_time_step_id, const gsl::not_null< TimeDelta * > time_step, const Mesh< dim > &new_mesh, const ElementId< dim > &element_id, const TimeStepper &time_stepper, const DirectionalIdMap< dim, evolution::dg::MortarInfo< dim > > &mortar_info, const tuples::TaggedTuple< Tags... > &parent_items)
template<typename... Tags>
static void apply (const gsl::not_null< typename dt_variables_tag::type * > dt_vars, const gsl::not_null< typename history_tag::type * > history, const gsl::not_null< TimeStepId * > next_time_step_id, const gsl::not_null< TimeDelta * > time_step, const Mesh< dim > &new_mesh, const ElementId< dim > &element_id, const TimeStepper &time_stepper, const DirectionalIdMap< dim, evolution::dg::MortarInfo< dim > > &mortar_info, const std::unordered_map< ElementId< dim >, tuples::TaggedTuple< Tags... > > &children_items)

Static Public Attributes

static constexpr size_t dim = Metavariables::volume_dim

Detailed Description

template<typename Metavariables>
struct Initialization::ProjectTimeStepperHistory< Metavariables >

Initialize/update items related to time stepper history after an AMR change.

Note
Tags::TimeStep and Tags::Next<Tags::TimeStepId> are not initially set by this projector. They are only updated if the time stepper must be restarted because of LTS h-refinement.

Member Typedef Documentation

◆ argument_tags

template<typename Metavariables>
using Initialization::ProjectTimeStepperHistory< Metavariables >::argument_tags
Initial value:
tmpl::list<
Tag to retrieve the ArrayIndex from the DataBox.
Definition ArrayIndex.hpp:13
Access to a time stepper through the StepperInterface interface (such as TimeStepper or LtsTimeSteppe...
Definition TimeStepper.hpp:61
The computational grid of the Element in the DataBox.
Definition Tags.hpp:62
The evolution::dg::MortarInfo for each mortar.
Definition MortarTags.hpp:69

◆ return_tags

template<typename Metavariables>
using Initialization::ProjectTimeStepperHistory< Metavariables >::return_tags
Initial value:
tmpl::list<dt_variables_tag, history_tag,
Prefix indicating the value a quantity will take on the next iteration of the algorithm.
Definition Prefixes.hpp:199
Tag for step size.
Definition TimeStep.hpp:13

The documentation for this struct was generated from the following file:
  • src/Evolution/Initialization/Evolution.hpp