12#ifndef ARCANE_CORE_ITEMFLAGS_H
13#define ARCANE_CORE_ITEMFLAGS_H
42 using FlagType =
Int32;
73 II_HasEdgeFor1DItems = 1 << 17,
98 static const int II_InterfaceFlags = II_Boundary + II_HasFrontCell + II_HasBackCell +
99 II_FrontCellIsFirst + II_BackCellIsFirst;
101 static constexpr bool isOwn(FlagType f) {
return (f & II_Own) != 0; }
102 static constexpr bool isShared(FlagType f) {
return (f & II_Shared) != 0; }
103 static constexpr bool isBoundary(FlagType f) {
return (f & II_Boundary) != 0; }
104 static constexpr bool isSubDomainBoundary(FlagType f) {
return (f & II_Boundary) != 0; }
105 static constexpr bool hasBackCell(FlagType f) {
return (f & II_HasBackCell) != 0; }
106 static constexpr bool isSubDomainBoundaryOutside(FlagType f)
108 return isSubDomainBoundary(f) && hasBackCell(f);
Arcane configuration file.
Flags for entity characteristics.
@ II_FrontCellIsFirst
The first cell of the entity is the front cell.
@ II_NeedRemove
The entity must be removed.
@ II_MasterFace
The entity is a master face of an interface.
@ II_Inactive
The entity is inactive //COARSEN_INACTIVE,.
@ II_Refine
The entity is marked for refinement.
@ II_Overlap
[AMR Patch] The entity is marked as overlapping with at least one AMR patch.
@ II_JustAdded
The entity has just been added.
@ II_InPatch
[AMR Patch] The entity is marked as being in an AMR patch.
@ II_Shared
The entity is shared by another subdomain.
@ II_HasBackCell
The entity has a back cell.
@ II_SubDomainBoundary
The entity is at the boundary of two subdomains.
@ II_JustRefined
The entity has just been refined.
@ II_Own
The entity is a domain-specific entity.
@ II_Suppressed
The entity has just been suppressed.
@ II_Detached
The entity is detached from the mesh.
@ II_Boundary
The entity is on the boundary.
@ II_Added
The entity has just been added.
@ II_SlaveFace
The entity is a slave face of an interface.
@ II_CoarsenInactive
The entity is inactive and has children tagged for coarsening.
@ II_HasFrontCell
The entity has a front cell.
@ II_DoNothing
The entity is blocked.
@ II_BackCellIsFirst
The first cell of the entity is the back cell.
@ II_Coarsen
The entity is marked for coarsening.
@ II_JustCoarsened
The entity has just been coarsened.
static constexpr Int32 backCellIndex(FlagType f)
Index in the face for the back cell.
static constexpr Int32 frontCellIndex(FlagType f)
Index in the face for the front cell.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
std::int32_t Int32
Signed integer type of 32 bits.