concepts::Import2dMeshEz4u Class Reference

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

#include <meshImport2Dez4u.hh>

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

Public Member Functions

 Import2dMeshEz4u (const std::string filename)
 Constructor The ez4u file (.dcm or .DCM) is needed. More...
 
virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 
uint ncell () const
 Returns the number of cells in the mesh. More...
 
Scan2scan ()
 Returns a scanner over the cells of the mesh. More...
 
virtual ~Import2dMeshEz4u ()
 

Private Attributes

MultiArray< 2, int > Attrib_edg_
 
MultiArray< 1, int > Attrib_elm_
 
MultiArray< 1, int > Attrib_vtx_
 
Sequence< Cell2 * > cell_
 
Sequence< Real2dcoord_
 
Sequence< Edge * > edg_
 
MultiArray< 2, Edge * > Edg_
 
Sequence< Quad * > quad_
 
Sequence< Vertex * > vtx_
 
MultiArray< 1, Vertex * > Vtx_
 

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

◆ ~Import2dMeshEz4u()

virtual concepts::Import2dMeshEz4u::~Import2dMeshEz4u ( )
virtual

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.

Member Data Documentation

◆ Attrib_edg_

MultiArray<2,int> concepts::Import2dMeshEz4u::Attrib_edg_
private

Definition at line 67 of file meshImport2Dez4u.hh.

◆ Attrib_elm_

MultiArray<1,int> concepts::Import2dMeshEz4u::Attrib_elm_
private

Definition at line 65 of file meshImport2Dez4u.hh.

◆ Attrib_vtx_

MultiArray<1,int> concepts::Import2dMeshEz4u::Attrib_vtx_
private

Definition at line 69 of file meshImport2Dez4u.hh.

◆ cell_

Sequence<Cell2*> concepts::Import2dMeshEz4u::cell_
private

Definition at line 63 of file meshImport2Dez4u.hh.

◆ coord_

Sequence<Real2d> concepts::Import2dMeshEz4u::coord_
private

Definition at line 51 of file meshImport2Dez4u.hh.

◆ edg_

Sequence<Edge*> concepts::Import2dMeshEz4u::edg_
private

Definition at line 57 of file meshImport2Dez4u.hh.

◆ Edg_

MultiArray<2, Edge*> concepts::Import2dMeshEz4u::Edg_
private

Definition at line 59 of file meshImport2Dez4u.hh.

◆ quad_

Sequence<Quad*> concepts::Import2dMeshEz4u::quad_
private

Definition at line 61 of file meshImport2Dez4u.hh.

◆ vtx_

Sequence<Vertex*> concepts::Import2dMeshEz4u::vtx_
private

Definition at line 53 of file meshImport2Dez4u.hh.

◆ Vtx_

MultiArray<1,Vertex*> concepts::Import2dMeshEz4u::Vtx_
private

Definition at line 55 of file meshImport2Dez4u.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich