SpECTRE  v2024.03.19
grmhd::GhValenciaDivClean::subcell::NeighborPackagedData Struct Reference

On elements using DG, reconstructs the interface data from a neighboring element doing subcell. More...

#include <NeighborPackagedData.hpp>

Static Public Member Functions

static DirectionalIdMap< 3, DataVectorapply (const db::Access &box, const std::vector< DirectionalId< 3 > > &mortars_to_reconstruct_to)
 

Detailed Description

On elements using DG, reconstructs the interface data from a neighboring element doing subcell.

The neighbor's packaged data needed by the boundary correction is computed and returned so that it can be used for solving the Riemann problem on the interfaces.

Note that for strict conservation the Riemann solve should be done on the subcells, with the correction being projected back to the DG interface. However, in practice such strict conservation doesn't seem to be necessary and can be explained by that we only need strict conservation at shocks, and if one element is doing DG, then we aren't at a shock.

Developer note: For performance reasons We should consider storing the mesh velocity on the faces instead of re-slicing/projecting.


The documentation for this struct was generated from the following file: