12#ifndef ARCANE_CORE_ITEMFLAGS_H
13#define ARCANE_CORE_ITEMFLAGS_H
34 using FlagType =
Int32;
73 static const int II_InterfaceFlags = II_Boundary + II_HasFrontCell + II_HasBackCell +
74 II_FrontCellIsFirst + II_BackCellIsFirst;
76 static constexpr bool isOwn(FlagType f) {
return (f & II_Own) != 0; }
77 static constexpr bool isShared(FlagType f) {
return (f & II_Shared) != 0; }
78 static constexpr bool isBoundary(FlagType f) {
return (f & II_Boundary) != 0; }
79 static constexpr bool isSubDomainBoundary(FlagType f) {
return (f & II_Boundary) != 0; }
80 static constexpr bool hasBackCell(FlagType f) {
return (f & II_HasBackCell) != 0; }
81 static constexpr bool isSubDomainBoundaryOutside(FlagType f)
83 return isSubDomainBoundary(f) && hasBackCell(f);
Fichier de configuration d'Arcane.
Flags pour les caractéristiques des entités.
@ II_FrontCellIsFirst
La première maille de l'entité est la maille devant.
@ II_NeedRemove
L'entité doit être supprimé
@ II_MasterFace
L'entité est une face maître d'une interface.
@ II_Inactive
L'entité est inactive //COARSEN_INACTIVE,.
@ II_Refine
L'entité est marquée pour raffinement.
@ II_JustAdded
L'entité vient d'être ajoutée.
@ II_Shared
L'entité est partagée par un autre sous-domaine.
@ II_HasBackCell
L'entité a une maille derrière.
@ II_SubDomainBoundary
L'entité est à la frontière de deux sous-domaines.
@ II_JustRefined
L'entité vient d'être raffinée.
@ II_Own
L'entité est une entité propre au sous-domaine.
@ II_Suppressed
L'entité vient d'être supprimée.
@ II_Detached
L'entité est détachée du maillage.
@ II_Boundary
L'entité est sur la frontière.
@ II_HasTrace
L'entité est marquée pour trace (pour débug)
@ II_Added
L'entité vient d'être ajoutée.
@ II_SlaveFace
L'entité est une face esclave d'une interface.
@ II_CoarsenInactive
L'entité est inactive et a des enfants tagués pour déraffinement.
@ II_UserMark2
Marque utilisateur old_value 1<<25.
@ II_HasFrontCell
L'entité a une maille devant.
@ II_DoNothing
L'entité est bloquée.
@ II_BackCellIsFirst
La première maille de l'entité est la maille derrière.
@ II_Coarsen
L'entité est marquée pour déraffinement.
@ II_JustCoarsened
L'entité vient d'être déraffiné
@ II_UserMark1
Marque utilisateur old_value 1<<24.
static constexpr Int32 backCellIndex(FlagType f)
Index dans la face la maille derrière.
static constexpr Int32 frontCellIndex(FlagType f)
Index dans la face la maille devant.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
std::int32_t Int32
Type entier signé sur 32 bits.