Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::mesh::CellToHexahedronMerger Class Reference

This function-class aims to merge two cells where the second one is necessarily a hexahedron. More...

Collaboration diagram for Arcane::mesh::CellToHexahedronMerger:

Public Member Functions

 CellToHexahedronMerger (ItemSwapperUtils *swap_utils, Cell cell1, Cell cell2)

Private Member Functions

void _setCellsNodeNumbers (Cell cell1, Cell cell2)

Private Attributes

IntegerUniqueArray m_cell_1_common_node_numbers
IntegerUniqueArray m_cell_2_common_node_numbers
IntegerUniqueArray m_cell_2_exchanged_node_numbers

Static Private Attributes

static const Integer m_hexa_node_neighbors [8][3] = { { 1, 3, 4 }, { 0, 2, 5 }, { 1, 3, 6 }, { 0, 2, 7 }, { 0, 5, 7 }, { 1, 4, 6 }, { 2, 5, 7 }, { 3, 4, 6 } }

Detailed Description

This function-class aims to merge two cells where the second one is necessarily a hexahedron.

Definition at line 937 of file CellMerger.cc.

Constructor & Destructor Documentation

◆ CellToHexahedronMerger()

Arcane::mesh::CellToHexahedronMerger::CellToHexahedronMerger ( ItemSwapperUtils * swap_utils,
Cell cell1,
Cell cell2 )

Member Function Documentation

◆ _setCellsNodeNumbers()

void Arcane::mesh::CellToHexahedronMerger::_setCellsNodeNumbers ( Cell cell1,
Cell cell2 )
private

Initialization of m_cell_1_common_node_numbers m_cell_2_common_node_numbers and m_cell_2_exchanged_node_numbers

Parameters
cell1cell 1
cell2cell 2

Definition at line 970 of file CellMerger.cc.

References m_cell_1_common_node_numbers, m_cell_2_common_node_numbers, m_cell_2_exchanged_node_numbers, m_hexa_node_neighbors, and Arcane::ItemWithNodes::nodes().

Referenced by CellToHexahedronMerger().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_cell_1_common_node_numbers

IntegerUniqueArray Arcane::mesh::CellToHexahedronMerger::m_cell_1_common_node_numbers
private

Numbers in cell 1 of vertices common with cell 2

Definition at line 941 of file CellMerger.cc.

Referenced by _setCellsNodeNumbers(), and CellToHexahedronMerger().

◆ m_cell_2_common_node_numbers

IntegerUniqueArray Arcane::mesh::CellToHexahedronMerger::m_cell_2_common_node_numbers
private

Numbers in cell 2 of vertices common with cell 1

Definition at line 942 of file CellMerger.cc.

Referenced by _setCellsNodeNumbers().

◆ m_cell_2_exchanged_node_numbers

IntegerUniqueArray Arcane::mesh::CellToHexahedronMerger::m_cell_2_exchanged_node_numbers
private

Numbers in cell 2 of vertices that will define the merged cell

Definition at line 943 of file CellMerger.cc.

Referenced by _setCellsNodeNumbers(), and CellToHexahedronMerger().

◆ m_hexa_node_neighbors

const Integer Arcane::mesh::CellToHexahedronMerger::m_hexa_node_neighbors = { { 1, 3, 4 }, { 0, 2, 5 }, { 1, 3, 6 }, { 0, 2, 7 }, { 0, 5, 7 }, { 1, 4, 6 }, { 2, 5, 7 }, { 3, 4, 6 } }
staticprivate

List of neighboring nodes by edge in a hexahedron

Definition at line 945 of file CellMerger.cc.

Referenced by _setCellsNodeNumbers().


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