#include <meshImport3Dgmsh.hh>
Public Member Functions | |
Import3DMeshGmsh (const std::string &filename) | |
unsigned int | ncell () const |
Returns the number of cells in the mesh. | |
concepts::Scan3 * | scan () |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Imports a 3D mesh consisting only of hexahedrons from created with the mesh generator gmsh.
This version reads the MSH ASCII file format (.msh). Parser reads only elements of type
Elements with other flags will be ignored. Curved elements are not supported.
For more information about Gmsh see http://geuz.org/gmsh/
Definition at line 37 of file meshImport3Dgmsh.hh.
concepts::Import3DMeshGmsh::Import3DMeshGmsh | ( | const std::string & | filename | ) |
Constructor. Creates a mesh from a Gmsh file (.msh).
filename | File generated by gmsh |
|
virtual |
Returns information in an output stream.
Reimplemented from concepts::Mesh.
Returns the number of cells in the mesh.
Implements concepts::Mesh.
Definition at line 48 of file meshImport3Dgmsh.hh.
|
inlinevirtual |
Returns a scanner over the cells of the mesh.
Implements concepts::Mesh3.
Definition at line 52 of file meshImport3Dgmsh.hh.