File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
arcane/src/arcane/core/materials Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ class ARCANE_CORE_EXPORT ComponentCell
8484 IMeshComponent* component () const { return m_shared_info->_component (m_constituent_item_index); }
8585
8686 // ! Identifiant du composant dans la liste des composants de ce type.
87- Int32 componentId () const { return m_shared_info->_componentId (m_constituent_item_index); }
87+ ARCCORE_HOST_DEVICE Int32 componentId () const { return m_shared_info->_componentId (m_constituent_item_index); }
8888
8989 // ! Indique s'il s'agit de la maille nulle
9090 bool null () const { return m_constituent_item_index.isNull (); }
@@ -93,10 +93,10 @@ class ARCANE_CORE_EXPORT ComponentCell
9393 ComponentCell superCell () const { return ComponentCell (_superItemBase ()); }
9494
9595 // ! Niveau hiérarchique de l'entité
96- Int32 level () const { return m_shared_info->m_level ; }
96+ ARCCORE_HOST_DEVICE Int32 level () const { return m_shared_info->m_level ; }
9797
9898 // ! Nombre de sous-éléments
99- Int32 nbSubItem () const { return m_shared_info->_nbSubConstituent (m_constituent_item_index); }
99+ ARCCORE_HOST_DEVICE Int32 nbSubItem () const { return m_shared_info->_nbSubConstituent (m_constituent_item_index); }
100100
101101 // ! Maille arcane
102102 Cell globalCell () const
@@ -137,7 +137,7 @@ class ARCANE_CORE_EXPORT ComponentCell
137137 {
138138 return m_shared_info->_superItemBase (m_constituent_item_index);
139139 }
140- ConstituentItemIndex _firstSubConstituentLocalId () const
140+ ARCCORE_HOST_DEVICE ConstituentItemIndex _firstSubConstituentLocalId () const
141141 {
142142 return m_shared_info->_firstSubConstituentLocalId (m_constituent_item_index);
143143 }
You can’t perform that action at this time.
0 commit comments