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

Allocate or assign background general relativity quantities on cell-centered and face-centered FD grid points, for evolution systems run on a curved spacetime without solving Einstein equations (e.g. ValenciaDivclean, ForceFree),. More...

#include <BackgroundGrVars.hpp>

Public Types

using gr_vars_tag = typename System::spacetime_variables_tag
using inactive_gr_vars_tag
using subcell_faces_gr_tag
using GrVars = typename gr_vars_tag::type
using InactiveGrVars = typename inactive_gr_vars_tag::type
using SubcellFaceGrVars = typename subcell_faces_gr_tag::type
using argument_tags
using return_tags

Static Public Member Functions

template<typename T>
static void apply (const gsl::not_null< GrVars * > active_gr_vars, const gsl::not_null< InactiveGrVars * > inactive_gr_vars, const gsl::not_null< SubcellFaceGrVars * > subcell_face_gr_vars, const double time, const std::unordered_map< std::string, std::unique_ptr<::domain::FunctionsOfTime::FunctionOfTime > > &functions_of_time, const Domain< volume_dim > &domain, const Element< volume_dim > &element, const ElementMap< volume_dim, Frame::Grid > &logical_to_grid_map, const domain::CoordinateMapBase< Frame::Grid, Frame::Inertial, volume_dim > &grid_to_inertial_map, const Mesh< volume_dim > &subcell_mesh, const tnsr::I< DataVector, volume_dim, Frame::Inertial > &subcell_inertial_coords, const bool did_rollback, const T &solution_or_data)

Static Public Attributes

static constexpr size_t volume_dim = System::volume_dim

Detailed Description

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

Allocate or assign background general relativity quantities on cell-centered and face-centered FD grid points, 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, bool ComputeOnlyOnRollback>
using evolution::dg::subcell::BackgroundGrVars< System, Metavariables, ComputeOnlyOnRollback >::argument_tags
Initial value:
tmpl::list<
Definition IndexType.hpp:45
Definition IndexType.hpp:46
Tag for the current time as a double.
Definition Time.hpp:19
The coordinate map from source to target coordinates.
Definition Tags.hpp:30
The Domain.
Definition Domain.hpp:20
The coordinate map from the ElementLogical frame to the TargetFrame.
Definition Tags.hpp:70
The Element associated with the DataBox.
Definition Tags.hpp:52
Tag to retrieve the FunctionsOfTime from the GlobalCache.
Definition Tags.hpp:20
The coordinates in a given frame.
Definition Coordinates.hpp:39
Tag indicating whether we are retrying a step after a rollback of a failed DG step.
Definition DidRollback.hpp:16
The mesh on the subcells.
Definition Mesh.hpp:22
The global cache tag for the initial data type.
Definition InitialData.hpp:37

◆ inactive_gr_vars_tag

template<typename System, typename Metavariables, bool ComputeOnlyOnRollback>
using evolution::dg::subcell::BackgroundGrVars< System, Metavariables, ComputeOnlyOnRollback >::inactive_gr_vars_tag
Initial value:
Mark a tag as holding data for the inactive grid.
Definition Inactive.hpp:23

◆ return_tags

template<typename System, typename Metavariables, bool ComputeOnlyOnRollback>
using evolution::dg::subcell::BackgroundGrVars< System, Metavariables, ComputeOnlyOnRollback >::return_tags
Initial value:
tmpl::list<gr_vars_tag, inactive_gr_vars_tag, subcell_faces_gr_tag>

◆ subcell_faces_gr_tag

template<typename System, typename Metavariables, bool ComputeOnlyOnRollback>
using evolution::dg::subcell::BackgroundGrVars< System, Metavariables, ComputeOnlyOnRollback >::subcell_faces_gr_tag
Initial value:
typename System::flux_spacetime_variables_tag, volume_dim>
Mark a tag as the being on the subcell faces.
Definition OnSubcellFaces.hpp:20

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