SpECTRE  2021.08.02
Initialization::Actions::TimeStepperHistory< Metavariables > Struct Template Reference

Initialize time-stepper items. More...

#include <Evolution.hpp>

Classes

struct  ComputeTags
 
struct  ComputeTags< System, true >
 

Public Types

using variables_tag = typename Metavariables::system::variables_tag
 
using dt_variables_tag = db::add_tag_prefix<::Tags::dt, variables_tag >
 
using error_variables_tag = db::add_tag_prefix<::Tags::StepperError, variables_tag >
 
using simple_tags = tmpl::list< dt_variables_tag, ::Tags::HistoryEvolvedVariables< variables_tag >, error_variables_tag, ::Tags::StepperErrorUpdated >
 
using compute_tags = typename ComputeTags< typename Metavariables::system >::type
 

Static Public Member Functions

template<typename DbTagsList , typename... InboxTags, typename ArrayIndex , typename ActionList , typename ParallelComponent , Requires< tmpl::list_contains_v< typename db::DataBox< DbTagsList >::mutable_item_tags, domain::Tags::Mesh< dim > > and tmpl::list_contains_v< typename db::DataBox< DbTagsList >::mutable_item_tags, variables_tag > > = nullptr>
static auto apply (db::DataBox< DbTagsList > &box, const tuples::TaggedTuple< InboxTags... > &, const Parallel::GlobalCache< Metavariables > &, const ArrayIndex &, ActionList, const ParallelComponent *const) noexcept
 
template<typename DbTagsList , typename... InboxTags, typename ArrayIndex , typename ActionList , typename ParallelComponent , Requires< not(tmpl::list_contains_v< typename db::DataBox< DbTagsList >::mutable_item_tags, domain::Tags::Mesh< dim > > and tmpl::list_contains_v< typename db::DataBox< DbTagsList >::mutable_item_tags, variables_tag >)> = nullptr>
static std::tuple< db::DataBox< DbTagsList > && > apply (db::DataBox< DbTagsList > &, const tuples::TaggedTuple< InboxTags... > &, const Parallel::GlobalCache< Metavariables > &, const ArrayIndex &, ActionList, const ParallelComponent *const) noexcept
 

Static Public Attributes

static constexpr size_t dim = Metavariables::volume_dim
 

Detailed Description

template<typename Metavariables>
struct Initialization::Actions::TimeStepperHistory< Metavariables >

Initialize time-stepper items.

DataBox changes:

Note
HistoryEvolvedVariables is allocated, but needs to be initialized
This action relies on the SetupDataBox aggregated initialization mechanism, so Actions::SetupDataBox must be present in the Initialization phase action list prior to this action.