Arcane cell of an environment. More...
#include <arcane/core/materials/MatItem.h>
Public Member Functions | |
| __host__ __device__ | EnvCell (const matimpl::ConstituentItemBase &item_base) |
| __host__ __device__ | EnvCell (const ComponentCell &item) |
| __host__ __device__ Int32 | nbMaterial () const |
| __host__ __device__ AllEnvCell | allEnvCell () const |
| Cell containing information about all environments. | |
| __host__ __device__ MatCell | cell (Integer i) const |
| i-th material cell of this cell | |
| IMeshEnvironment * | environment () const |
| Associated environment. | |
| __host__ __device__ Int32 | environmentId () const |
| Environment identifier. | |
| __host__ __device__ CellMatCellEnumerator | subMatItems () const |
| Enumerator over the material cells of this cell. | |
| 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. | |
Private Member Functions | |
| IMeshEnvironment * | _environment () const |
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 |
Arcane cell of an environment.
Such a cell contains information about the materials of an environment for a given 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 106 of file core/materials/MatItem.h.
|
inlineexplicit |
Definition at line 111 of file core/materials/MatItem.h.
|
inlineexplicit |
Definition at line 118 of file core/materials/MatItem.h.
|
inlineprivate |
Definition at line 149 of file core/materials/MatItem.h.
|
inline |
Cell containing information about all environments.
Definition at line 214 of file core/materials/MatItem.h.
|
inline |
i-th material cell of this cell
Definition at line 133 of file core/materials/MatItem.h.
Referenced by Arcane::Materials::MeshMaterialMng::checkValid().
|
inline |
Associated environment.
Definition at line 136 of file core/materials/MatItem.h.
|
inline |
Environment identifier.
Definition at line 139 of file core/materials/MatItem.h.
References Arcane::Materials::ConstituentItem::componentId().
Referenced by Arcane::Materials::CellEnvironmentVariableScalarRef< DataType_ >::envValue(), Arcane::Materials::CellMaterialVariableScalarRef< DataType_ >::envValue(), and Arcane::Materials::MeshEnvironment::findEnvCell().
|
inline |
Definition at line 127 of file core/materials/MatItem.h.
|
inline |
Enumerator over the material cells of this cell.
Definition at line 142 of file core/materials/MatItem.h.