SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
Actions::MutateApply< Mutator > Struct Template Reference

Apply the function Mutator::apply to the DataBox. More...

#include <MutateApply.hpp>

Public Types

using simple_tags
using compute_tags
using const_global_cache_tags
using mutable_global_cache_tags

Static Public Member Functions

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

Detailed Description

template<typename Mutator>
struct Actions::MutateApply< Mutator >

Apply the function Mutator::apply to the DataBox.

The function Mutator::apply is invoked with the Mutator::argument_tags. The result of this computation is stored in the Mutator::return_tags.

Uses:

  • DataBox:
    • All elements in Mutator::argument_tags

DataBox changes:

  • Modifies:
    • All elements in Mutator::return_tags

Member Typedef Documentation

◆ compute_tags

template<typename Mutator>
using Actions::MutateApply< Mutator >::compute_tags
Initial value:
detail::get_compute_tags_or_default_t<Mutator, tmpl::list<>>

◆ const_global_cache_tags

template<typename Mutator>
using Actions::MutateApply< Mutator >::const_global_cache_tags
Initial value:
detail::get_const_global_cache_tags_or_default_t<Mutator, tmpl::list<>>

◆ mutable_global_cache_tags

template<typename Mutator>
using Actions::MutateApply< Mutator >::mutable_global_cache_tags
Initial value:
detail::get_mutable_global_cache_tags_or_default_t<Mutator, tmpl::list<>>

◆ simple_tags

template<typename Mutator>
using Actions::MutateApply< Mutator >::simple_tags
Initial value:
detail::get_simple_tags_or_default_t<Mutator, tmpl::list<>>

The documentation for this struct was generated from the following file:
  • src/ParallelAlgorithms/Actions/MutateApply.hpp