Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::Materials::ConstituentItemSharedInfo Class Reference

Shared information about 'ComponentItem'. More...

#include <arcane/core/materials/ConstituentItemSharedInfo.h>

Inheritance diagram for Arcane::Materials::ConstituentItemSharedInfo:
Collaboration diagram for Arcane::Materials::ConstituentItemSharedInfo:

Private Member Functions

constexpr matimpl::ConstituentItemBase _item (ConstituentItemIndex id)
__host__ __device__ ConstituentItemIndex _firstSubConstituentLocalId (ConstituentItemIndex id) const
__host__ __device__ void _setFirstSubConstituentLocalId (ConstituentItemIndex id, ConstituentItemIndex first_id)
__host__ __device__ Int16 _nbSubConstituent (ConstituentItemIndex id) const
__host__ __device__ void _setNbSubConstituent (ConstituentItemIndex id, Int16 n)
__host__ __device__ Int16 _componentId (ConstituentItemIndex id) const
__host__ __device__ void _setComponentId (ConstituentItemIndex id, Int16 component_id)
IMeshComponent_component (ConstituentItemIndex id) const
impl::ItemBase _globalItemBase (ConstituentItemIndex id) const
__host__ __device__ Int32 _globalItemId (ConstituentItemIndex id) const
__host__ __device__ void _setGlobalItem (ConstituentItemIndex id, ItemLocalId global_item_lid)
__host__ __device__ matimpl::ConstituentItemBase _superItemBase (ConstituentItemIndex id) const
__host__ __device__ void _setSuperItem (ConstituentItemIndex id, ConstituentItemIndex super_id)
__host__ __device__ matimpl::ConstituentItemBase _subItemBase (ConstituentItemIndex id, Int32 sub_index) const
__host__ __device__ MatVarIndex _varIndex (ConstituentItemIndex id)
__host__ __device__ void _setVarIndex (ConstituentItemIndex id, MatVarIndex mv_index)
Int64 _componentUniqueId (ConstituentItemIndex id) const
 Unique ID number of the component entity.
__host__ __device__ void _reset (ConstituentItemIndex id)

Static Private Member Functions

static ComponentItemSharedInfo * _nullInstance ()
static void _setNullInstance ()

Private Attributes

friend ComponentItemInternalData
friend CellComponentCellEnumerator
friend ConstituentItemLocalIdList
friend ConstituentItemLocalIdListView
friend ConstituentItem
friend CellToAllEnvCellConverter
friend AllEnvCellVectorView
friend ConstituentItemVectorImpl
ItemSharedInfom_item_shared_info = ItemSharedInfo::nullInstance()
Int16 m_level = (-1)
ConstArrayView< IMeshComponent * > m_components
ComponentItemSharedInfo * m_super_component_item_shared_info = null_shared_info_pointer
ComponentItemSharedInfo * m_sub_component_item_shared_info = null_shared_info_pointer

Static Private Attributes

static const int MAT_INDEX_OFFSET = 10
static ComponentItemSharedInfo null_shared_info
 For the null entity.
static ComponentItemSharedInfo * null_shared_info_pointer = &ComponentItemSharedInfo::null_shared_info

Detailed Description

Shared information about 'ComponentItem'.

There are 3 instances of this class: one for AllEnvCell, one for EnvCell, and one for MatCell. These instances are managed by the class ComponentItemInternalData. It is possible to keep a pointer to the instances of this class because they are valid throughout the life of a MeshMaterialMng.

Definition at line 116 of file ConstituentItemSharedInfo.h.

Member Function Documentation

◆ _component()

IMeshComponent * Arcane::Materials::ConstituentItemSharedInfo::_component ( ConstituentItemIndex id) const
inlineprivate

Definition at line 173 of file ConstituentItemSharedInfo.h.

◆ _componentId()

__host__ __device__ Int16 Arcane::Materials::ConstituentItemSharedInfo::_componentId ( ConstituentItemIndex id) const
inlineprivate

Definition at line 163 of file ConstituentItemSharedInfo.h.

◆ _componentUniqueId()

Int64 Arcane::Materials::ConstituentItemSharedInfo::_componentUniqueId ( ConstituentItemIndex id) const
inlineprivate

Unique ID number of the component entity.

Definition at line 213 of file ConstituentItemSharedInfo.h.

References Arcane::Materials::ComponentItemSharedInfoStorageView::m_var_index_data, and Arcane::ItemBase::uniqueId().

Here is the call graph for this function:

◆ _firstSubConstituentLocalId()

__host__ __device__ ConstituentItemIndex Arcane::Materials::ConstituentItemSharedInfo::_firstSubConstituentLocalId ( ConstituentItemIndex id) const
inlineprivate

Definition at line 142 of file ConstituentItemSharedInfo.h.

◆ _globalItemBase()

impl::ItemBase Arcane::Materials::ConstituentItemSharedInfo::_globalItemBase ( ConstituentItemIndex id) const
inlineprivate

Definition at line 177 of file ConstituentItemSharedInfo.h.

◆ _globalItemId()

__host__ __device__ Int32 Arcane::Materials::ConstituentItemSharedInfo::_globalItemId ( ConstituentItemIndex id) const
inlineprivate

Definition at line 182 of file ConstituentItemSharedInfo.h.

◆ _item()

matimpl::ConstituentItemBase Arcane::Materials::ComponentItemSharedInfo::_item ( ConstituentItemIndex id)
inlineconstexprprivate

Definition at line 201 of file ConstituentItemBase.h.

◆ _nbSubConstituent()

__host__ __device__ Int16 Arcane::Materials::ConstituentItemSharedInfo::_nbSubConstituent ( ConstituentItemIndex id) const
inlineprivate

Definition at line 153 of file ConstituentItemSharedInfo.h.

◆ _nullInstance()

ComponentItemSharedInfo * Arcane::Materials::ConstituentItemSharedInfo::_nullInstance ( )
inlinestaticprivate

Definition at line 136 of file ConstituentItemSharedInfo.h.

◆ _reset()

__host__ __device__ void Arcane::Materials::ConstituentItemSharedInfo::_reset ( ConstituentItemIndex id)
inlineprivate

Definition at line 220 of file ConstituentItemSharedInfo.h.

◆ _setComponentId()

__host__ __device__ void Arcane::Materials::ConstituentItemSharedInfo::_setComponentId ( ConstituentItemIndex id,
Int16 component_id )
inlineprivate

Definition at line 168 of file ConstituentItemSharedInfo.h.

◆ _setFirstSubConstituentLocalId()

__host__ __device__ void Arcane::Materials::ConstituentItemSharedInfo::_setFirstSubConstituentLocalId ( ConstituentItemIndex id,
ConstituentItemIndex first_id )
inlineprivate

Definition at line 148 of file ConstituentItemSharedInfo.h.

◆ _setGlobalItem()

__host__ __device__ void Arcane::Materials::ConstituentItemSharedInfo::_setGlobalItem ( ConstituentItemIndex id,
ItemLocalId global_item_lid )
inlineprivate

Definition at line 187 of file ConstituentItemSharedInfo.h.

◆ _setNbSubConstituent()

__host__ __device__ void Arcane::Materials::ConstituentItemSharedInfo::_setNbSubConstituent ( ConstituentItemIndex id,
Int16 n )
inlineprivate

Definition at line 158 of file ConstituentItemSharedInfo.h.

◆ _setNullInstance()

void Arcane::Materials::ComponentItemSharedInfo::_setNullInstance ( )
staticprivate

Definition at line 65 of file ComponentItemInternal.cc.

◆ _setSuperItem()

__host__ __device__ void Arcane::Materials::ConstituentItemSharedInfo::_setSuperItem ( ConstituentItemIndex id,
ConstituentItemIndex super_id )
inlineprivate

Definition at line 194 of file ConstituentItemSharedInfo.h.

◆ _setVarIndex()

__host__ __device__ void Arcane::Materials::ConstituentItemSharedInfo::_setVarIndex ( ConstituentItemIndex id,
MatVarIndex mv_index )
inlineprivate

Definition at line 206 of file ConstituentItemSharedInfo.h.

◆ _subItemBase()

__host__ __device__ matimpl::ConstituentItemBase Arcane::Materials::ComponentItemSharedInfo::_subItemBase ( ConstituentItemIndex id,
Int32 sub_index ) const
inlineprivate

Definition at line 215 of file ConstituentItemBase.h.

◆ _superItemBase()

__host__ __device__ matimpl::ConstituentItemBase Arcane::Materials::ComponentItemSharedInfo::_superItemBase ( ConstituentItemIndex id) const
inlineprivate

Definition at line 207 of file ConstituentItemBase.h.

◆ _varIndex()

__host__ __device__ MatVarIndex Arcane::Materials::ConstituentItemSharedInfo::_varIndex ( ConstituentItemIndex id)
inlineprivate

Definition at line 201 of file ConstituentItemSharedInfo.h.

Member Data Documentation

◆ AllEnvCellVectorView

friend Arcane::Materials::ConstituentItemSharedInfo::AllEnvCellVectorView
private

Definition at line 126 of file ConstituentItemSharedInfo.h.

◆ CellComponentCellEnumerator

friend Arcane::Materials::ConstituentItemSharedInfo::CellComponentCellEnumerator
private

Definition at line 120 of file ConstituentItemSharedInfo.h.

◆ CellToAllEnvCellConverter

friend Arcane::Materials::ConstituentItemSharedInfo::CellToAllEnvCellConverter
private

Definition at line 125 of file ConstituentItemSharedInfo.h.

◆ ComponentItemInternalData

friend Arcane::Materials::ConstituentItemSharedInfo::ComponentItemInternalData
private

Definition at line 119 of file ConstituentItemSharedInfo.h.

◆ ConstituentItem

friend Arcane::Materials::ConstituentItemSharedInfo::ConstituentItem
private

Definition at line 124 of file ConstituentItemSharedInfo.h.

◆ ConstituentItemLocalIdList

friend Arcane::Materials::ConstituentItemSharedInfo::ConstituentItemLocalIdList
private

Definition at line 121 of file ConstituentItemSharedInfo.h.

◆ ConstituentItemLocalIdListView

friend Arcane::Materials::ConstituentItemSharedInfo::ConstituentItemLocalIdListView
private

Definition at line 122 of file ConstituentItemSharedInfo.h.

◆ ConstituentItemVectorImpl

friend Arcane::Materials::ConstituentItemSharedInfo::ConstituentItemVectorImpl
private

Definition at line 127 of file ConstituentItemSharedInfo.h.

◆ m_components

ConstArrayView<IMeshComponent*> Arcane::Materials::ConstituentItemSharedInfo::m_components
private

Definition at line 240 of file ConstituentItemSharedInfo.h.

◆ m_item_shared_info

ItemSharedInfo* Arcane::Materials::ConstituentItemSharedInfo::m_item_shared_info = ItemSharedInfo::nullInstance()
private

Definition at line 238 of file ConstituentItemSharedInfo.h.

◆ m_level

Int16 Arcane::Materials::ConstituentItemSharedInfo::m_level = (-1)
private

Definition at line 239 of file ConstituentItemSharedInfo.h.

◆ m_sub_component_item_shared_info

ComponentItemSharedInfo* Arcane::Materials::ConstituentItemSharedInfo::m_sub_component_item_shared_info = null_shared_info_pointer
private

Definition at line 242 of file ConstituentItemSharedInfo.h.

◆ m_super_component_item_shared_info

ComponentItemSharedInfo* Arcane::Materials::ConstituentItemSharedInfo::m_super_component_item_shared_info = null_shared_info_pointer
private

Definition at line 241 of file ConstituentItemSharedInfo.h.

◆ MAT_INDEX_OFFSET

const int Arcane::Materials::ConstituentItemSharedInfo::MAT_INDEX_OFFSET = 10
staticprivate

Definition at line 129 of file ConstituentItemSharedInfo.h.

◆ null_shared_info

ComponentItemSharedInfo Arcane::Materials::ComponentItemSharedInfo::null_shared_info
staticprivate

For the null entity.

Definition at line 134 of file ConstituentItemSharedInfo.h.

◆ null_shared_info_pointer

ComponentItemSharedInfo * Arcane::Materials::ComponentItemSharedInfo::null_shared_info_pointer = &ComponentItemSharedInfo::null_shared_info
staticprivate

Definition at line 135 of file ConstituentItemSharedInfo.h.


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