Classes | Functions
grmhd::ValenciaDivClean::subcell Namespace Reference

Code required by the DG-subcell/FD hybrid solver. More...

Classes

struct  DgInitialDataTci
 The troubled-cell indicator run on DG initial data to see if we need to switch to subcell. More...
 
struct  FixConservativesAndComputePrims
 Fix the conservative variables and compute the primitive variables. More...
 
struct  NeighborPackagedData
 On elements using DG, reconstructs the interface data from a neighboring element doing subcell. More...
 
class  PrimitiveGhostDataOnSubcells
 Computes the rest mass density \(\rho\), pressure \(p\), Lorentz factor times the spatial velocity \(W v^i\), magnetic field \(B^i\), and the divergence cleaning field \(\Phi\) on the subcells so they can be used for reconstruction. More...
 
class  PrimitiveGhostDataToSlice
 Projects the rest mass density \(\rho\), pressure \(p\), Lorentz factor times the spatial velocity \(W v^i\), magnetic field \(B^i\), and the divergence cleaning field \(\Phi\) so they can be projected to the subcells and sent to neighbors for subcell reconstruction. More...
 
struct  PrimsAfterRollback
 Mutator that resizes the primitive variables to the subcell mesh and computes the primitives, but only if evolution::dg::subcell::Tags::DidRollback is true. More...
 
struct  ResizeAndComputePrims
 Mutator that, if the active mesh is subcell, resizes the primitive variables to have the size of the subcell and then computes the primitive variables. More...
 
struct  SwapGrTags
 Swaps the inactive and active GR variables. More...
 
class  TciOnDgGrid
 The troubled-cell indicator run on the DG grid to check if the solution is admissible. More...
 
struct  TciOnFdGrid
 The troubled-cell indicator run on the FD grid to check if the corresponding DG solution is admissible. More...
 
struct  TciOptions
 Class holding options using by the GRMHD-specific parts of the troubled-cell indicator. More...
 
struct  TimeDerivative
 Compute the time derivative on the subcell grid using FD reconstruction. More...
 

Functions

template<typename TagsList >
void compute_fluxes (const gsl::not_null< Variables< TagsList > * > vars) noexcept
 Helper function that calls ComputeFluxes by retrieving the return and argument tags from vars.
 

Detailed Description

Code required by the DG-subcell/FD hybrid solver.