SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::discretization::domain::ids Namespace Reference

Namespaces

namespace  lists
 
namespace  validation
 

Classes

struct  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...
 
struct  BoundaryID
 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  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...
 
struct  DomainID
 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...
 

Concepts

concept  IsDomainID
 Concept for types that are domain IDs in the discretization framework. To be a domain ID a type must satisfy the is_domain_id_v trait.
 
concept  IsBoundaryID
 Concept for types that are boundary IDs in the discretization framework. To be a boundary ID a type must satisfy the is_boundary_id_v trait.
 

Variables

template<typename T>
constexpr bool is_domain_id_v = false
 Trait to determine if a type is a domain ID. Defaults to false for all types.
 
template<IsDomain DomainT, int IdentifierValue>
constexpr bool is_domain_id_v< DomainID< DomainT, IdentifierValue > > = true
 Trait to determine if a type is a domain ID. Specialization which is true for valid DomainID types.
 
template<typename T>
constexpr bool is_boundary_id_v = false
 Trait to determine if a type is a boundary ID. Defaults to false for all types.
 
template<IsBoundary BoundaryT, int IdentifierValue>
constexpr bool is_boundary_id_v< BoundaryID< BoundaryT, IdentifierValue > > = true
 Trait to determine if a type is a boundary ID. Specialization which is true for valid BoundaryID types.
 

Variable Documentation

◆ is_boundary_id_v

template<typename T>
bool serif::discretization::domain::ids::is_boundary_id_v = false
constexpr

Trait to determine if a type is a boundary ID. Defaults to false for all types.

Template Parameters
TThe type to check.

◆ is_boundary_id_v< BoundaryID< BoundaryT, IdentifierValue > >

template<IsBoundary BoundaryT, int IdentifierValue>
bool serif::discretization::domain::ids::is_boundary_id_v< BoundaryID< BoundaryT, IdentifierValue > > = true
constexpr

Trait to determine if a type is a boundary ID. Specialization which is true for valid BoundaryID types.

Template Parameters
TThe type to check.

◆ is_domain_id_v

template<typename T>
bool serif::discretization::domain::ids::is_domain_id_v = false
constexpr

Trait to determine if a type is a domain ID. Defaults to false for all types.

Template Parameters
TThe type to check.

◆ is_domain_id_v< DomainID< DomainT, IdentifierValue > >

template<IsDomain DomainT, int IdentifierValue>
bool serif::discretization::domain::ids::is_domain_id_v< DomainID< DomainT, IdentifierValue > > = true
constexpr

Trait to determine if a type is a domain ID. Specialization which is true for valid DomainID types.

Template Parameters
TThe type to check.