SpECTRE
v2025.03.17
|
Mutator that wraps the system's FluxMutator
to correctly set the cell-centered fluxes on the subcell grid.
More...
#include <CellCenteredFlux.hpp>
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) |
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.