#include "modules/HostData/include/HexMesh.hpp"
Public Member Functions | |
PanNDE::Mesh::Node | makeNode (double coord[3], int64_t global_id, int32_t owner=0) override |
PanNDE::Mesh::Cell | makeCell (int32_t *nodes, int32_t Nnodes, int64_t global_id, int32_t owner=0) override |
std::shared_ptr< PanNDE::Mesh > | makeManagedMesh (PanNDE::Mesh::Node *nodes, int64_t Nnodes, PanNDE::Mesh::Cell *cells, int64_t Ncells, int32_t partition=0) override |
std::shared_ptr< PanNDE::Mesh > | makeManagedMesh (std::shared_ptr< PanNDE::Array< PanNDE::Mesh::Node >> nodes, std::shared_ptr< PanNDE::Array< PanNDE::Mesh::Cell >> cells, int32_t partition=0) override |
PanNDE::Mesh * | newMesh (PanNDE::Mesh::Node *nodes, int64_t Nnodes, PanNDE::Mesh::Cell *cells, int64_t Ncells, int32_t partition=0) override |
PanNDE::Mesh * | newMesh (std::shared_ptr< PanNDE::Array< PanNDE::Mesh::Node >> nodes, std::shared_ptr< PanNDE::Array< PanNDE::Mesh::Cell >> cells, int32_t partition=0) override |
void | deleteMesh (PanNDE::Mesh *mesh) override |
std::shared_ptr< PanNDE::Array< std::shared_ptr< PanNDE::Mesh > > > | makeManagedMeshArray () override |
![]() | |
virtual std::shared_ptr< PanNDE::Mesh > | makeManagedMesh (std::shared_ptr< PanNDE::Array< PanNDE::Mesh::Node >> nodes, std::shared_ptr< PanNDE::Array< PanNDE::Mesh::Cell >> cells, int32_t partition=0)=0 |
virtual PanNDE::Mesh * | newMesh (std::shared_ptr< PanNDE::Array< PanNDE::Mesh::Node >> nodes, std::shared_ptr< PanNDE::Array< PanNDE::Mesh::Cell >> cells, int32_t partition=0)=0 |
Implements a factory class to create a HexMesh object
|
inlineoverridevirtual |
delete meshes created using newMesh()
mesh | mesh to be deleted |
Implements PanNDE::MeshFactory.
|
inlineoverridevirtual |
make a cell
nodes | nodal indicies which form the corners of the cell |
Nnodes | number of nodes which define the cell (e.g. 8 for hexes, 4 for tets) |
global_id | the global identifier of the cell |
owner | which mesh partition the cell belongs to |
Implements PanNDE::MeshFactory.
|
inlineoverridevirtual |
create a shared mesh
nodes | a C-style array (not preferred) of Node structs |
Nnodes | the length of the nodes array |
cells | a C-style array (not preferred) of cell structs |
Ncells | the length of the cells array |
partition | the partition identifier of the mesh to be created |
Implements PanNDE::MeshFactory.
|
inlineoverride |
|
inlineoverridevirtual |
create a mesh array
Implements PanNDE::MeshFactory.
|
inlineoverridevirtual |
make a node
coord[3] | nodal cartesian coordinates |
global_id | the global identifier of the node |
owner | which mesh partition the node belongs to |
Implements PanNDE::MeshFactory.
|
inlineoverridevirtual |
create a mesh on a raw pointer. not recommended, call deleteMesh() if used.
nodes | a C-style array (not preferred) of Node structs |
Nnodes | the length of the nodes array |
cells | a C-style array (not preferred) of cell structs |
Ncells | the length of the cells array |
partition | the partition identifier of the mesh to be created |
Implements PanNDE::MeshFactory.
|
inlineoverride |
create a mesh on a raw pointer. not recommended, call deleteMesh() if used.