SpECTRE
v2025.03.17
|
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 = evolution::dg::subcell::Tags::Inactive< gr_vars_tag > |
using | subcell_faces_gr_tag = evolution::dg::subcell::Tags::OnSubcellFaces< typename System::flux_spacetime_variables_tag, volume_dim > |
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 = implementation defined |
using | return_tags = implementation defined |
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 |
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),.