Go to the documentation of this file.
7 #ifndef meshConverter2D_hh
8 #define meshConverter2D_hh
48 virtual std::ostream&
info(std::ostream& os)
const;
66 S(std::list<Quad2d*>& cell) :
73 std::list<Quad2d*>::iterator
idx_;
84 #endif // meshConverter2D_hh
bool hasQuads
Checks for a mixed mesh.
Joiner< Quad2d *, 1 > * newQuadList_
List of new quads.
ConvertMeshQuads(Mesh2 &m, const uint level)
Constructor.
virtual uint ncell() const
Returns the number of cells in the mesh.
A 2D cell: quadrilateral.
S(std::list< Quad2d * > &cell)
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Joiner class with multiple successors, i.e.
std::list< Quad2d * > & cell_
std::list< Quad2d * >::iterator idx_
virtual Scan2 * scan()
Returns a scanner over the cells of the mesh.
An abstract class for 2D meshes.
void convertCell_(Cell2 &c, const uint level)
Handles a cell if it is on the correct level, otherwise, recurses.
Scanner class for ConvertMeshQuads.
Joiner< Vertex *, 1 > * vertexList_
List of new vertices (centers of gravity of the triangles)
Quad2d & operator++(int)
Returns the next cell.
std::list< Quad2d * > quadList_
List of quads in the new mesh.
Basic namespace for Concepts-2.
Joiner< Edge *, 1 > * edgeList_
List of new edges.