SpECTRE  v2024.04.12
Burgers::fd::BoundaryConditionGhostData Struct Reference

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

#include <BoundaryConditionGhostData.hpp>

Public Member Functions

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

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 files: