|
SpECTRE
2021.08.02
|
The troubled-cell indicator run on DG initial data to see if we need to switch to subcell. More...
#include <InitialDataTci.hpp>
Public Types | |
| using | argument_tags = tmpl::list< domain::Tags::Mesh< Dim >, Pressure > |
Static Public Member Functions | |
| static bool | apply (const Variables< tmpl::list< MassDensityCons, MomentumDensity, EnergyDensity > > &dg_vars, const Variables< tmpl::list< Inactive< MassDensityCons >, Inactive< MomentumDensity >, Inactive< EnergyDensity > > > &subcell_vars, double rdmp_delta0, double rdmp_epsilon, double persson_exponent, const Mesh< Dim > &dg_mesh, const Scalar< DataVector > &dg_pressure) noexcept |
The troubled-cell indicator run on DG initial data to see if we need to switch to subcell.
Uses the two-mesh relaxed discrete maximum principle as well as the Persson TCI applied to the mass density and pressure.