SpECTRE  v2024.04.12
grmhd::ValenciaDivClean::subcell Namespace Reference

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

Classes

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  PrimitiveGhostVariables
 Computes the rest mass density \(\rho\), electron fraction \(Y_e\), temperature \(T\), Lorentz factor times the spatial velocity \(W v^i\), magnetic field \(B^i\), and the divergence cleaning field \(\Phi\) so they can be used for 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  SetInitialRdmpData
 Sets the initial RDMP data. 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)
 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.