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

Base class for a mesh element. More...

#include <arcane/core/Item.h>

Classes

class  Index
 Index of an Item in a variable. More...

Public Types

enum  {
  Unknown = IT_NullType , Vertex = IT_Vertex , Bar2 = IT_Line2 , Tri3 = IT_Triangle3 ,
  Quad4 = IT_Quad4 , Pentagon5 = IT_Pentagon5 , Hexagon6 = IT_Hexagon6 , Tetra = IT_Tetraedron4 ,
  Pyramid = IT_Pyramid5 , Penta = IT_Pentaedron6 , Hexa = IT_Hexaedron8 , Wedge7 = IT_Heptaedron10 ,
  Wedge8 = IT_Octaedron12
}
 Element types. More...
typedef ItemInternalItemInternalPtr
typedef ItemLocalId LocalIdType
 Type of localId().
using ItemBase = impl::ItemBase

Public Member Functions

 Item ()=default
 Creation of a null mesh entity.
 Item (ItemInternal *ainternal)
 Constructs a reference to the internal entity.
constexpr __host__ __device__ Item (const ItemBase &abase)
 Constructs a reference to the abase entity.
 Item (const ItemInternalPtr *internals, Int32 local_id)
 Constructs a reference to the internal entity.
Itemoperator= (ItemInternal *ainternal)
 Copy operator.
constexpr bool null () const
 true if the entity is null (i.e. not connected to the mesh)
constexpr Int32 localId () const
 Local identifier of the entity in the processor subdomain.
constexpr ItemLocalId itemLocalId () const
 Local identifier of the entity in the processor subdomain.
ItemUniqueId uniqueId () const
 Unique identifier across all domains.
Int32 owner () const
 Owner subdomain number of the entity.
Int16 type () const
 Entity type.
ItemTypeId itemTypeId () const
 Entity type.
IItemFamilyitemFamily () const
 Family from which the entity originates.
constexpr eItemKind kind () const
 Entity kind.
constexpr bool isOwn () const
 true if the entity belongs to the subdomain
bool isShared () const
 True if the entity is shared by other subdomains.
ItemWithNodes toItemWithNodes () const
 Converts the entity to the ItemWithNodes kind.
Node toNode () const
 Converts the entity to the Node kind.
Cell toCell () const
 Converts the entity to the Cell kind.
Edge toEdge () const
 Converts the entity to the Edge kind.
Face toFace () const
 Converts the entity to the Face kind.
Particle toParticle () const
 Converts the entity to the Particle kind.
DoF toDoF () const
 Converts the entity to the DoF kind.
Int32 nbParent () const
 Number of parents for submeshes.
Item parent (Int32 i) const
 i-th parent for submeshes
Item parent () const
 first parent for submeshes
constexpr bool isItemWithNodes () const
 true if the entity is of the ItemWithNodes kind.
constexpr bool isNode () const
 true if the entity is of the Node kind.
constexpr bool isCell () const
 true if the entity is of the Cell kind.
constexpr bool isEdge () const
 true if the entity is of the Edge kind.
constexpr bool isFace () const
 true if the entity is of the Face kind.
constexpr bool isParticle () const
 true if the entity is of the Particle kind.
constexpr bool isDoF () const
 true if the entity is of the DoF kind
constexpr bool hasFlags (Int32 flags) const
 Returns if the flags are set for the entity.
constexpr Int32 flags () const
 Entity flags.
ItemInternalinternal () const
 Internal part of the entity.
impl::ItemBase itemBase () const
 Internal part of the entity.
impl::MutableItemBase mutableItemBase () const
 Mutable internal part of the entity.
const ItemTypeInfotypeInfo () const
 Information about the entity type.
Itemoperator-> ()
const Itemoperator-> () const

Static Public Member Functions

static String typeName (Int32 type)
 Cell type name cell_type.
static void dumpStats (ITraceMng *tm)
static void resetStats ()

Static Public Attributes

static const Int32 NULL_ELEMENT = NULL_ITEM_ID
 Null element index.

Protected Member Functions

constexpr __host__ __device__ Item (Int32 local_id, ItemSharedInfo *shared_info)
 Constructor reserved for enumerators.
constexpr void _checkKind (bool is_valid) const
void _badConversion () const
void _set (ItemInternal *ainternal)
constexpr void _set (const Item &rhs)
constexpr Int32 _flags () const
 Entity flags.
constexpr Integer _nbNode () const
 Number of nodes of the entity.
constexpr Integer _nbEdge () const
 Number of edges of the entity or number of edges connected to the entity (for nodes).
constexpr Integer _nbFace () const
 Number of faces of the entity or number of faces connected to the entity (for nodes and edges).
constexpr Integer _nbCell () const
 Number of cells connected to the entity (for nodes, edges and faces).
Int32 _nbHParent () const
 Number of parents for AMR.
Int32 _nbHChildren () const
 Number of children for AMR.
Integer _nbParent () const
 Number of parents for submeshes.
constexpr NodeLocalId _nodeId (Int32 index) const
constexpr EdgeLocalId _edgeId (Int32 index) const
constexpr FaceLocalId _faceId (Int32 index) const
constexpr CellLocalId _cellId (Int32 index) const
Int32 _hParentId (Int32 index) const
Int32 _hChildId (Int32 index) const
impl::ItemIndexedListView< DynExtent_nodeList () const
impl::ItemIndexedListView< DynExtent_edgeList () const
impl::ItemIndexedListView< DynExtent_faceList () const
impl::ItemIndexedListView< DynExtent_cellList () const
NodeLocalIdView _nodeIds () const
EdgeLocalIdView _edgeIds () const
FaceLocalIdView _faceIds () const
CellLocalIdView _cellIds () const
constexpr Node _node (Int32 index) const
constexpr Edge _edge (Int32 index) const
constexpr Face _face (Int32 index) const
constexpr Cell _cell (Int32 index) const
ItemBase _hParentBase (Int32 index) const
ItemBase _hChildBase (Int32 index) const
ItemBase _toItemBase () const
Int32 _nbLinearNode () const
 Number of nodes of the entity.

Protected Attributes

Int32 m_local_id = NULL_ITEM_LOCAL_ID
 Local number (in the subdomain) of the entity.

Friends

class ItemEnumeratorBaseT< Item >
class ItemConnectedEnumeratorBaseT< Item >
class ItemVector
class ItemVectorView
class ItemVectorViewConstIterator
class ItemConnectedListViewConstIterator
class SimdItem
class SimdItemEnumeratorBase
class ItemInfoListView
class ItemLocalIdToItemConverter
template<typename ItemType>
class ItemLocalIdToItemConverterT
class ItemPairEnumerator
template<int Extent>
class ItemConnectedListView
template<typename ItemType>
class ItemEnumeratorBaseT
class ItemCompatibility

Detailed Description

Base class for a mesh element.

Mesh elements are nodes (Node), cells (Cell), faces (Face), edges (Edge), particles (Particle) or degrees of freedom (DoF). Each of its elements is described in the corresponding derived class.

This class and its derived classes are lightweight objects that are used by value rather than by reference and should not be kept between two modifications of the family (IItemFamily) they are associated with.

Regardless of its type, a mesh element has a unique identifier (localId()) for its type and local to the managed subdomain and a unique identifier (uniqueId()) for its type across the entire domain. The numbering is continuous and starts at 0. The local identifier is used, for example, to access variables or for connectivity.

For example, if a mesh has 2 hexahedral cells that join by a face, there are 12 nodes, 11 faces, and 2 cells. In this case, the first node will have identifier 0, the second 1, and so on up to 11. The first face will have identifier 0, the second 1, and so on up to 10.

There is an entity corresponding to a null object. It is the only one for which null() is true. No operation other than calling null() and comparison operations is valid on the null entity.

Definition at line 83 of file Item.h.

Member Typedef Documentation

◆ ItemBase

using Arcane::Item::ItemBase = impl::ItemBase

Definition at line 111 of file Item.h.

◆ ItemInternalPtr

typedef ItemInternal* Arcane::Item::ItemInternalPtr

Definition at line 106 of file Item.h.

◆ LocalIdType

Type of localId().

Definition at line 109 of file Item.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Element types.

Type values must range from 0 to #NB_TYPE in steps of 1.

Deprecated
. Use types defined in ArcaneTypes.h
Enumerator
Unknown 

Null type element.

Vertex 

Node type element (1 vertex 1D, 2D and 3D).

Bar2 

Edge type element (2 vertices, 1D, 2D and 3D).

Tri3 

Triangle type element (3 vertices, 2D).

Quad4 

Quad type element (4 vertices, 2D).

Pentagon5 

Pentagon type element (5 vertices, 2D).

Hexagon6 

Hexagon type element (6 vertices, 2D).

Tetra 

Tetrahedron type element (4 vertices, 3D).

Pyramid 

Pyramid type element (5 vertices, 3D).

Penta 

Pentahedron type element (6 vertices, 3D).

Hexa 

Hexahedron type element (8 vertices, 3D).

Wedge7 

Prism type element with 7 faces (pentagonal base).

Wedge8 

Prism type element with 8 faces (hexagonal base).

Definition at line 156 of file Item.h.

Constructor & Destructor Documentation

◆ Item() [1/4]

◆ Item() [2/4]

Arcane::Item::Item ( ItemInternal * ainternal)
inline

Constructs a reference to the internal entity.

Definition at line 196 of file Item.h.

References m_local_id.

◆ Item() [3/4]

__host__ __device__ Arcane::Item::Item ( const ItemBase & abase)
inlineconstexpr

Constructs a reference to the abase entity.

Definition at line 207 of file Item.h.

References m_local_id.

◆ Item() [4/4]

Arcane::Item::Item ( const ItemInternalPtr * internals,
Int32 local_id )
inline

Constructs a reference to the internal entity.

Definition at line 214 of file Item.h.

References Item().

Member Function Documentation

◆ _badConversion()

void Arcane::Item::_badConversion ( ) const
protected

Definition at line 67 of file Item.cc.

◆ _cell()

Cell Arcane::Item::_cell ( Int32 index) const
inlineconstexprprotected

Definition at line 1514 of file Item.h.

◆ _cellId()

CellLocalId Arcane::Item::_cellId ( Int32 index) const
inlineconstexprprotected

Definition at line 469 of file Item.h.

◆ _cellIds()

CellLocalIdView Arcane::Item::_cellIds ( ) const
inlineprotected

Definition at line 479 of file Item.h.

◆ _cellList()

impl::ItemIndexedListView< DynExtent > Arcane::Item::_cellList ( ) const
inlineprotected

Definition at line 475 of file Item.h.

◆ _checkKind()

void Arcane::Item::_checkKind ( bool is_valid) const
inlineconstexprprotected

Definition at line 433 of file Item.h.

◆ _edge()

Edge Arcane::Item::_edge ( Int32 index) const
inlineconstexprprotected

Definition at line 1014 of file Item.h.

◆ _edgeId()

EdgeLocalId Arcane::Item::_edgeId ( Int32 index) const
inlineconstexprprotected

Definition at line 467 of file Item.h.

◆ _edgeIds()

EdgeLocalIdView Arcane::Item::_edgeIds ( ) const
inlineprotected

Definition at line 477 of file Item.h.

◆ _edgeList()

impl::ItemIndexedListView< DynExtent > Arcane::Item::_edgeList ( ) const
inlineprotected

Definition at line 473 of file Item.h.

◆ _face()

Face Arcane::Item::_face ( Int32 index) const
inlineconstexprprotected

Definition at line 1264 of file Item.h.

◆ _faceId()

FaceLocalId Arcane::Item::_faceId ( Int32 index) const
inlineconstexprprotected

Definition at line 468 of file Item.h.

◆ _faceIds()

FaceLocalIdView Arcane::Item::_faceIds ( ) const
inlineprotected

Definition at line 478 of file Item.h.

◆ _faceList()

impl::ItemIndexedListView< DynExtent > Arcane::Item::_faceList ( ) const
inlineprotected

Definition at line 474 of file Item.h.

◆ _flags()

Int32 Arcane::Item::_flags ( ) const
inlineconstexprprotected

Entity flags.

Definition at line 451 of file Item.h.

References m_local_id.

Referenced by hasFlags(), isOwn(), isShared(), Arcane::Face::isSubDomainBoundary(), and Arcane::Face::isSubDomainBoundaryOutside().

◆ _hChildBase()

ItemBase Arcane::Item::_hChildBase ( Int32 index) const
inlineprotected

Definition at line 487 of file Item.h.

◆ _hChildId()

Int32 Arcane::Item::_hChildId ( Int32 index) const
inlineprotected

Definition at line 471 of file Item.h.

◆ _hParentBase()

ItemBase Arcane::Item::_hParentBase ( Int32 index) const
inlineprotected

Definition at line 486 of file Item.h.

◆ _hParentId()

Int32 Arcane::Item::_hParentId ( Int32 index) const
inlineprotected

Definition at line 470 of file Item.h.

◆ _nbCell()

Integer Arcane::Item::_nbCell ( ) const
inlineconstexprprotected

Number of cells connected to the entity (for nodes, edges and faces).

Definition at line 459 of file Item.h.

References m_local_id.

Referenced by Arcane::Edge::nbCell(), Arcane::Face::nbCell(), and Arcane::Node::nbCell().

◆ _nbEdge()

Integer Arcane::Item::_nbEdge ( ) const
inlineconstexprprotected

Number of edges of the entity or number of edges connected to the entity (for nodes).

Definition at line 455 of file Item.h.

References m_local_id.

Referenced by Arcane::Cell::nbEdge(), Arcane::Face::nbEdge(), and Arcane::Node::nbEdge().

◆ _nbFace()

Integer Arcane::Item::_nbFace ( ) const
inlineconstexprprotected

Number of faces of the entity or number of faces connected to the entity (for nodes and edges).

Definition at line 457 of file Item.h.

References m_local_id.

Referenced by Arcane::Cell::nbFace(), Arcane::Edge::nbFace(), and Arcane::Node::nbFace().

◆ _nbHChildren()

Int32 Arcane::Item::_nbHChildren ( ) const
inlineprotected

Number of children for AMR.

Definition at line 463 of file Item.h.

References m_local_id.

Referenced by Arcane::Cell::nbHChildren().

◆ _nbHParent()

Int32 Arcane::Item::_nbHParent ( ) const
inlineprotected

Number of parents for AMR.

Definition at line 461 of file Item.h.

References m_local_id.

Referenced by Arcane::Cell::level(), and Arcane::Cell::nbHParent().

◆ _nbLinearNode()

Int32 Arcane::Item::_nbLinearNode ( ) const
inlineprotected

Number of nodes of the entity.

Definition at line 491 of file Item.h.

References itemBase().

Referenced by Arcane::ItemWithNodes::nbLinearNode().

◆ _nbNode()

Integer Arcane::Item::_nbNode ( ) const
inlineconstexprprotected

Number of nodes of the entity.

Definition at line 453 of file Item.h.

References m_local_id.

Referenced by Arcane::ItemWithNodes::nbNode().

◆ _nbParent()

Integer Arcane::Item::_nbParent ( ) const
inlineprotected

Number of parents for submeshes.

Definition at line 465 of file Item.h.

Referenced by nbParent().

◆ _node()

Node Arcane::Item::_node ( Int32 index) const
inlineconstexprprotected

Definition at line 757 of file Item.h.

◆ _nodeId()

NodeLocalId Arcane::Item::_nodeId ( Int32 index) const
inlineconstexprprotected

Definition at line 466 of file Item.h.

◆ _nodeIds()

NodeLocalIdView Arcane::Item::_nodeIds ( ) const
inlineprotected

Definition at line 476 of file Item.h.

◆ _nodeList()

impl::ItemIndexedListView< DynExtent > Arcane::Item::_nodeList ( ) const
inlineprotected

Definition at line 472 of file Item.h.

◆ _set() [1/2]

void Arcane::Item::_set ( const Item & rhs)
inlineconstexprprotected

Definition at line 443 of file Item.h.

◆ _set() [2/2]

void Arcane::Item::_set ( ItemInternal * ainternal)
inlineprotected

Definition at line 439 of file Item.h.

◆ _toItemBase()

ItemBase Arcane::Item::_toItemBase ( ) const
inlineprotected

Definition at line 488 of file Item.h.

◆ dumpStats()

void Arcane::Item::dumpStats ( ITraceMng * tm)
static

Definition at line 93 of file Item.cc.

◆ flags()

Int32 Arcane::Item::flags ( ) const
inlineconstexpr

Entity flags.

Definition at line 355 of file Item.h.

References m_local_id.

Referenced by hasFlags().

◆ hasFlags()

bool Arcane::Item::hasFlags ( Int32 flags) const
inlineconstexpr

Returns if the flags are set for the entity.

Definition at line 352 of file Item.h.

References _flags(), and flags().

Referenced by Arcane::AMRZonePosition::cellsInPatch(), and Arcane::AMRZonePosition::toAMRPatchPosition().

◆ internal()

ItemInternal * Arcane::Item::internal ( ) const
inline

Internal part of the entity.

Warning
The internal part of the entity should only be modified by those who know what they are doing.
Deprecated
Use itemBase() or mutableItemBase() instead for cases where the returned instance is not kept.

Definition at line 368 of file Item.h.

References internal(), and m_local_id.

Referenced by internal().

◆ isCell()

bool Arcane::Item::isCell ( ) const
inlineconstexpr

true if the entity is of the Cell kind.

Definition at line 321 of file Item.h.

References Arcane::IK_Cell, Arcane::IK_Unknown, and kind().

Referenced by Arcane::Cell::Cell(), Arcane::Cell::Cell(), Arcane::Cell::Cell(), Arcane::Cell::Cell(), and toCell().

◆ isDoF()

bool Arcane::Item::isDoF ( ) const
inlineconstexpr

true if the entity is of the DoF kind

Definition at line 345 of file Item.h.

References Arcane::IK_DoF, Arcane::IK_Unknown, and kind().

Referenced by Arcane::DoF::DoF(), Arcane::DoF::DoF(), Arcane::DoF::DoF(), Arcane::DoF::DoF(), and toDoF().

◆ isEdge()

bool Arcane::Item::isEdge ( ) const
inlineconstexpr

true if the entity is of the Edge kind.

Definition at line 327 of file Item.h.

References Arcane::IK_Edge, Arcane::IK_Unknown, and kind().

Referenced by Arcane::Edge::Edge(), Arcane::Edge::Edge(), Arcane::Edge::Edge(), Arcane::Edge::Edge(), and toEdge().

◆ isFace()

bool Arcane::Item::isFace ( ) const
inlineconstexpr

true if the entity is of the Face kind.

Definition at line 333 of file Item.h.

References Arcane::IK_Face, Arcane::IK_Unknown, and kind().

Referenced by Arcane::Face::Face(), Arcane::Face::Face(), Arcane::Face::Face(), Arcane::Face::Face(), and toFace().

◆ isItemWithNodes()

bool Arcane::Item::isItemWithNodes ( ) const
inlineconstexpr

◆ isNode()

bool Arcane::Item::isNode ( ) const
inlineconstexpr

true if the entity is of the Node kind.

Definition at line 315 of file Item.h.

References Arcane::IK_Node, Arcane::IK_Unknown, and kind().

Referenced by Arcane::Node::Node(), Arcane::Node::Node(), Arcane::Node::Node(), Arcane::Node::Node(), and toNode().

◆ isOwn()

◆ isParticle()

bool Arcane::Item::isParticle ( ) const
inlineconstexpr

◆ isShared()

bool Arcane::Item::isShared ( ) const
inline

True if the entity is shared by other subdomains.

An entity is considered shared if and only if isOwn() is true and it is ghost for one or more other subdomains.

This method is only relevant if the connectivity information has been calculated (by calling IItemFamily::computeSynchronizeInfos()).

Definition at line 279 of file Item.h.

References _flags(), and Arcane::ItemFlags::II_Shared.

◆ itemBase()

impl::ItemBase Arcane::Item::itemBase ( ) const
inline

Internal part of the entity.

Warning
The internal part of the entity should only be modified by those who know what they are doing.

Definition at line 383 of file Item.h.

References m_local_id.

Referenced by _nbLinearNode(), and Arcane::CartesianMeshCoarsening::createCoarseCells().

◆ itemFamily()

IItemFamily * Arcane::Item::itemFamily ( ) const
inline

Family from which the entity originates.

Definition at line 261 of file Item.h.

Referenced by Arcane::FaceReorienter::checkAndChangeOrientation(), and Arcane::FaceReorienter::checkAndChangeOrientationAMR().

◆ itemLocalId()

ItemLocalId Arcane::Item::itemLocalId ( ) const
inlineconstexpr

Local identifier of the entity in the processor subdomain.

Definition at line 236 of file Item.h.

References m_local_id.

◆ itemTypeId()

ItemTypeId Arcane::Item::itemTypeId ( ) const
inline

Entity type.

Definition at line 258 of file Item.h.

References type().

◆ kind()

eItemKind Arcane::Item::kind ( ) const
inlineconstexpr

Entity kind.

Definition at line 264 of file Item.h.

Referenced by isCell(), isDoF(), isEdge(), isFace(), isItemWithNodes(), isNode(), and isParticle().

◆ localId()

Int32 Arcane::Item::localId ( ) const
inlineconstexpr

Local identifier of the entity in the processor subdomain.

Definition at line 233 of file Item.h.

References m_local_id.

Referenced by Arcane::ItemVector::addItem(), Arcane::ItemVectorT< Node >::addItem(), Arcane::Parallel::VariableParallelOperationBase::applyOperation(), Arcane::CellDirectionMng::cell(), Arcane::FaceReorienter::checkAndChangeOrientation(), Arcane::FaceReorienter::checkAndChangeOrientationAMR(), Arcane::MeshUtils::checkMeshProperties(), Arcane::MeshUtils::computeNodeNodeViaEdgeConnectivity(), Arcane::CartesianMeshCoarsening::createCoarseCells(), Arcane::ActiveCellGroupComputeFunctor::executeFunctor(), Arcane::ActiveFaceItemGroupComputeFunctor::executeFunctor(), Arcane::InnerActiveFaceItemGroupComputeFunctor::executeFunctor(), Arcane::InnerFaceItemGroupComputeFunctor::executeFunctor(), Arcane::InterfaceItemGroupComputeFunctor::executeFunctor(), Arcane::LevelCellGroupComputeFunctor::executeFunctor(), Arcane::OuterActiveFaceItemGroupComputeFunctor::executeFunctor(), Arcane::OuterFaceItemGroupComputeFunctor::executeFunctor(), Arcane::OwnActiveCellGroupComputeFunctor::executeFunctor(), Arcane::OwnActiveFaceItemGroupComputeFunctor::executeFunctor(), Arcane::OwnLevelCellGroupComputeFunctor::executeFunctor(), Arcane::FaceDirectionMng::face(), Arcane::MeshUtils::getFaceFromNodesLocalId(), Arcane::Particle::hasCell(), Arcane::VariableArrayT< T >::initialize(), Arcane::NodeDirectionMng::node(), Arcane::operator!=(), Arcane::operator<(), Arcane::operator==(), Arcane::CellDirectionMng::operator[](), Arcane::FaceDirectionMng::operator[](), Arcane::NodeDirectionMng::operator[](), and Arcane::MeshUtils::writeMeshInfosSorted().

◆ mutableItemBase()

impl::MutableItemBase Arcane::Item::mutableItemBase ( ) const
inline

Mutable internal part of the entity.

Warning
The internal part of the entity should only be modified by those who know what they are doing.

Definition at line 394 of file Item.h.

References m_local_id.

Referenced by Arcane::CartesianMeshCoarsening::createCoarseCells().

◆ nbParent()

Int32 Arcane::Item::nbParent ( ) const
inline

Number of parents for submeshes.

Definition at line 297 of file Item.h.

References _nbParent().

◆ null()

◆ operator->() [1/2]

Item * Arcane::Item::operator-> ( )
inline

Definition at line 411 of file Item.h.

◆ operator->() [2/2]

const Item * Arcane::Item::operator-> ( ) const
inline

Definition at line 414 of file Item.h.

◆ operator=()

Item & Arcane::Item::operator= ( ItemInternal * ainternal)
inline

Copy operator.

Definition at line 221 of file Item.h.

References Item().

◆ owner()

◆ parent() [1/2]

Item Arcane::Item::parent ( ) const
inline

first parent for submeshes

Definition at line 303 of file Item.h.

References Item(), and m_local_id.

◆ parent() [2/2]

Item Arcane::Item::parent ( Int32 i) const
inline

i-th parent for submeshes

Definition at line 300 of file Item.h.

References Item(), and m_local_id.

◆ resetStats()

void Arcane::Item::resetStats ( )
static

Definition at line 104 of file Item.cc.

◆ toCell()

Cell Arcane::Item::toCell ( ) const
inline

Converts the entity to the Cell kind.

Definition at line 1829 of file Item.h.

References Arcane::Cell, and isCell().

◆ toDoF()

DoF Arcane::Item::toDoF ( ) const
inline

Converts the entity to the DoF kind.

Definition at line 1843 of file Item.h.

References isDoF().

◆ toEdge()

Edge Arcane::Item::toEdge ( ) const
inline

Converts the entity to the Edge kind.

Definition at line 1815 of file Item.h.

References isEdge().

◆ toFace()

Face Arcane::Item::toFace ( ) const
inline

Converts the entity to the Face kind.

Definition at line 1822 of file Item.h.

References isFace().

◆ toItemWithNodes()

ItemWithNodes Arcane::Item::toItemWithNodes ( ) const
inline

Converts the entity to the ItemWithNodes kind.

Definition at line 1801 of file Item.h.

References isItemWithNodes().

Referenced by Arcane::Hdf5VariableInfoBase::writeGroup().

◆ toNode()

Node Arcane::Item::toNode ( ) const
inline

Converts the entity to the Node kind.

Definition at line 1808 of file Item.h.

References isNode().

◆ toParticle()

Particle Arcane::Item::toParticle ( ) const
inline

Converts the entity to the Particle kind.

Definition at line 1836 of file Item.h.

References isParticle().

◆ type()

Int16 Arcane::Item::type ( ) const
inline

Entity type.

Definition at line 255 of file Item.h.

References m_local_id.

Referenced by Arcane::geometric::BarycentricGeomShapeComputer::computeAll(), itemTypeId(), and typeInfo().

◆ typeInfo()

const ItemTypeInfo * Arcane::Item::typeInfo ( ) const
inline

Information about the entity type.

This method allows obtaining information concerning a given entity type, such as the local numbering of its faces or edges.

Definition at line 406 of file Item.h.

References type().

Referenced by Arcane::FaceReorienter::checkAndChangeOrientation(), Arcane::FaceReorienter::checkAndChangeOrientationAMR(), Arcane::CartesianMeshCoarsening::createCoarseCells(), and Arcane::Hdf5VariableInfoBase::writeGroup().

◆ typeName()

String Arcane::Item::typeName ( Int32 type)
static

Cell type name cell_type.

Definition at line 53 of file Item.cc.

◆ uniqueId()

◆ ItemCompatibility

friend class ItemCompatibility
friend

Definition at line 102 of file Item.h.

◆ ItemConnectedEnumeratorBaseT< Item >

friend class ItemConnectedEnumeratorBaseT< Item >
friend

Definition at line 565 of file Item.h.

◆ ItemConnectedListView

template<int Extent>
friend class ItemConnectedListView
friend

Definition at line 98 of file Item.h.

◆ ItemConnectedListViewConstIterator

friend class ItemConnectedListViewConstIterator
friend

Definition at line 91 of file Item.h.

◆ ItemEnumeratorBaseT

template<typename ItemType>
friend class ItemEnumeratorBaseT
friend

Definition at line 99 of file Item.h.

◆ ItemEnumeratorBaseT< Item >

friend class ItemEnumeratorBaseT< Item >
friend

Definition at line 565 of file Item.h.

◆ ItemInfoListView

friend class ItemInfoListView
friend

Definition at line 94 of file Item.h.

◆ ItemLocalIdToItemConverter

friend class ItemLocalIdToItemConverter
friend

Definition at line 95 of file Item.h.

◆ ItemLocalIdToItemConverterT

template<typename ItemType>
friend class ItemLocalIdToItemConverterT
friend

Definition at line 96 of file Item.h.

◆ ItemPairEnumerator

friend class ItemPairEnumerator
friend

Definition at line 97 of file Item.h.

◆ ItemVector

friend class ItemVector
friend

Definition at line 88 of file Item.h.

◆ ItemVectorView

friend class ItemVectorView
friend

Definition at line 89 of file Item.h.

◆ ItemVectorViewConstIterator

friend class ItemVectorViewConstIterator
friend

Definition at line 90 of file Item.h.

◆ SimdItem

friend class SimdItem
friend

Definition at line 92 of file Item.h.

◆ SimdItemEnumeratorBase

friend class SimdItemEnumeratorBase
friend

Definition at line 93 of file Item.h.

Member Data Documentation

◆ m_local_id

Int32 Arcane::Item::m_local_id = NULL_ITEM_LOCAL_ID
protected

◆ NULL_ELEMENT

const Int32 Arcane::Item::NULL_ELEMENT = NULL_ITEM_ID
static

Null element index.

Definition at line 175 of file Item.h.


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