#include <meshImport2Dgmsh.hh>
Public Member Functions | |
Import2DMeshGmsh (const std::string &filename) | |
unsigned int | ncell () const |
Returns the number of cells in the mesh. | |
concepts::Scan2 * | scan () |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Imports a 2D quadrilateral mesh from 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 edges are only supported up to order 2 and will be interpreted as circular edges.
For more information about Gmsh see http://geuz.org/gmsh/
Definition at line 39 of file meshImport2Dgmsh.hh.
concepts::Import2DMeshGmsh::Import2DMeshGmsh | ( | 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 50 of file meshImport2Dgmsh.hh.
|
inlinevirtual |
Returns a scanner over the cells of the mesh.
Implements concepts::Mesh2.
Definition at line 54 of file meshImport2Dgmsh.hh.