Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::Import2dMeshEz4u Class Reference

#include <meshImport2Dez4u.hh>

Inheritance diagram for concepts::Import2dMeshEz4u:
concepts::Mesh2 concepts::Mesh concepts::OutputOperator

Public Member Functions

 Import2dMeshEz4u (const std::string filename)
 
uint ncell () const
 Returns the number of cells in the mesh.
 
Scan2scan ()
 
virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Detailed Description

Imports 2D mesh with triangles(currently not supported) and quadrilaterals (possibly mixed) from mesh generator ez4u.

EZ4U is a mesh generation environment that includes the Gen4u algorithm for quadrilateral mesh generation. The quadrilateral mesh generation algorithm consist of continuous splitting of the domain until quadrilateral elements of the prescribed size are obtained.

for more information, see http://www-lacan.upc.es/ez4u.htm

Author
Mengyu Wang, 2011

Definition at line 33 of file meshImport2Dez4u.hh.

Constructor & Destructor Documentation

◆ Import2dMeshEz4u()

concepts::Import2dMeshEz4u::Import2dMeshEz4u ( const std::string  filename)

Constructor The ez4u file (.dcm or .DCM) is needed.

Parameters
filenameFile generated by ez4u

Member Function Documentation

◆ info()

virtual std::ostream & concepts::Import2dMeshEz4u::info ( std::ostream &  os) const
virtual

Returns information in an output stream.

Reimplemented from concepts::Mesh.

◆ ncell()

uint concepts::Import2dMeshEz4u::ncell ( ) const
inlinevirtual

Returns the number of cells in the mesh.

Implements concepts::Mesh.

Definition at line 43 of file meshImport2Dez4u.hh.

◆ scan()

Scan2 * concepts::Import2dMeshEz4u::scan ( )
inlinevirtual

Returns a scanner over the cells of the mesh.

Postcondition
The scanner must be deleted after usage. This has to be done by the user.

Implements concepts::Mesh2.

Definition at line 44 of file meshImport2Dez4u.hh.


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