#include "modules/PanNDE/include/Mesh.hpp"
Classes | |
struct | Cell |
struct | Node |
Public Member Functions | |
virtual int32_t | nodeCount ()=0 |
virtual int32_t | cellCount ()=0 |
virtual int32_t | partitionId ()=0 |
virtual void | nodeCoordinate (int32_t node_id, double coord[3])=0 |
virtual std::shared_ptr< PanNDE::Array< double > > | nodeCoordinate (int32_t node_id)=0 |
virtual void | cell (int32_t cell_id, int32_t *nodes)=0 |
virtual std::shared_ptr< PanNDE::Array< int32_t > > | cell (int32_t cell_id)=0 |
virtual void | connectedCells (int32_t node_id, int32_t *cells)=0 |
virtual std::shared_ptr< PanNDE::Array< int32_t > > | connectedCells (int32_t node_id)=0 |
virtual int64_t | globalNodeId (int32_t node_id)=0 |
virtual int32_t | nodeHomePartition (int32_t node_id)=0 |
virtual int64_t | globalCellId (int32_t cell_id)=0 |
virtual int32_t | cellHomePartition (int32_t cell_id)=0 |
virtual void | copy (PanNDE::Mesh *other)=0 |
virtual void | copy (std::shared_ptr< PanNDE::Mesh > other)=0 |
Defines the methods required to interact with a Mesh
|
pure virtual |
get the nodes which define the corners of the cell. A well constructed mesh implementation should return the node indices in a CGNS compliant winding scheme
Implemented in Stubs::PrePartitionedStubHexMesh, and HostData::HexMesh.
|
pure virtual |
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
Implemented in Stubs::PrePartitionedStubHexMesh, and HostData::HexMesh.
|
pure virtual |
get the number of cells in the mesh
Implemented in Stubs::PrePartitionedStubHexMesh, and HostData::HexMesh.
|
pure virtual |
get the partition which owns the cell (i.e., updates values at this cell)
Implemented in Stubs::PrePartitionedStubHexMesh, and HostData::HexMesh.
|
pure virtual |
get the cells to which the node serves as corners. A well constructed mesh implementation should return the cell indices in a CGNS compliant winding scheme
Implemented in Stubs::PrePartitionedStubHexMesh, and HostData::HexMesh.
|
pure virtual |
get the cells to which the node serves as corners. A well constructed mesh implementation should return the cell indices in a CGNS compliant winding scheme
Implemented in Stubs::PrePartitionedStubHexMesh, and HostData::HexMesh.
|
pure virtual |
create a copy of another mesh
other | the source mesh for the copy |
Implemented in Stubs::PrePartitionedStubHexMesh, and HostData::HexMesh.
|
pure virtual |
create a copy of another mesh
other | the source mesh for the copy |
|
pure virtual |
get the global cell index for a given local index (for a partitioned mesh)
Implemented in Stubs::PrePartitionedStubHexMesh, and HostData::HexMesh.
|
pure virtual |
get the global node index for a given local index (for a partitioned mesh)
Implemented in Stubs::PrePartitionedStubHexMesh, and HostData::HexMesh.
|
pure virtual |
get the nodal coordinates
Implemented in Stubs::PrePartitionedStubHexMesh, and HostData::HexMesh.
|
pure virtual |
get the nodal coordinates
Implemented in Stubs::PrePartitionedStubHexMesh, and HostData::HexMesh.
|
pure virtual |
get the number of nodes in the mesh
Implemented in Stubs::PrePartitionedStubHexMesh, and HostData::HexMesh.
|
pure virtual |
get the partition which owns the node (i.e., updates values at this node)
Implemented in Stubs::PrePartitionedStubHexMesh, and HostData::HexMesh.
|
pure virtual |
get the partition identifier for this mesh
Implemented in Stubs::PrePartitionedStubHexMesh, and HostData::HexMesh.