SpECTRE
v2024.03.19
|
Troubled-cell indicator applied to the DG solution. More...
#include <TciOnDgGrid.hpp>
Public Types | |
using | return_tags = tmpl::list<::Tags::Variables< tmpl::list< MassDensity, Velocity, SpecificInternalEnergy, Pressure > > > |
using | argument_tags = tmpl::list< ::Tags::Variables< tmpl::list< MassDensityCons, MomentumDensity, EnergyDensity > >, hydro::Tags::EquationOfState< false, 2 >, domain::Tags::Mesh< Dim >, evolution::dg::subcell::Tags::Mesh< Dim >, evolution::dg::subcell::Tags::DataForRdmpTci, evolution::dg::subcell::Tags::SubcellOptions< Dim > > |
Static Public Member Functions | |
static std::tuple< bool, evolution::dg::subcell::RdmpTciData > | apply (gsl::not_null< Variables< tmpl::list< MassDensity, Velocity, SpecificInternalEnergy, Pressure > > * > dg_prim_vars, const Variables< tmpl::list< MassDensityCons, MomentumDensity, EnergyDensity > > &dg_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_exponent, bool element_stays_on_dg) |
Troubled-cell indicator applied to the DG solution.
Computes the primitive variables on the DG grid, mutating them in the DataBox. Then,