#include <arcane/core/Item.h>
Classes | |
| class | Index |
| Index of a Face in a variable. More... | |
Public Types | |
| typedef FaceLocalId | LocalIdType |
| Type of localId(). | |
| Public Types inherited from Arcane::Item | |
| 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 ItemInternal * | ItemInternalPtr |
| typedef ItemLocalId | LocalIdType |
| Type of localId(). | |
| using | ItemBase = impl::ItemBase |
Public Member Functions | |
| Face ()=default | |
| Creation of a face not connected to the mesh. | |
| Face (ItemInternal *ainternal) | |
| (deprecated) Constructs a reference to the internal entity | |
| constexpr | Face (const ItemBase &abase) |
| Constructs a reference to the base entity. | |
| constexpr | Face (const Item &aitem) |
| Constructs a reference to the item entity. | |
| Face (const ItemInternalPtr *internals, Int32 local_id) | |
| Constructs a reference to the internal entity. | |
| Face & | operator= (ItemInternal *ainternal) |
| Copy operator. | |
| constexpr eItemKind | kind () const |
| Entity kind. | |
| FaceLocalId | itemLocalId () const |
| Local identifier of the entity in the processor subdomain. | |
| Int32 | nbCell () const |
| Number of cells of the face (1 or 2). | |
| Cell | cell (Int32 i) const |
| i-th cell of the face | |
| CellConnectedListViewType | cells () const |
| List of cells of the face. | |
| CellLocalId | cellId (Int32 i) const |
| i-th cell of the face | |
| CellLocalIdView | cellIds () const |
| List of cells of the face. | |
| bool | isSubDomainBoundary () const |
| Indicates if the face is on the subdomain boundary (i.e nbCell()==1). | |
| ARCANE_DEPRECATED_118 bool | isBoundary () const |
| bool | isSubDomainBoundaryOutside () const |
| Indicates if the face is on the subdomain boundary facing outwards. | |
| ARCANE_DEPRECATED_118 bool | isBoundaryOutside () const |
| Indicates if the face is on the subdomain boundary facing outwards. | |
| Cell | boundaryCell () const |
| Cell associated with this boundary face (null cell if none). | |
| Cell | backCell () const |
| Cell behind the face (null cell if none). | |
| CellLocalId | backCellId () const |
| Cell behind the face (null cell if none). | |
| Cell | frontCell () const |
| Cell in front of the face (null cell if none). | |
| CellLocalId | frontCellId () const |
| Cell in front of the face (null cell if none). | |
| Cell | oppositeCell (Cell cell) const |
| Opposite cell of this face to the cell cell. | |
| CellLocalId | oppositeCellId (CellLocalId cell_id) const |
| Opposite cell of this face to the cell cell. | |
| Face | masterFace () const |
| Master face associated with this face. | |
| bool | isMasterFace () const |
| true if it is the master face of an interface | |
| bool | isSlaveFace () const |
| true if it is a slave face of an interface | |
| bool | isTiedFace () const |
| true if it is a slave or master face of an interface | |
| FaceConnectedListViewType | slaveFaces () const |
| List of slave faces associated with this master face. | |
| Int32 | nbEdge () const |
| Number of edges of the face. | |
| Edge | edge (Int32 i) const |
| i-th edge of the face | |
| EdgeConnectedListViewType | edges () const |
| List of edges of the face. | |
| EdgeLocalId | edgeId (Int32 i) const |
| i-th edge of the face | |
| EdgeLocalIdView | edgeIds () const |
| List of edges of the face. | |
| Face * | operator-> () |
| const Face * | operator-> () const |
| Public Member Functions inherited from Arcane::ItemWithNodes | |
| ItemWithNodes ()=default | |
| Creation of an entity not connected to the mesh. | |
| ItemWithNodes (ItemInternal *ainternal) | |
| (deprecated) Constructs a reference to the entity internal | |
| constexpr | ItemWithNodes (const ItemBase &abase) |
| Constructs a reference to the entity abase. | |
| constexpr | ItemWithNodes (const Item &aitem) |
| Constructs a reference to the entity aitem. | |
| ItemWithNodes (const ItemInternalPtr *internals, Int32 local_id) | |
| Constructs a reference to the entity internal. | |
| ItemWithNodes & | operator= (ItemInternal *ainternal) |
| Copy operator. | |
| Int32 | nbNode () const |
| Number of nodes of the entity. | |
| Node | node (Int32 i) const |
| i-th node of the entity | |
| NodeConnectedListViewType | nodes () const |
| List of nodes of the entity. | |
| NodeLocalIdView | nodeIds () const |
| List of nodes of the entity. | |
| NodeLocalId | nodeId (Int32 index) const |
| i-th node of the entity. | |
| Int32 | nbLinearNode () const |
| Number of nodes of the associated linear entity (if entity order 2 or more). | |
| ItemWithNodes * | operator-> () |
| const ItemWithNodes * | operator-> () const |
| Public Member Functions inherited from Arcane::Item | |
| 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. | |
| Item & | operator= (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. | |
| IItemFamily * | itemFamily () 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. | |
| ItemInternal * | internal () 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 ItemTypeInfo * | typeInfo () const |
| Information about the entity type. | |
| Item * | operator-> () |
| const Item * | operator-> () const |
Private Types | |
| using | ThatClass = Face |
Private Member Functions | |
| constexpr | Face (Int32 local_id, ItemSharedInfo *shared_info) |
| Constructor reserved for enumerators. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from Arcane::Item | |
| static String | typeName (Int32 type) |
| Cell type name cell_type. | |
| static void | dumpStats (ITraceMng *tm) |
| static void | resetStats () |
| Static Public Attributes inherited from Arcane::Item | |
| static const Int32 | NULL_ELEMENT = NULL_ITEM_ID |
| Null element index. | |
| Protected Member Functions inherited from Arcane::ItemWithNodes | |
| constexpr | ItemWithNodes (Int32 local_id, ItemSharedInfo *shared_info) |
| Constructor reserved for enumerators. | |
| Protected Member Functions inherited from Arcane::Item | |
| 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 inherited from Arcane::Item | |
| Int32 | m_local_id = NULL_ITEM_LOCAL_ID |
| Local number (in the subdomain) of the entity. | |
Face of a cell.
A face is described by the ordered list of its nodes, which gives it an orientation.
| typedef FaceLocalId Arcane::Face::LocalIdType |
|
inlineconstexprprivate |
Constructor reserved for enumerators.
Definition at line 1073 of file Item.h.
References Arcane::ItemWithNodes::ItemWithNodes().
Referenced by masterFace(), and operator=().
|
inline |
(deprecated) Constructs a reference to the internal entity
Definition at line 1086 of file Item.h.
References Arcane::Item::isFace(), and Arcane::ItemWithNodes::ItemWithNodes().
|
inlineconstexpr |
Constructs a reference to the base entity.
Definition at line 1093 of file Item.h.
References Arcane::Item::isFace(), and Arcane::ItemWithNodes::ItemWithNodes().
|
inlineexplicitconstexpr |
Constructs a reference to the item entity.
Definition at line 1100 of file Item.h.
References Arcane::Item::isFace(), and Arcane::ItemWithNodes::ItemWithNodes().
|
inline |
Constructs a reference to the internal entity.
Definition at line 1107 of file Item.h.
References Arcane::Item::isFace(), and Arcane::ItemWithNodes::ItemWithNodes().
|
inline |
Cell behind the face (null cell if none).
Definition at line 1773 of file Item.h.
References backCell(), and Arcane::Cell.
Referenced by Arcane::mesh::DynamicMeshChecker::_checkFacesOrientation(), Arcane::mesh::FaceUniqueIdBuilder::_computeFacesUniqueIdsParallelV2(), Arcane::mesh::MeshRefinement::_populateBackFrontCellsFromParentFaces(), Arcane::mesh::FaceFamily::addBackCellToFace(), backCell(), Arcane::mesh::DynamicMeshChecker::checkValidConnectivity(), Arcane::mesh::DynamicMeshChecker::checkValidMeshFull(), Arcane::ActiveFaceItemGroupComputeFunctor::executeFunctor(), Arcane::InnerActiveFaceItemGroupComputeFunctor::executeFunctor(), Arcane::InnerFaceItemGroupComputeFunctor::executeFunctor(), Arcane::InterfaceItemGroupComputeFunctor::executeFunctor(), Arcane::OuterFaceItemGroupComputeFunctor::executeFunctor(), Arcane::OwnActiveFaceItemGroupComputeFunctor::executeFunctor(), Arcane::SplitSDMeshPartitioner::getDomVoisMaxFace(), Arcane::SplitSDMeshPartitioner::MAJDomaine(), Arcane::mesh::MeshNodeMerger::mergeNodes(), oppositeCell(), Arcane::mesh::FaceFamily::removeCellFromFace(), Arcane::mesh::FaceFamily::replaceBackCellToFace(), and Arcane::MeshUtils::writeMeshInfosSorted().
|
inline |
Cell behind the face (null cell if none).
Definition at line 1179 of file Item.h.
References backCellId().
Referenced by backCellId(), and oppositeCellId().
|
inline |
Cell associated with this boundary face (null cell if none).
Definition at line 1767 of file Item.h.
References boundaryCell(), and Arcane::Cell.
Referenced by boundaryCell(), Arcane::UnstructuredMeshUtilities::computeNormal(), Arcane::ActiveFaceItemGroupComputeFunctor::executeFunctor(), Arcane::OuterActiveFaceItemGroupComputeFunctor::executeFunctor(), and Arcane::OwnActiveFaceItemGroupComputeFunctor::executeFunctor().
i-th cell of the face
Definition at line 1792 of file Item.h.
Referenced by Arcane::mesh::FaceUniqueIdBuilder2::_checkFacesUniqueId(), Arcane::mesh::FaceUniqueIdBuilder2::_computeAndSortBoundaryFaces(), Arcane::mesh::FaceUniqueIdBuilder::_computeFacesUniqueIdsParallelV1(), Arcane::mesh::FaceUniqueIdBuilder2::_computeParallel(), Arcane::mesh::GhostLayerBuilder2::_markBoundaryItems(), Arcane::mesh::GhostLayerBuilder2::_markBoundaryNodes(), Arcane::ArcaneBasicMeshSubdividerService::_refineOnce(), Arcane::mesh::TiedInterfaceBuilder::changeOwners(), Arcane::mesh::TiedInterfaceBuilder::changeOwnersOld(), Arcane::FaceReorienter::checkAndChangeOrientation(), Arcane::FaceReorienter::checkAndChangeOrientationAMR(), Arcane::mesh::DynamicMeshChecker::checkValidConnectivity(), Arcane::MeshUtils::computeBoundaryNodeNodeViaEdgeConnectivity(), Arcane::mesh::ParallelAMRConsistency::makeNewItemsConsistent2(), oppositeCell(), Arcane::mesh::MeshRefinement::populateBackFrontCellsFromChildrenFaces(), Arcane::mesh::DynamicMesh::updateGhostLayerFromParent(), and Arcane::MeshUtils::writeMeshInfosSorted().
|
inline |
i-th cell of the face
Definition at line 1138 of file Item.h.
Referenced by Arcane::mesh::FaceFamily::addBackCellToFace(), Arcane::mesh::FaceFamily::addFrontCellToFace(), and Arcane::mesh::FaceFamily::removeCellFromFace().
|
inline |
|
inline |
List of cells of the face.
Definition at line 1135 of file Item.h.
Referenced by Arcane::ArcaneBasicMeshSubdividerService::_refineOnce(), Arcane::ArcaneBasicMeshSubdividerService::_renumberNodesFaces(), and Arcane::mesh::DynamicMeshChecker::checkValidConnectivity().
i-th edge of the face
Definition at line 1243 of file Item.h.
Referenced by Arcane::MeshUtils::writeMeshInfosSorted().
|
inline |
|
inline |
|
inline |
List of edges of the face.
Definition at line 1246 of file Item.h.
Referenced by Arcane::mesh::GhostLayerBuilder2::_markBoundaryItems(), Arcane::mesh::GhostLayerBuilder2::_markBoundaryNodes(), Arcane::mesh::ParallelAMRConsistency::makeNewItemsConsistent(), and Arcane::mesh::ParallelAMRConsistency::makeNewItemsConsistent2().
|
inline |
Cell in front of the face (null cell if none).
Definition at line 1779 of file Item.h.
References Arcane::Cell, and frontCell().
Referenced by Arcane::mesh::DynamicMeshChecker::_checkFacesOrientation(), Arcane::mesh::FaceUniqueIdBuilder::_computeFacesUniqueIdsParallelV2(), Arcane::mesh::MeshRefinement::_populateBackFrontCellsFromParentFaces(), Arcane::mesh::FaceFamily::addFrontCellToFace(), Arcane::mesh::DynamicMeshChecker::checkValidConnectivity(), Arcane::mesh::DynamicMeshChecker::checkValidMeshFull(), Arcane::UnstructuredMeshUtilities::computeNormal(), Arcane::ActiveFaceItemGroupComputeFunctor::executeFunctor(), Arcane::InnerActiveFaceItemGroupComputeFunctor::executeFunctor(), Arcane::InnerFaceItemGroupComputeFunctor::executeFunctor(), Arcane::InterfaceItemGroupComputeFunctor::executeFunctor(), Arcane::OuterFaceItemGroupComputeFunctor::executeFunctor(), Arcane::OwnActiveFaceItemGroupComputeFunctor::executeFunctor(), frontCell(), Arcane::SplitSDMeshPartitioner::getDomVoisMaxFace(), Arcane::SplitSDMeshPartitioner::MAJDomaine(), oppositeCell(), Arcane::mesh::FaceFamily::removeCellFromFace(), and Arcane::MeshUtils::writeMeshInfosSorted().
|
inline |
Cell in front of the face (null cell if none).
Definition at line 1185 of file Item.h.
References frontCellId().
Referenced by frontCellId(), and oppositeCellId().
|
inline |
true if the face is on the subdomain boundary.
Definition at line 1154 of file Item.h.
References isSubDomainBoundary().
|
inline |
Indicates if the face is on the subdomain boundary facing outwards.
Definition at line 1167 of file Item.h.
References isSubDomainBoundaryOutside().
|
inline |
true if it is the master face of an interface
Definition at line 1216 of file Item.h.
Referenced by isTiedFace(), and slaveFaces().
|
inline |
true if it is a slave face of an interface
Definition at line 1219 of file Item.h.
Referenced by isTiedFace().
|
inline |
Indicates if the face is on the subdomain boundary (i.e nbCell()==1).
Definition at line 1148 of file Item.h.
References Arcane::Item::_flags(), and Arcane::ItemFlags::II_Boundary.
Referenced by Arcane::mesh::FaceUniqueIdBuilder::_computeFacesUniqueIdsParallelV1(), Arcane::mesh::OneMeshItemAdder::addOneParentItem(), Arcane::UnstructuredMeshUtilities::computeNormal(), Arcane::ActiveFaceItemGroupComputeFunctor::executeFunctor(), Arcane::InnerActiveFaceItemGroupComputeFunctor::executeFunctor(), Arcane::InnerFaceItemGroupComputeFunctor::executeFunctor(), Arcane::OuterActiveFaceItemGroupComputeFunctor::executeFunctor(), Arcane::OuterFaceItemGroupComputeFunctor::executeFunctor(), Arcane::OwnActiveFaceItemGroupComputeFunctor::executeFunctor(), Arcane::SplitSDMeshPartitioner::getDomVoisMaxFace(), isBoundary(), isSubDomainBoundaryOutside(), and Arcane::SplitSDMeshPartitioner::MAJDomaine().
|
inline |
Indicates if the face is on the subdomain boundary facing outwards.
Definition at line 1157 of file Item.h.
References Arcane::Item::_flags(), Arcane::ItemFlags::II_HasBackCell, and isSubDomainBoundary().
Referenced by isBoundaryOutside().
|
inline |
true if it is a slave or master face of an interface
Definition at line 1222 of file Item.h.
References isMasterFace(), and isSlaveFace().
|
inline |
Local identifier of the entity in the processor subdomain.
Definition at line 1126 of file Item.h.
References Arcane::Item::m_local_id.
|
inlineconstexpr |
|
inline |
Master face associated with this face.
This face is non-null only if the face is tied to an interface and is a slave face of that interface (i.e. isSlaveFace() is true)
Definition at line 1213 of file Item.h.
References Face(), and masterFace().
Referenced by masterFace().
|
inline |
Number of cells of the face (1 or 2).
Definition at line 1129 of file Item.h.
References Arcane::Item::_nbCell().
Referenced by Arcane::mesh::OneMeshItemAdder::_addOneCell(), Arcane::mesh::FaceUniqueIdBuilder2::_computeAndSortBoundaryFaces(), Arcane::mesh::FaceUniqueIdBuilder::_computeFacesUniqueIdsParallelV2(), Arcane::mesh::FaceUniqueIdBuilder2::_computeParallel(), Arcane::mesh::GhostLayerBuilder2::_markBoundaryItems(), Arcane::mesh::GhostLayerBuilder2::_markBoundaryNodes(), Arcane::mesh::MeshRefinement::_populateBackFrontCellsFromParentFaces(), Arcane::mesh::FaceFamily::addBackCellToFace(), Arcane::mesh::FaceFamily::addFrontCellToFace(), Arcane::FaceReorienter::checkAndChangeOrientation(), Arcane::FaceReorienter::checkAndChangeOrientationAMR(), Arcane::mesh::DynamicMeshChecker::checkValidConnectivity(), Arcane::mesh::Parallel3EdgeUniqueIdBuilder::compute(), Arcane::MeshUtils::computeBoundaryNodeNodeViaEdgeConnectivity(), Arcane::mesh::FaceUniqueIdBuilder2::computeFacesUniqueIdAndOwnerVersion5(), Arcane::mesh::MeshNodeMerger::mergeNodes(), Arcane::mesh::MeshRefinement::populateBackFrontCellsFromChildrenFaces(), Arcane::mesh::FaceFamily::removeCellFromFace(), Arcane::mesh::FaceFamily::removeFaceIfNotConnected(), Arcane::mesh::FaceFamily::replaceBackCellToFace(), Arcane::mesh::DynamicMesh::updateGhostLayerFromParent(), and Arcane::MeshUtils::writeMeshInfosSorted().
|
inline |
Number of edges of the face.
Definition at line 1240 of file Item.h.
References Arcane::Item::_nbEdge().
Referenced by Arcane::MeshUtils::writeMeshInfosSorted().
|
inline |
Opposite cell of this face to the cell cell.
Definition at line 1785 of file Item.h.
References backCell(), cell(), and frontCell().
|
inline |
Opposite cell of this face to the cell cell.
Definition at line 1199 of file Item.h.
References backCellId(), and frontCellId().
|
inline |
List of slave faces associated with this master face.
This list only exists for faces where isMasterFace() is true. For others, it is empty.
Definition at line 1230 of file Item.h.
References isMasterFace().
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |