SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
boundary.hpp File Reference

This file defines the BoundaryID type, which is used to bind a semantic surface (a Boundary) to the integer boundary attribute MFEM stores in the mesh file. More...

#include <string_view>
#include "serif/discretization/domain/concepts.hpp"
Include dependency graph for boundary.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  serif::discretization::domain::ids::BoundaryID< BoundaryT, IdentifierValue >
 The BoundaryID struct is a compile-time type that associates a semantic boundary (a Boundary) with an integer attribute in the mesh file. This allows the discretization framework to identify which boundary elements in the mesh correspond to which semantic boundaries in the simulation. More...
 
struct  serif::discretization::domain::ids::BoundaryDescriptor
 The BoundaryDescriptor struct is a runtime representation of a boundary, containing its name and integer attribute ID. This is used to project compile-time BoundaryID types into runtime values. More...
 

Namespaces

namespace  serif
 
namespace  serif::discretization
 
namespace  serif::discretization::domain
 
namespace  serif::discretization::domain::ids
 

Detailed Description

This file defines the BoundaryID type, which is used to bind a semantic surface (a Boundary) to the integer boundary attribute MFEM stores in the mesh file.

Author
Emily M. Boudreaux

For example, the following code defines a BoundaryID that associates the StellarSurfaceBoundary with the integer attribute 1 in the mesh file:

BoundaryID<StellarSurfaceBoundary, 1> stellarSurfaceBoundaryID;

Read this as "boundary elements with attribute 1 are the stellar surface".