Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::SimdItem Class Reference

Manages a vector of Item entities. More...

#include <arcane/core/SimdItem.h>

Public Member Functions

 SimdItem (const ItemInternalPtr *items, const SimdInfo::SimdInt32IndexType *ids)
Item item (Int32 si) const
 inline si-th entity of the instance
Item operator[] (Int32 si) const
 inline si-th entity of the instance
Public Member Functions inherited from Arcane::SimdItemBase
 SimdItemBase (const ItemInternalPtr *items, const SimdIndexType *ids)
 Constructs an instance.
ItemInternalitem (Integer si) const
 Internal part (for internal use only).
ItemInternaloperator[] (Integer si) const
const SimdIndexType &ARCANE_RESTRICT simdLocalIds () const
 List of local IDs of the instance entities.
const Int32 *ARCANE_RESTRICT localIds () const
 List of local IDs of the instance entities.
Int32 localId (Int32 index) const
 Local ID of the entity at index index.

Protected Member Functions

 SimdItem (ItemSharedInfo *shared_info, const SimdInfo::SimdInt32IndexType *ids)
Protected Member Functions inherited from Arcane::SimdItemBase
 SimdItemBase (ItemSharedInfo *shared_info, const SimdIndexType *ids)

Additional Inherited Members

Public Types inherited from Arcane::SimdItemBase
typedef SimdInfo::SimdInt32IndexType SimdIndexType
Protected Types inherited from Arcane::SimdItemBase
typedef ItemInternalItemInternalPtr
Protected Attributes inherited from Arcane::SimdItemBase
SimdIndexType m_simd_local_ids
ItemSharedInfom_shared_info = ItemSharedInfo::nullInstance()

Detailed Description

Manages a vector of Item entities.

Definition at line 237 of file SimdItem.h.

Constructor & Destructor Documentation

◆ SimdItem() [1/2]

Arcane::SimdItem::SimdItem ( const ItemInternalPtr * items,
const SimdInfo::SimdInt32IndexType * ids )
inline

Definition at line 243 of file SimdItem.h.

◆ SimdItem() [2/2]

Arcane::SimdItem::SimdItem ( ItemSharedInfo * shared_info,
const SimdInfo::SimdInt32IndexType * ids )
inlineprotected

Definition at line 249 of file SimdItem.h.

Member Function Documentation

◆ item()

Item Arcane::SimdItem::item ( Int32 si) const
inline

inline si-th entity of the instance

Definition at line 256 of file SimdItem.h.

References Arcane::SimdItemBase::localId().

◆ operator[]()

Item Arcane::SimdItem::operator[] ( Int32 si) const
inline

inline si-th entity of the instance

Definition at line 259 of file SimdItem.h.

References Arcane::SimdItemBase::localId().


The documentation for this class was generated from the following file: