|
SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
|
This file defines concepts for domain and boundary IDs in the discretization framework. These are specifically used to validate that a type is a valid DomainID or BoundaryID. More...
#include "serif/discretization/domain/ids/boundary.hpp"#include "serif/discretization/domain/ids/domain.hpp"Namespaces | |
| namespace | serif |
| namespace | serif::discretization |
| namespace | serif::discretization::domain |
| namespace | serif::discretization::domain::ids |
Concepts | |
| concept | serif::discretization::domain::ids::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 | serif::discretization::domain::ids::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 | serif::discretization::domain::ids::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 | serif::discretization::domain::ids::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 | serif::discretization::domain::ids::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 | serif::discretization::domain::ids::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. | |
This file defines concepts for domain and boundary IDs in the discretization framework. These are specifically used to validate that a type is a valid DomainID or BoundaryID.