29 #ifndef NEMOSYS_VTKGEOMESH_H_ 30 #define NEMOSYS_VTKGEOMESH_H_ 56 const std::string &phyGrpArrayName = std::string());
71 explicit vtkGeoMesh(vtkUnstructuredGrid *inUnstructuredGrid,
72 const std::string &phyGrpArrayName = std::string());
76 void write(
const std::string &fileName)
override;
77 void report(std::ostream &out)
const override;
84 void getVtkMesh(vtkUnstructuredGrid *dest);
90 void setVtkMesh(vtkUnstructuredGrid *
vtkMesh);
101 static GeoMesh vtk2GM(vtkUnstructuredGrid *vtkMesh,
102 const std::string &phyGrpArrayName = std::string());
104 void resetNative()
override;
110 #endif // NEMOSYS_VTKGEOMESH_H_ geoMeshBase * Read(const std::string &fileName)
Read a mesh from file.
geoMeshBase * New(MeshType meshType)
Create a new mesh object.
A concrete implementation of geoMeshBase representing a mesh in a vtkUnstructuredGrid.
abstract class to specify geometry and mesh data