Utilities helping to find items based on others. More...
#include <arcane/mesh/ItemTools.h>
Static Public Member Functions | |
| static bool | isSameFace (Face face, Int64ConstArrayView face_nodes_uid) |
| static Face | findFaceInNode2 (Node node, Integer face_type_id, Int64ConstArrayView face_nodes_uid) |
| static Edge | findEdgeInNode2 (Node node, Int64 begin_node, Int64 end_node) |
Static Private Member Functions | |
| static ItemInternal * | findFaceInNode (Node node, Integer face_type_id, Int64ConstArrayView face_nodes_uid) |
| static ItemInternal * | findEdgeInNode (Node node, Int64 begin_node, Int64 end_node) |
Utilities helping to find items based on others.
Definition at line 32 of file ItemTools.h.
|
staticprivate |
Searches for an edge connected to the node node and connecting the nodes with uids begin_node and end_node
| node | : node to test |
| begin_node | : uid of the first node of the searched edge |
| end_node | : uid of the second node of the searched edge |
Definition at line 84 of file ItemTools.cc.
References findEdgeInNode2(), and Arcane::Item::null().
|
static |
Searches for an edge connected to the node node and connecting the nodes with uids begin_node and end_node
| node | : node to test |
| begin_node | : uid of the first node of the searched edge |
| end_node | : uid of the second node of the searched edge |
Definition at line 72 of file ItemTools.cc.
References Arcane::Node::edges().
Referenced by Arcane::mesh::OneMeshItemAdder::addOneParentItem(), and findEdgeInNode().
|
staticprivate |
Searches for a face connected to the node node corresponding to the list of nodes face_nodes_uid.
| node | : node to test |
| face_type_id | : type of the face searched |
| face_nodes_uid | : a list of node uids |
Definition at line 59 of file ItemTools.cc.
References findFaceInNode2(), and Arcane::Item::null().
|
static |
Searches for a face connected to the node node corresponding to the list of nodes face_nodes_uid.
| node | : node to test |
| face_type_id | : type of the face searched |
| face_nodes_uid | : a list of node uids |
Definition at line 43 of file ItemTools.cc.
References Arcane::Node::faces(), and isSameFace().
Referenced by Arcane::mesh::FaceUniqueIdBuilder::_computeFacesUniqueIdsParallelV1(), findFaceInNode(), and Arcane::mesh::MeshNodeMerger::mergeNodes().
|
static |
Checks if the list of nodes of a face matches a provided list Compares the uids of the nodes. The order must be the same.
| face | : the face to test |
| face_nodes_uid | : a list of node uids |
Definition at line 28 of file ItemTools.cc.
References Arcane::ItemWithNodes::nodes().
Referenced by findFaceInNode2().