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

This file defines the DomainID type, which is used to bind a semantic volume (a Domain) to the integer element attribute MFEM stores in the mesh file. More...

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

Classes

struct  serif::discretization::domain::ids::DomainID< DomainT, IdentifierValue >
 The DomainID struct is a compile-time type that associates a semantic domain (a Domain) with an integer attribute in the mesh file. This allows the discretization framework to identify which elements in the mesh correspond to which semantic domains in the simulation. More...
 
struct  serif::discretization::domain::ids::DomainDescriptor
 The DomainDescriptor struct is a runtime representation of a domain, containing its name and integer attribute ID. This is used to project compile-time DomainID 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 DomainID type, which is used to bind a semantic volume (a Domain) to the integer element attribute MFEM stores in the mesh file.

Author
Emily M. Boudreaux

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

DomainID<CoreDomain, 1> coreDomainID;

Read this as "elements with attribute 1 are the core".