|
SpECTRE
2021.08.02
|
The troubled-cell indicator run on the FD grid to check if the corresponding DG solution is admissible. More...
#include <TciOnFdGrid.hpp>
Public Types | |
| using | return_tags = tmpl::list<> |
| using | argument_tags = tmpl::list< evolution::dg::subcell::Tags::Inactive< grmhd::ValenciaDivClean::Tags::TildeD >, evolution::dg::subcell::Tags::Inactive< grmhd::ValenciaDivClean::Tags::TildeTau >, grmhd::ValenciaDivClean::Tags::VariablesNeededFixing, domain::Tags::Mesh< 3 > > |
Static Public Member Functions | |
| static bool | apply (const Scalar< DataVector > &tilde_d, const Scalar< DataVector > &tilde_tau, bool vars_needed_fixing, const Mesh< 3 > &dg_mesh, double persson_exponent) noexcept |
The troubled-cell indicator run on the FD grid to check if the corresponding DG solution is admissible.
The following checks are done in the order they are listed:
grmhd::ValenciaDivClean::Tags::VariablesNeededFixing is true then we remain on FD. (Note: this could be relaxed in the future if we need to allow switching from FD to DG in the atmosphere and the current approach isn't working.)