Represents a material in a multi-material cell. More...
#include <arcane/core/materials/MatItem.h>
Public Member Functions | |
| __host__ __device__ | MatCell (const matimpl::ConstituentItemBase &item_base) |
| __host__ __device__ | MatCell (const ComponentCell &item) |
| __host__ __device__ EnvCell | envCell () const |
| Environment cell to which this material cell belongs. | |
| IMeshMaterial * | material () const |
| Associated material. | |
| IUserMeshMaterial * | userMaterial () const |
| Associated user material. | |
| __host__ __device__ Int32 | materialId () const |
| Material identifier. | |
| Public Member Functions inherited from Arcane::Materials::ConstituentItem | |
| __host__ __device__ | ConstituentItem (const matimpl::ConstituentItemBase &mii) |
| __host__ __device__ | operator ComponentItemLocalId () const |
| Conversion operator to a ComponentItemLocalId. | |
| __host__ __device__ MatVarIndex | _varIndex () const |
| __host__ __device__ matimpl::ConstituentItemBase | constituentItemBase () const |
| IMeshComponent * | component () const |
| Associated constituent. | |
| __host__ __device__ Int32 | componentId () const |
| Component identifier in the list of components of this type. | |
| __host__ __device__ bool | null () const |
| Indicates if it is the null cell. | |
| __host__ __device__ ComponentCell | superCell () const |
| Higher-level cell in the hierarchy. | |
| __host__ __device__ Int32 | level () const |
| Hierarchical level of the entity. | |
| __host__ __device__ Int32 | nbSubItem () const |
| Number of sub-elements. | |
| Cell | globalCell () const |
| Global cell. | |
| __host__ __device__ CellLocalId | globalCellId () const |
| localId() of the global cell | |
| Int64 | componentUniqueId () const |
| Unique number of the constituent entity. | |
| __host__ __device__ CellComponentCellEnumerator | subItems () const |
| List of sub-constituents of this entity. | |
Additional Inherited Members | |
| Protected Member Functions inherited from Arcane::Materials::ConstituentItem | |
| __host__ __device__ matimpl::ConstituentItemBase | _subItemBase (Int32 index) const |
| __host__ __device__ matimpl::ConstituentItemBase | _superItemBase () const |
| __host__ __device__ ConstituentItemIndex | _firstSubConstituentLocalId () const |
| Static Protected Member Functions inherited from Arcane::Materials::ConstituentItem | |
| static __host__ __device__ void | _checkLevel (matimpl::ConstituentItemBase item_base, Int32 expected_level) |
| static void | _badConversion (matimpl::ConstituentItemBase item_base, Int32 level, Int32 expected_level) |
| Protected Attributes inherited from Arcane::Materials::ConstituentItem | |
| ConstituentItemIndex | m_constituent_item_index |
| ComponentItemSharedInfo * | m_shared_info = nullptr |
Represents a material in a multi-material cell.
This object represents a material in a multi-material cell.
There is a special cell, called the null cell, for which null() is true and which represents an invalid cell. In the case of the invalid cell, none of the other class methods should be called, under penalty of causing a crash.
Definition at line 48 of file core/materials/MatItem.h.
|
inline |
Definition at line 53 of file core/materials/MatItem.h.
|
inlineexplicit |
Definition at line 61 of file core/materials/MatItem.h.
|
inline |
Environment cell to which this material cell belongs.
Definition at line 205 of file core/materials/MatItem.h.
|
inline |
Associated material.
Definition at line 74 of file core/materials/MatItem.h.
|
inline |
Material identifier.
Definition at line 80 of file core/materials/MatItem.h.
References Arcane::Materials::ConstituentItem::componentId().
Referenced by Arcane::Materials::CellMaterialVariableScalarRef< DataType_ >::matValue().
|
inline |
Associated user material.
Definition at line 77 of file core/materials/MatItem.h.