SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
evolution::dg::BackgroundGrVars< System, Metavariables > Struct Template Reference

Allocate or assign background general relativity quantities needed for evolution systems run on a curved spacetime without solving Einstein equations (e.g. ValenciaDivclean, ForceFree). More...

#include <BackgroundGrVars.hpp>

Public Types

using gr_variables_tag
using GrVars = typename gr_variables_tag::type
using argument_tags
using return_tags = tmpl::list<gr_variables_tag>

Static Public Member Functions

template<typename T>
static void apply (const gsl::not_null< GrVars * > background_gr_vars, const double time, const Domain< volume_dim > &domain, const tnsr::I< DataVector, volume_dim, Frame::Inertial > &inertial_coords, const Mesh< volume_dim > &mesh, const Element< volume_dim > &element, const T &solution_or_data)

Static Public Attributes

static constexpr size_t volume_dim = System::volume_dim

Detailed Description

template<typename System, typename Metavariables>
struct evolution::dg::BackgroundGrVars< System, Metavariables >

Allocate or assign background general relativity quantities needed for evolution systems run on a curved spacetime without solving Einstein equations (e.g. ValenciaDivclean, ForceFree).

Warning
This mutator assumes that the GR analytic data or solution specifying background spacetime metric is time-independent.

Member Typedef Documentation

◆ argument_tags

template<typename System, typename Metavariables>
using evolution::dg::BackgroundGrVars< System, Metavariables >::argument_tags
Initial value:
tmpl::list<::Tags::Time, domain::Tags::Domain<volume_dim>,
The coordinates in a given frame.
Definition Tags.hpp:85
The Element associated with the DataBox.
Definition Tags.hpp:52
The computational grid of the Element in the DataBox.
Definition Tags.hpp:62
The global cache tag for the initial data type.
Definition InitialData.hpp:37

◆ gr_variables_tag

template<typename System, typename Metavariables>
using evolution::dg::BackgroundGrVars< System, Metavariables >::gr_variables_tag
Initial value:
::Tags::Variables<tmpl::remove_duplicates<
tmpl::append<typename System::spacetime_variables_tag::tags_list,
typename get_flux_spacetime_variables_tag_or_default_t<
System, EmptyStruct>::tags_list,
tmpl::list<typename System::inverse_spatial_metric_tag>>>>
Definition VariablesTag.hpp:17

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