SpECTRE
v2024.04.12
|
The troubled-cell indicator run on the DG grid to check if the solution is admissible. More...
#include <TciOnDgGrid.hpp>
Public Types | |
using | return_tags = tmpl::list<> |
using | argument_tags = tmpl::list< ScalarAdvection::Tags::U, ::domain::Tags::Mesh< Dim >, evolution::dg::subcell::Tags::Mesh< Dim >, evolution::dg::subcell::Tags::DataForRdmpTci, evolution::dg::subcell::Tags::SubcellOptions< Dim >, Tags::TciOptions > |
Static Public Member Functions | |
static std::tuple< bool, evolution::dg::subcell::RdmpTciData > | apply (const Scalar< DataVector > &dg_u, 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, const TciOptions &tci_options, double persson_exponent, bool element_stays_on_dg) |
The troubled-cell indicator run on the DG grid to check if the solution is admissible.
Applies 1) the RDMP TCI to \(U\) and 2) the Persson TCI to \(U\) if the \(\max(|U|)\) on the DG grid is greater than tci_options.u_cutoff
.