SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
evolution::dg::subcell::fd::CellCenteredFlux< System, FluxMutator, Dim, ComputeOnlyOnRollback, Fr > Struct Template Reference

Mutator that wraps the system's FluxMutator to correctly set the cell-centered fluxes on the subcell grid. More...

#include <CellCenteredFlux.hpp>

Public Types

using flux_variables = typename System::flux_variables
using variables = typename System::variables_tag::tags_list
using return_tags
using argument_tags

Static Public Member Functions

template<typename... FluxTags, typename... Args>
static void apply (const gsl::not_null< std::optional< Variables< tmpl::list< FluxTags... > > > * > cell_centered_fluxes, const subcell::SubcellOptions &subcell_options, const Mesh< Dim > &subcell_mesh, const Mesh< Dim > &dg_mesh, const std::optional< tnsr::I< DataVector, Dim > > &dg_mesh_velocity, const ::Variables< variables > &cell_centered_flux_vars, const bool did_rollback, Args &&... args)

Detailed Description

template<typename System, typename FluxMutator, size_t Dim, bool ComputeOnlyOnRollback, typename Fr = Frame::Inertial>
struct evolution::dg::subcell::fd::CellCenteredFlux< System, FluxMutator, Dim, ComputeOnlyOnRollback, Fr >

Mutator that wraps the system's FluxMutator to correctly set the cell-centered fluxes on the subcell grid.

Currently we only use high-order FD if the FD order was specified in the input file. We will need to extend this to support adaptive-order in the future. In that case we need to check if the FD reconstruction reports back the order to use.

Member Typedef Documentation

◆ argument_tags

template<typename System, typename FluxMutator, size_t Dim, bool ComputeOnlyOnRollback, typename Fr = Frame::Inertial>
using evolution::dg::subcell::fd::CellCenteredFlux< System, FluxMutator, Dim, ComputeOnlyOnRollback, Fr >::argument_tags
Initial value:
tmpl::push_front<
typename FluxMutator::argument_tags, subcell::Tags::SubcellOptions<Dim>,
Definition VariablesTag.hpp:17
The mesh velocity.
Definition TagsTimeDependent.hpp:168
The computational grid of the Element in the DataBox.
Definition Tags.hpp:62
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
System-agnostic options for DG-subcell.
Definition SubcellOptions.hpp:31

◆ return_tags

template<typename System, typename FluxMutator, size_t Dim, bool ComputeOnlyOnRollback, typename Fr = Frame::Inertial>
using evolution::dg::subcell::fd::CellCenteredFlux< System, FluxMutator, Dim, ComputeOnlyOnRollback, Fr >::return_tags
Initial value:
tmpl::list<subcell::Tags::CellCenteredFlux<flux_variables, Dim>>

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