SpECTRE  v2024.04.12
CurvedScalarWave::Actions::CalculateGrVars< System, SkipForStaticDomains > Struct Template Reference

Action that initializes or updates items related to the spacetime background of the CurvedScalarWave system. More...

#include <CalculateGrVars.hpp>

Public Types

using simple_tags = db::AddSimpleTags< typename System::spacetime_tag_list >
 
using compute_tags = db::AddComputeTags<>
 

Static Public Member Functions

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

Static Public Attributes

static constexpr size_t Dim = System::volume_dim
 

Detailed Description

template<typename System, bool SkipForStaticDomains>
struct CurvedScalarWave::Actions::CalculateGrVars< System, SkipForStaticDomains >

Action that initializes or updates items related to the spacetime background of the CurvedScalarWave system.

If SkipForStaticBlocks is true, then this action does nothing if the block of the domain is time independent. This is a performance optimization to avoid updating the background spacetime in blocks that are time independent. Note that this assumes that the background spacetime is also time independent.

DataBox changes:

  • Adds:
    • CurvedScalarWave::System::spacetime_tag_list
  • Removes: nothing
  • Modifies: nothing

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