PanNDE
All Classes Namespaces Functions Pages
Classes | Public Member Functions | List of all members
Stubs::PrePartitionedStubHexMesh Class Reference
Inheritance diagram for Stubs::PrePartitionedStubHexMesh:
PanNDE::Mesh

Public Member Functions

 PrePartitionedStubHexMesh (int partId, int Nparts)
 
int32_t nodeCount () override
 
int32_t cellCount () override
 
int32_t partitionId () override
 
int64_t globalNodeId (int32_t node_id) override
 
int32_t nodeHomePartition (int32_t node_id) override
 
int64_t globalCellId (int32_t cell_id) override
 
int32_t cellHomePartition (int32_t cell_id) override
 
void nodeCoordinate (int32_t node_id, double coord[3]) override
 
void cell (int32_t cell_id, int32_t *nodes) override
 
void connectedCells (int32_t node_id, int32_t *cells) override
 
std::shared_ptr< PanNDE::Array< double > > nodeCoordinate (int32_t node_id) override
 
std::shared_ptr< PanNDE::Array< int32_t > > cell (int32_t cell_id) override
 
std::shared_ptr< PanNDE::Array< int32_t > > connectedCells (int32_t node_id) override
 
void copy (PanNDE::Mesh *other) override
 
void copy (std::shared_ptr< PanNDE::Mesh > other) override
 
- Public Member Functions inherited from PanNDE::Mesh
virtual void copy (std::shared_ptr< PanNDE::Mesh > other)=0
 

Member Function Documentation

◆ cell() [1/2]

std::shared_ptr<PanNDE::Array<int32_t> > Stubs::PrePartitionedStubHexMesh::cell ( int32_t  cell_id)
inlineoverridevirtual

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

Implements PanNDE::Mesh.

◆ cell() [2/2]

void Stubs::PrePartitionedStubHexMesh::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 Stubs::PrePartitionedStubHexMesh::cellCount ( )
inlineoverridevirtual

get the number of cells in the mesh

Implements PanNDE::Mesh.

◆ cellHomePartition()

int32_t Stubs::PrePartitionedStubHexMesh::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> > Stubs::PrePartitionedStubHexMesh::connectedCells ( int32_t  node_id)
inlineoverridevirtual

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

Implements PanNDE::Mesh.

◆ connectedCells() [2/2]

void Stubs::PrePartitionedStubHexMesh::connectedCells ( int32_t  node_id,
int32_t *  cells 
)
inlineoverridevirtual

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

Implements PanNDE::Mesh.

◆ copy()

void Stubs::PrePartitionedStubHexMesh::copy ( PanNDE::Mesh other)
inlineoverridevirtual

create a copy of another mesh

Parameters
otherthe source mesh for the copy

Implements PanNDE::Mesh.

◆ globalCellId()

int64_t Stubs::PrePartitionedStubHexMesh::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 Stubs::PrePartitionedStubHexMesh::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> > Stubs::PrePartitionedStubHexMesh::nodeCoordinate ( int32_t  node_id)
inlineoverridevirtual

get the nodal coordinates

Implements PanNDE::Mesh.

◆ nodeCoordinate() [2/2]

void Stubs::PrePartitionedStubHexMesh::nodeCoordinate ( int32_t  node_id,
double  coord[3] 
)
inlineoverridevirtual

get the nodal coordinates

Implements PanNDE::Mesh.

◆ nodeCount()

int32_t Stubs::PrePartitionedStubHexMesh::nodeCount ( )
inlineoverridevirtual

get the number of nodes in the mesh

Implements PanNDE::Mesh.

◆ nodeHomePartition()

int32_t Stubs::PrePartitionedStubHexMesh::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 Stubs::PrePartitionedStubHexMesh::partitionId ( )
inlineoverridevirtual

get the partition identifier for this mesh

Implements PanNDE::Mesh.


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