SpECTRE  v2025.03.17
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
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 = implementation defined
 
using argument_tags = implementation defined
 

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.


The documentation for this struct was generated from the following file: