SpECTRE
v2025.03.17
|
Troubled-cell indicator applied to the finite difference subcell solution to check if the corresponding DG solution is admissible. More...
#include <TciOnFdGrid.hpp>
Public Types | |
using | return_tags = implementation defined |
using | argument_tags = implementation defined |
Static Public Member Functions | |
static std::tuple< bool, evolution::dg::subcell::RdmpTciData > | apply (gsl::not_null< Variables< tmpl::list< MassDensity, Velocity, SpecificInternalEnergy, Pressure > > * > subcell_grid_prim_vars, const Variables< tmpl::list< MassDensityCons, MomentumDensity, EnergyDensity > > &subcell_vars, const EquationsOfState::EquationOfState< false, 2 > &eos, const Mesh< Dim > &dg_mesh, const Mesh< Dim > &subcell_mesh, const evolution::dg::subcell::RdmpTciData &past_rdmp_tci_data, const evolution::dg::subcell::SubcellOptions &subcell_options, double persson_exponentconst, bool need_rdmp_data_only) |
Troubled-cell indicator applied to the finite difference subcell solution to check if the corresponding DG solution is admissible.
Computes the primitive variables on the DG and subcell grids, mutating the subcell/active primitive variables in the DataBox. Then,
Please note that the TCI is run after the subcell solution has been reconstructed to the DG grid, and so Inactive<Tag>
is the updated DG solution.