#include "modules/HostData/include/HexMesh.hpp"
◆ HexMesh() [1/2]
HostData::HexMesh::HexMesh |
( |
| ) |
|
|
inline |
◆ HexMesh() [2/2]
mesh constructor from arrays of nodes, cells and partion identifier
◆ cell() [1/2]
std::shared_ptr<PanNDE::Array<int32_t> > HostData::HexMesh::cell |
( |
int32_t |
cell_id | ) |
|
|
inlineoverridevirtual |
get the nodes which define the corners of the cell. Returns the node indices in a CGNS compliant winding scheme
Implements PanNDE::Mesh.
◆ cell() [2/2]
void HostData::HexMesh::cell |
( |
int32_t |
cell_id, |
|
|
int32_t * |
nodes |
|
) |
| |
|
inlineoverridevirtual |
get the nodes which define the corners of the cell. A well constructed mesh implementation should return the nodes in a CGNS compliant winding scheme
Implements PanNDE::Mesh.
◆ cellCount()
int32_t HostData::HexMesh::cellCount |
( |
| ) |
|
|
inlineoverridevirtual |
get the number of cells in the mesh
Implements PanNDE::Mesh.
◆ cellHomePartition()
int32_t HostData::HexMesh::cellHomePartition |
( |
int32_t |
cell_id | ) |
|
|
inlineoverridevirtual |
get the partition which owns the cell (i.e., updates values at this cell)
Implements PanNDE::Mesh.
◆ connectedCells() [1/2]
std::shared_ptr<PanNDE::Array<int32_t> > HostData::HexMesh::connectedCells |
( |
int32_t |
node_id | ) |
|
|
inlineoverridevirtual |
get the cells to which the node serves as corners. Returns the cell indices in a CGNS compliant winding scheme
Implements PanNDE::Mesh.
◆ connectedCells() [2/2]
void HostData::HexMesh::connectedCells |
( |
int32_t |
node_id, |
|
|
int32_t * |
cells |
|
) |
| |
|
inlineoverridevirtual |
get the cells to which the node serves as corners. Returns the cell indices in a CGNS compliant winding scheme
Implements PanNDE::Mesh.
◆ copy() [1/2]
create a copy of another mesh
- Parameters
-
other | the source mesh for the copy |
Implements PanNDE::Mesh.
◆ copy() [2/2]
void HostData::HexMesh::copy |
( |
std::shared_ptr< PanNDE::Mesh > |
other | ) |
|
|
inlineoverride |
create a copy of another mesh
- Parameters
-
other | the source mesh for the copy |
◆ globalCellId()
int64_t HostData::HexMesh::globalCellId |
( |
int32_t |
cell_id | ) |
|
|
inlineoverridevirtual |
get the global cell index for a given local index (for a partitioned mesh)
Implements PanNDE::Mesh.
◆ globalNodeId()
int64_t HostData::HexMesh::globalNodeId |
( |
int32_t |
node_id | ) |
|
|
inlineoverridevirtual |
get the global node index for a given local index (for a partitioned mesh)
Implements PanNDE::Mesh.
◆ nodeCoordinate() [1/2]
std::shared_ptr<PanNDE::Array<double> > HostData::HexMesh::nodeCoordinate |
( |
int32_t |
node_id | ) |
|
|
inlineoverridevirtual |
◆ nodeCoordinate() [2/2]
void HostData::HexMesh::nodeCoordinate |
( |
int32_t |
node_id, |
|
|
double |
coord[3] |
|
) |
| |
|
inlineoverridevirtual |
◆ nodeCount()
int32_t HostData::HexMesh::nodeCount |
( |
| ) |
|
|
inlineoverridevirtual |
get the number of nodes in the mesh
Implements PanNDE::Mesh.
◆ nodeHomePartition()
int32_t HostData::HexMesh::nodeHomePartition |
( |
int32_t |
node_id | ) |
|
|
inlineoverridevirtual |
get the partition which owns the node (i.e., updates values at this node)
Implements PanNDE::Mesh.
◆ partitionId()
int32_t HostData::HexMesh::partitionId |
( |
| ) |
|
|
inlineoverridevirtual |
get the partition identifier for this mesh
Implements PanNDE::Mesh.
The documentation for this class was generated from the following file: