#include <uniformlyRefinedMesh2.hh>
Public Member Functions | |
UniformlyRefinedMesh2 (Mesh2 &coarseMesh, uint level) | |
virtual | ~UniformlyRefinedMesh2 () |
Destructor. | |
virtual uint | ncell () const |
Returns the number of cells in the mesh. | |
virtual Scan2 * | scan () |
Returns a scanner over the cells of the mesh. | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Wrapper class refining an existing 2d mesh uniformly. This class then represents a mesh where each cell of the original mesh is subdivided into 4level cells.
Definition at line 22 of file uniformlyRefinedMesh2.hh.
Constructor. Takes an existing mesh to be refined by a given level
coarseMesh | Mesh to be refined |
level | Desired level of refinement |
|
inlinevirtual |
Destructor.
Definition at line 30 of file uniformlyRefinedMesh2.hh.
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in estimator::LocalMesh2, Cube, Cube2, Cube3, concepts::Circle, Cube, Cube2, Cube3, concepts::Cuboid, concepts::EdgeMesh, concepts::CircleBoundary, concepts::StraightPeriodicBoundary, concepts::SquareTwoInfiniteRects, concepts::SquareOneInfiniteRect, concepts::Import3DTetMesh, concepts::ConvertMeshQuads, concepts::Line, concepts::Import2dMeshBase, concepts::Import2dMesh, concepts::Import2dMeshEz4u, concepts::Import2dMeshGeneral, concepts::Import2DMeshGmsh, concepts::Import3dMesh, concepts::Import3DMeshGmsh, concepts::MutableMesh1, concepts::MutableMesh2, concepts::Square, concepts::Square2, Cube, Cube2, Cube3, Cube, Cube2, and Cube3.
Returns the number of cells in the mesh.
Implements concepts::Mesh.
Definition at line 32 of file uniformlyRefinedMesh2.hh.
Returns a scanner over the cells of the mesh.
Implements concepts::Mesh2.
Definition at line 34 of file uniformlyRefinedMesh2.hh.