View of the generic information of an entity family. More...
#include <arcane/core/ItemGenericInfoListView.h>
Public Member Functions | |
| ItemGenericInfoListView (IItemFamily *family) | |
| Constructs a view associated with the family family. | |
| ItemGenericInfoListView (const ItemInfoListView &info_list_view) | |
| IItemFamily * | itemFamily () const |
| Associated family. | |
| constexpr __host__ __device__ Int32 | owner (Int32 local_id) const |
| Owner of the entity with local ID local_id. | |
| constexpr __host__ __device__ Int32 | owner (ItemLocalId local_id) const |
| Owner of the entity with local ID local_id. | |
| constexpr __host__ __device__ Int16 | typeId (Int32 local_id) const |
| Type of the entity with local ID local_id. | |
| constexpr __host__ __device__ Int16 | typeId (ItemLocalId local_id) const |
| Type of the entity with local ID local_id. | |
| __host__ __device__ ItemUniqueId | uniqueId (Int32 local_id) const |
| uniqueId() of the entity with local ID local_id | |
| __host__ __device__ ItemUniqueId | uniqueId (ItemLocalId local_id) const |
| uniqueId() of the entity with local ID local_id | |
| constexpr __host__ __device__ bool | isOwn (Int32 local_id) const |
| Indicates if the entity with local ID local_id belongs to the subdomain. | |
| constexpr __host__ __device__ bool | isOwn (ItemLocalId local_id) const |
| Indicates if the entity with local ID local_id belongs to the subdomain. | |
| constexpr __host__ __device__ bool | isShared (Int32 local_id) const |
| Indicates if the entity with local ID local_id is shared by other subdomains. | |
| constexpr __host__ __device__ bool | isShared (ItemLocalId local_id) const |
| Indicates if the entity with local ID local_id is shared by other subdomains. | |
Private Member Functions | |
| ItemGenericInfoListView (ItemSharedInfo *shared_info) | |
Private Attributes | |
| Int64ArrayView | m_unique_ids |
| Int32ArrayView | m_owners |
| Int32ArrayView | m_flags |
| Int16ArrayView | m_type_ids |
| ItemSharedInfo * | m_item_shared_info = ItemSharedInfo::nullInstance() |
Friends | |
| class | ItemInfoListView |
View of the generic information of an entity family.
Like all views, instances of this class are temporary and should not be kept when the associated family is modified.
Definition at line 40 of file ItemGenericInfoListView.h.
|
explicit |
Constructs a view associated with the family family.
family may be nullptr in which case the instance is not usable for retrieving information about entities
Definition at line 42 of file ItemGenericInfoListView.cc.
|
explicit |
Definition at line 51 of file ItemGenericInfoListView.cc.
|
explicitprivate |
Definition at line 29 of file ItemGenericInfoListView.cc.
|
inlineconstexpr |
Indicates if the entity with local ID local_id belongs to the subdomain.
Definition at line 88 of file ItemGenericInfoListView.h.
Referenced by Arcane::Materials::AcceleratorMeshMaterialSynchronizerImpl::synchronizeMaterialsInCells().
|
inlineconstexpr |
Indicates if the entity with local ID local_id belongs to the subdomain.
Definition at line 94 of file ItemGenericInfoListView.h.
|
inlineconstexpr |
Indicates if the entity with local ID local_id is shared by other subdomains.
Definition at line 100 of file ItemGenericInfoListView.h.
|
inlineconstexpr |
Indicates if the entity with local ID local_id is shared by other subdomains.
Definition at line 106 of file ItemGenericInfoListView.h.
|
inline |
Associated family.
Definition at line 61 of file ItemGenericInfoListView.h.
|
inlineconstexpr |
Owner of the entity with local ID local_id.
Definition at line 64 of file ItemGenericInfoListView.h.
|
inlineconstexpr |
Owner of the entity with local ID local_id.
Definition at line 67 of file ItemGenericInfoListView.h.
|
inlineconstexpr |
Type of the entity with local ID local_id.
Definition at line 70 of file ItemGenericInfoListView.h.
|
inlineconstexpr |
Type of the entity with local ID local_id.
Definition at line 73 of file ItemGenericInfoListView.h.
|
inline |
uniqueId() of the entity with local ID local_id
Definition at line 76 of file ItemGenericInfoListView.h.
Referenced by Arcane::mesh::ItemGroupDynamicMeshObserver::executeReduce(), and Arcane::mesh::ParticleFamilySerializer::serializeItems().
|
inline |
uniqueId() of the entity with local ID local_id
Definition at line 82 of file ItemGenericInfoListView.h.
|
friend |
Definition at line 42 of file ItemGenericInfoListView.h.
|
private |
Definition at line 117 of file ItemGenericInfoListView.h.
|
private |
Definition at line 119 of file ItemGenericInfoListView.h.
|
private |
Definition at line 116 of file ItemGenericInfoListView.h.
|
private |
Definition at line 118 of file ItemGenericInfoListView.h.
|
private |
Definition at line 115 of file ItemGenericInfoListView.h.