Flags for entity characteristics. More...
#include <arcane/core/ItemFlags.h>
Public Types | |
| enum | : FlagType { II_Boundary = 1 << 1 , II_HasFrontCell = 1 << 2 , II_HasBackCell = 1 << 3 , II_FrontCellIsFirst = 1 << 4 , II_BackCellIsFirst = 1 << 5 , II_Own = 1 << 6 , II_Added = 1 << 7 , II_Suppressed = 1 << 8 , II_Shared = 1 << 9 , II_SubDomainBoundary = 1 << 10 , II_JustAdded = 1 << 12 , II_NeedRemove = 1 << 13 , II_SlaveFace = 1 << 14 , II_MasterFace = 1 << 15 , II_Detached = 1 << 16 , II_HasEdgeFor1DItems = 1 << 17 , II_Coarsen = 1 << 18 , II_DoNothing = 1 << 19 , II_Refine = 1 << 20 , II_JustRefined = 1 << 21 , II_JustCoarsened = 1 << 22 , II_Inactive = 1 << 23 , II_CoarsenInactive = 1 << 24 , II_Overlap = 1 << 25 , II_InPatch = 1 << 26 , II_UserMark1 = 1 << 30 , II_UserMark2 = 1 << 31 } |
| using | FlagType = Int32 |
Static Public Member Functions | |
| static constexpr bool | isOwn (FlagType f) |
| static constexpr bool | isShared (FlagType f) |
| static constexpr bool | isBoundary (FlagType f) |
| static constexpr bool | isSubDomainBoundary (FlagType f) |
| static constexpr bool | hasBackCell (FlagType f) |
| static constexpr bool | isSubDomainBoundaryOutside (FlagType f) |
| 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. | |
Static Public Attributes | |
| static const int | II_InterfaceFlags |
Flags for entity characteristics.
These flags allow storing information about entities (Item). They are reserved for Arcane and must not be used outside of Arcane. The only exception concerns the values ItemFlags::II_UserMark1 and ItemFlags::II_UserMark2. They can be associated with entities via the methods MutableItemBase::addFlags(), MutableItemBase::removeFlags() or ItemBase::hasFlags().
Definition at line 38 of file ItemFlags.h.
| using Arcane::ItemFlags::FlagType = Int32 |
Definition at line 42 of file ItemFlags.h.
| anonymous enum : FlagType |
Definition at line 49 of file ItemFlags.h.
|
inlinestaticconstexpr |
Index in the face for the back cell.
| -1 | if there is no cell behind. |
| 0 | or 1 for the index of the back cell. |
If the index is positive, it is possible to retrieve the back cell via Face::cell(ItemFlags::backCellIndex(f)).
Definition at line 120 of file ItemFlags.h.
References II_BackCellIsFirst, and II_HasBackCell.
|
inlinestaticconstexpr |
Index in the face for the front cell.
| -1 | if there is no cell in front. |
| 0 | or 1 for the index of the front cell. |
If the index is positive, it is possible to retrieve the front cell via Face::cell(ItemFlags::frontCellIndex(f)).
Definition at line 136 of file ItemFlags.h.
References II_FrontCellIsFirst, and II_HasFrontCell.
|
inlinestaticconstexpr |
Definition at line 105 of file ItemFlags.h.
|
inlinestaticconstexpr |
Definition at line 103 of file ItemFlags.h.
|
inlinestaticconstexpr |
Definition at line 101 of file ItemFlags.h.
|
inlinestaticconstexpr |
Definition at line 102 of file ItemFlags.h.
|
inlinestaticconstexpr |
Definition at line 104 of file ItemFlags.h.
|
inlinestaticconstexpr |
Definition at line 106 of file ItemFlags.h.
|
static |
Definition at line 98 of file ItemFlags.h.