SpECTRE  v2022.06.14
Burgers::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 (const gsl::not_null< db::DataBox< DbTagsList > * > box, const Element< 1 > &element, const Burgers::fd::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 (see Burgers::subcell::TimeDerivative). Otherwise this function would be never called.

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