SpECTRE  v2024.05.11
grmhd::GhValenciaDivClean::fd::BoundaryConditionGhostData Struct Reference

Computes finite difference ghost data for external boundary conditions. More...

#include <BoundaryConditionGhostData.hpp>

Static Public Member Functions

template<typename DbTagsList >
static void apply (gsl::not_null< db::DataBox< DbTagsList > * > box, const Element< 3 > &element, const Reconstructor &reconstructor)
 

Detailed Description

Computes finite difference ghost data for external boundary conditions.

If the element is at the external boundary, computes FD ghost data with a given boundary condition and stores it into neighbor data with {direction, ElementId::external_boundary_id()} as the mortar_id key.

Note
Subcell needs to be enabled for boundary elements. Otherwise this function would be never called.

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