SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::discretization::domain::ids::DomainID< DomainT, IdentifierValue > Struct Template Reference

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...

#include <domain.hpp>

Public Types

using domain_type = DomainT
 The semantic domain type associated with this DomainID.
 

Static Public Attributes

static constexpr int ID = IdentifierValue
 The integer attribute value in the mesh file that corresponds to this domain.
 

Detailed Description

template<IsDomain DomainT, int IdentifierValue>
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.

Template Parameters
DomainTThe semantic domain type (must satisfy the IsDomain concept).
IdentifierValueThe integer attribute value in the mesh file that corresponds to this domain.

Member Typedef Documentation

◆ domain_type

template<IsDomain DomainT, int IdentifierValue>
using serif::discretization::domain::ids::DomainID< DomainT, IdentifierValue >::domain_type = DomainT

The semantic domain type associated with this DomainID.

Member Data Documentation

◆ ID

template<IsDomain DomainT, int IdentifierValue>
int serif::discretization::domain::ids::DomainID< DomainT, IdentifierValue >::ID = IdentifierValue
staticconstexpr

The integer attribute value in the mesh file that corresponds to this domain.


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