Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::IMeshModifierInternal Class Referenceabstract

Internal part of IMeshModifier. More...

#include <arcane/core/internal/IMeshModifierInternal.h>

Inheritance diagram for Arcane::IMeshModifierInternal:
Collaboration diagram for Arcane::IMeshModifierInternal:

Public Member Functions

virtual void removeNeedRemoveMarkedItems ()=0
 Deletes entities marked with ItemFlags::II_NeedRemove.
virtual NodeLocalId addNode (ItemUniqueId unique_id)=0
 Adds a node.
virtual FaceLocalId addFace (ItemUniqueId unique_id, ItemTypeId type_id, ConstArrayView< Int64 > nodes_uid)=0
 Adds a face.
virtual CellLocalId addCell (ItemUniqueId unique_id, ItemTypeId type_id, ConstArrayView< Int64 > nodes_uid)=0
 Adds a cell.

Detailed Description

Internal part of IMeshModifier.

Definition at line 33 of file IMeshModifierInternal.h.

Member Function Documentation

◆ addCell()

virtual CellLocalId Arcane::IMeshModifierInternal::addCell ( ItemUniqueId unique_id,
ItemTypeId type_id,
ConstArrayView< Int64 > nodes_uid )
pure virtual

Adds a cell.

Adds a cell with a unique ID uid, of type type_id, and containing the nodes whose unique IDs are nodes_uids. If the cell already exists, it is returned.

Returns
The created cell or the existing cell with the unique ID unique_id if it already exists.
Note
For performance reasons, it is preferable to call addCells() if many cells need to be added.

Implemented in Arcane::mesh::DynamicMeshInternal.

◆ addFace()

virtual FaceLocalId Arcane::IMeshModifierInternal::addFace ( ItemUniqueId unique_id,
ItemTypeId type_id,
ConstArrayView< Int64 > nodes_uid )
pure virtual

Adds a face.

Adds a face with a unique ID uid, of type type_id, and containing the nodes whose unique IDs are nodes_uids. If the face already exists, it is returned.

Returns
The created face or the existing face with the unique ID unique_id if it already exists.
Note
For performance reasons, it is preferable to call addFaces() if many faces need to be added.

Implemented in Arcane::mesh::DynamicMeshInternal.

◆ addNode()

virtual NodeLocalId Arcane::IMeshModifierInternal::addNode ( ItemUniqueId unique_id)
pure virtual

Adds a node.

Adds a node with a unique ID uid. If the node already exists, it is returned. It is generally not useful to create nodes directly, as they are automatically created when an edge, a face, or a cell is added.

Returns
The created node or the existing node with the unique ID unique_id if it already exists.
Note
For performance reasons, it is preferable to call addNodes() if many nodes need to be added.

Implemented in Arcane::mesh::DynamicMeshInternal.

◆ removeNeedRemoveMarkedItems()

virtual void Arcane::IMeshModifierInternal::removeNeedRemoveMarkedItems ( )
pure virtual

Deletes entities marked with ItemFlags::II_NeedRemove.

This method is called in MeshExchanger

Implemented in Arcane::mesh::DynamicMeshInternal.


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