SpECTRE  v2022.01.03
Initialization::Actions::AddSimpleTags< Mutators > Struct Template Reference

Initialize the list of simple tags in Mutators::return_tags by calling each mutator in the order they are specified. More...

#include <AddSimpleTags.hpp>

Public Types

using simple_tags = tmpl::flatten< tmpl::append< typename Mutators::return_tags... > >
 
using compute_tags = tmpl::list<>
 

Static Public Member Functions

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

Detailed Description

template<typename... Mutators>
struct Initialization::Actions::AddSimpleTags< Mutators >

Initialize the list of simple tags in Mutators::return_tags by calling each mutator in the order they are specified.

There's a specialization for AddSimpleTags<tmpl::list<Mutators...>> that can also be used if a tmpl::list is available.

Uses: nothing

DataBox changes:

  • Adds:
    • Each simple tag in the list Mutators::return_tags
  • Removes:
    • nothing
  • Modifies:
    • Each simple tag in the list Mutators::return_tags
Note
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.

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