Internal shared structure of a mesh entity. More...
#include <arcane/core/ItemSharedInfo.h>
Public Member Functions | |
| eItemKind | itemKind () const |
| IItemFamily * | itemFamily () const |
| Int32 | nbParent () const |
| ItemTypeInfo * | typeInfoFromId (Int32 type_id) const |
| constexpr Int32 | nbNode () const |
| constexpr Int32 | nbEdge () const |
| constexpr Int32 | nbFace () const |
| constexpr Int32 | nbCell () const |
| constexpr Int32 | nbHParent () const |
| constexpr Int32 | nbHChildren () const |
| Int32 | typeId () const |
| Int32 | firstNode () const |
| Int32 | firstEdge () const |
| Int32 | firstFace () const |
| Int32 | firstCell () const |
| Int32 | firstParent () const |
| Int32 | firstHParent () const |
| Int32 | firstHChild () const |
| constexpr Int32 | neededMemory () const |
| constexpr Int32 | minimumNeededMemory () const |
| constexpr bool | hasLegacyConnectivity () const |
| void | updateMeshItemInternalList () |
| void | print (std::ostream &o) const |
| ItemInternalVectorView | nodes (Int32) const |
| ItemInternalVectorView | edges (Int32) const |
| ItemInternalVectorView | faces (Int32) const |
| ItemInternalVectorView | cells (Int32) const |
| ItemInternalVectorView | hChildren (Int32) const |
| ItemInternal * | parent (Integer, Integer) const |
| ItemInternal * | node (Int32, Int32) const |
| ItemInternal * | edge (Int32, Int32) const |
| ItemInternal * | face (Int32, Int32) const |
| ItemInternal * | cell (Int32, Int32) const |
| ItemInternal * | hParent (Integer, Integer) const |
| ItemInternal * | hChild (Int32, Int32) const |
| Int32 | nodeLocalId (Int32, Int32) const |
| Int32 | edgeLocalId (Int32, Int32) const |
| Int32 | faceLocalId (Int32, Int32) const |
| Int32 | cellLocalId (Int32, Int32) const |
| Integer | parentLocalId (Integer, Integer) const |
| Int32 | hParentLocalId (Integer, Integer) const |
| Int32 | hChildLocalId (Integer, Integer) const |
| void | setNode (Int32, Int32, Int32) const |
| void | setEdge (Int32, Int32, Int32) const |
| void | setFace (Int32, Int32, Int32) const |
| void | setCell (Int32, Int32, Int32) const |
| void | setHParent (Int32, Int32, Int32) const |
| void | setHChild (Int32, Int32, Int32) const |
| void | setParent (Integer, Integer, Integer) const |
| constexpr Int32 | edgeAllocated () const |
| constexpr Int32 | faceAllocated () const |
| constexpr Int32 | cellAllocated () const |
| constexpr Int32 | hParentAllocated () const |
| constexpr Int32 | hChildAllocated () const |
| const Int32 * | _infos () const |
| void | _setInfos (Int32 *ptr) |
| Int32 | owner (Int32) const |
| void | setOwner (Int32, Int32) const |
| Int32 | flags (Int32) const |
| void | setFlags (Int32, Int32) const |
Static Public Member Functions | |
| static ItemSharedInfo * | nullInstance () |
Static Public Attributes | |
| static const Int32 | NULL_INDEX = static_cast<Int32>(-1) |
| static ItemSharedInfo | nullItemSharedInfo |
| For the null entity. | |
| static const Int32 | COMMON_BASE_MEMORY = 0 |
Private Member Functions | |
| ItemSharedInfo (IItemFamily *family, MeshItemInternalList *items, ItemInternalConnectivityList *connectivity) | |
| ItemInternal * | _parentV2 (Int32 local_id, Integer aindex) const |
| Int32 | _parentLocalIdV2 (Int32 local_id, Integer aindex) const |
| void | _setParentV2 (Int32 local_id, Integer aindex, Int32 parent_local_id) |
| Int32 * | _parentPtr (Int32 local_id) |
| constexpr Int32 | _ownerV2 (Int32 local_id) const |
| void | _setOwnerV2 (Int32 local_id, Int32 aowner) |
| constexpr Int32 | _flagsV2 (Int32 local_id) const |
| void | _setFlagsV2 (Int32 local_id, Int32 f) |
| constexpr Int16 | _typeId (Int32 local_id) const |
| void | _setTypeId (Int32 local_id, Int16 v) |
| void | _init (eItemKind ik) |
| ItemInternal * | _parent (Int32 id) const |
| Non-optimized but robust version of accessing the parent ItemInternalArrayView. | |
Private Attributes | |
| MeshItemInternalList * | m_items = nullptr |
| ItemInternalConnectivityList * | m_connectivity |
| IItemFamily * | m_item_family = nullptr |
| ItemTypeMng * | m_item_type_mng = nullptr |
| Int64ArrayView | m_unique_ids |
| Int32ArrayView | m_parent_item_ids |
| Int32ArrayView | m_owners |
| Int32ArrayView | m_flags |
| Int16ArrayView | m_type_ids |
| eItemKind | m_item_kind = IK_Unknown |
| Int32 | m_nb_parent = 0 |
| ConstArrayView< ItemInternal * > | m_items_internal |
| ItemInternal of entities. | |
Static Private Attributes | |
| static ItemSharedInfo * | nullItemSharedInfoPointer = &ItemSharedInfo::nullItemSharedInfo |
Friends | |
| class | ItemBase |
| class | MutableItemBase |
| class | Item |
| class | ItemGenericInfoListView |
| class | ItemInternal |
| class | ItemInfoListView |
| class | mesh::ItemFamily |
| class | mesh::DynamicMeshKindInfos |
| class | mesh::ItemSharedInfoWithType |
| class | ItemInternalVectorView |
| class | ItemVectorViewConstIterator |
| class | ItemConnectedListViewConstIterator |
| class | ItemVectorView |
| class | ItemEnumeratorBase |
| class | ItemInternalCompatibility |
| class | SimdItemBase |
| class | SimdItemEnumeratorBase |
| template<int Extent> | |
| class | ItemConnectedListView |
Internal shared structure of a mesh entity.
This class holds common information for multiple entities.
Since an instance of this class is shared by multiple entities, it should not be modified directly. It is up to the implementation (Mesh) to provide a mechanism managing instances of this class.
Definition at line 55 of file ItemSharedInfo.h.
| Arcane::ItemSharedInfo::ItemSharedInfo | ( | ) |
Definition at line 65 of file ItemSharedInfo.cc.
|
private |
Definition at line 80 of file ItemSharedInfo.cc.
Definition at line 298 of file ItemSharedInfo.h.
|
inline |
Definition at line 260 of file ItemSharedInfo.h.
|
private |
Definition at line 107 of file ItemSharedInfo.cc.
Definition at line 296 of file ItemSharedInfo.h.
|
private |
Non-optimized but robust version of accessing the parent ItemInternalArrayView.
Definition at line 122 of file ItemSharedInfo.cc.
|
inlineprivate |
Definition at line 185 of file ItemSharedInfo.h.
Definition at line 224 of file ItemSharedInfo.cc.
|
inlineprivate |
Definition at line 179 of file ItemSharedInfo.h.
Definition at line 299 of file ItemSharedInfo.h.
| void Arcane::ItemSharedInfo::_setInfos | ( | Int32 * | ptr | ) |
Definition at line 205 of file ItemSharedInfo.cc.
Definition at line 297 of file ItemSharedInfo.h.
|
private |
Definition at line 214 of file ItemSharedInfo.cc.
Definition at line 302 of file ItemSharedInfo.h.
Definition at line 301 of file ItemSharedInfo.h.
Definition at line 203 of file ItemSharedInfo.h.
|
inlineconstexpr |
Definition at line 251 of file ItemSharedInfo.h.
Definition at line 218 of file ItemSharedInfo.h.
| ItemInternalVectorView Arcane::ItemSharedInfo::cells | ( | Int32 | ) | const |
Definition at line 270 of file ItemSharedInfo.cc.
Definition at line 199 of file ItemSharedInfo.h.
|
inlineconstexpr |
Definition at line 247 of file ItemSharedInfo.h.
Definition at line 214 of file ItemSharedInfo.h.
| ItemInternalVectorView Arcane::ItemSharedInfo::edges | ( | Int32 | ) | const |
Definition at line 258 of file ItemSharedInfo.cc.
Definition at line 201 of file ItemSharedInfo.h.
|
inlineconstexpr |
Definition at line 249 of file ItemSharedInfo.h.
Definition at line 216 of file ItemSharedInfo.h.
| ItemInternalVectorView Arcane::ItemSharedInfo::faces | ( | Int32 | ) | const |
Definition at line 264 of file ItemSharedInfo.cc.
|
inline |
Definition at line 134 of file ItemSharedInfo.h.
|
inline |
Definition at line 130 of file ItemSharedInfo.h.
|
inline |
Definition at line 132 of file ItemSharedInfo.h.
|
inline |
Definition at line 140 of file ItemSharedInfo.h.
|
inline |
Definition at line 138 of file ItemSharedInfo.h.
|
inline |
Definition at line 128 of file ItemSharedInfo.h.
|
inline |
Definition at line 136 of file ItemSharedInfo.h.
Definition at line 193 of file ItemSharedInfo.cc.
|
inlineconstexpr |
Definition at line 147 of file ItemSharedInfo.h.
Definition at line 207 of file ItemSharedInfo.h.
|
inlineconstexpr |
Definition at line 255 of file ItemSharedInfo.h.
Definition at line 224 of file ItemSharedInfo.h.
| ItemInternalVectorView Arcane::ItemSharedInfo::hChildren | ( | Int32 | ) | const |
Definition at line 276 of file ItemSharedInfo.cc.
Definition at line 205 of file ItemSharedInfo.h.
|
inlineconstexpr |
Definition at line 253 of file ItemSharedInfo.h.
Definition at line 222 of file ItemSharedInfo.h.
|
inline |
Definition at line 107 of file ItemSharedInfo.h.
|
inline |
Definition at line 106 of file ItemSharedInfo.h.
|
inlineconstexpr |
Definition at line 145 of file ItemSharedInfo.h.
|
inlineconstexpr |
Definition at line 118 of file ItemSharedInfo.h.
|
inlineconstexpr |
Definition at line 114 of file ItemSharedInfo.h.
|
inlineconstexpr |
Definition at line 116 of file ItemSharedInfo.h.
|
inlineconstexpr |
Definition at line 122 of file ItemSharedInfo.h.
|
inlineconstexpr |
Definition at line 120 of file ItemSharedInfo.h.
|
inlineconstexpr |
Definition at line 112 of file ItemSharedInfo.h.
|
inline |
Definition at line 108 of file ItemSharedInfo.h.
|
inlineconstexpr |
Definition at line 143 of file ItemSharedInfo.h.
Definition at line 197 of file ItemSharedInfo.h.
Definition at line 212 of file ItemSharedInfo.h.
| ItemInternalVectorView Arcane::ItemSharedInfo::nodes | ( | Int32 | ) | const |
Definition at line 252 of file ItemSharedInfo.cc.
|
inlinestatic |
Definition at line 92 of file ItemSharedInfo.h.
Definition at line 181 of file ItemSharedInfo.cc.
Definition at line 169 of file ItemSharedInfo.cc.
Definition at line 220 of file ItemSharedInfo.h.
| void Arcane::ItemSharedInfo::print | ( | std::ostream & | o | ) | const |
Definition at line 94 of file ItemSharedInfo.cc.
Definition at line 151 of file ItemSharedInfo.cc.
Definition at line 139 of file ItemSharedInfo.cc.
Definition at line 145 of file ItemSharedInfo.cc.
Definition at line 199 of file ItemSharedInfo.cc.
Definition at line 163 of file ItemSharedInfo.cc.
Definition at line 157 of file ItemSharedInfo.cc.
Definition at line 133 of file ItemSharedInfo.cc.
Definition at line 187 of file ItemSharedInfo.cc.
Definition at line 175 of file ItemSharedInfo.cc.
| Int32 Arcane::ItemSharedInfo::typeId | ( | ) | const |
Definition at line 243 of file ItemSharedInfo.cc.
| ItemTypeInfo * Arcane::ItemSharedInfo::typeInfoFromId | ( | Int32 | type_id | ) | const |
Definition at line 234 of file ItemSharedInfo.cc.
| void Arcane::ItemSharedInfo::updateMeshItemInternalList | ( | ) |
Definition at line 285 of file ItemSharedInfo.cc.
|
friend |
Definition at line 59 of file ItemSharedInfo.h.
|
friend |
Definition at line 57 of file ItemSharedInfo.h.
|
friend |
Definition at line 74 of file ItemSharedInfo.h.
|
friend |
Definition at line 68 of file ItemSharedInfo.h.
|
friend |
Definition at line 70 of file ItemSharedInfo.h.
|
friend |
Definition at line 60 of file ItemSharedInfo.h.
|
friend |
Definition at line 62 of file ItemSharedInfo.h.
|
friend |
Definition at line 61 of file ItemSharedInfo.h.
|
friend |
Definition at line 71 of file ItemSharedInfo.h.
|
friend |
Definition at line 66 of file ItemSharedInfo.h.
|
friend |
Definition at line 69 of file ItemSharedInfo.h.
|
friend |
Definition at line 67 of file ItemSharedInfo.h.
|
friend |
Definition at line 64 of file ItemSharedInfo.h.
|
friend |
Definition at line 63 of file ItemSharedInfo.h.
|
friend |
Definition at line 65 of file ItemSharedInfo.h.
|
friend |
Definition at line 58 of file ItemSharedInfo.h.
|
friend |
Definition at line 72 of file ItemSharedInfo.h.
|
friend |
Definition at line 73 of file ItemSharedInfo.h.
|
static |
Definition at line 308 of file ItemSharedInfo.h.
|
private |
Definition at line 271 of file ItemSharedInfo.h.
|
private |
Definition at line 277 of file ItemSharedInfo.h.
|
private |
Definition at line 272 of file ItemSharedInfo.h.
|
private |
Definition at line 279 of file ItemSharedInfo.h.
|
private |
Definition at line 273 of file ItemSharedInfo.h.
|
private |
Definition at line 270 of file ItemSharedInfo.h.
|
private |
ItemInternal of entities.
Definition at line 281 of file ItemSharedInfo.h.
|
private |
Definition at line 280 of file ItemSharedInfo.h.
|
private |
Definition at line 276 of file ItemSharedInfo.h.
|
private |
Definition at line 275 of file ItemSharedInfo.h.
|
private |
Definition at line 278 of file ItemSharedInfo.h.
|
private |
Definition at line 274 of file ItemSharedInfo.h.
Definition at line 78 of file ItemSharedInfo.h.
|
static |
For the null entity.
Definition at line 84 of file ItemSharedInfo.h.
|
staticprivate |
Definition at line 88 of file ItemSharedInfo.h.