Wrapper class refining an existing 2d mesh uniformly. More...
#include <uniformlyRefinedMesh2.hh>


Classes | |
| class | S |
| Scanner class for UniformlyRefindeMesh2. More... | |
Public Member Functions | |
| virtual uint | ncell () const |
| Returns the number of cells in the mesh. | |
| virtual Scan2 * | scan () |
| Returns a scanner over the cells of the mesh. | |
| UniformlyRefinedMesh2 (Mesh2 &coarseMesh, uint level) | |
| Constructor. | |
| virtual | ~UniformlyRefinedMesh2 () |
| Destructor. | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Private Member Functions | |
| void | addCell (Cell2 *cell, uint level) |
Private Attributes | |
| std::vector< Cell2 * > | cell_ |
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 15 of file uniformlyRefinedMesh2.hh.
| concepts::UniformlyRefinedMesh2::UniformlyRefinedMesh2 | ( | Mesh2 & | coarseMesh, |
| uint | level | ||
| ) |
Constructor.
Takes an existing mesh to be refined by a given level
| coarseMesh | Mesh to be refined |
| level | Desired level of refinement |
| virtual concepts::UniformlyRefinedMesh2::~UniformlyRefinedMesh2 | ( | ) | [inline, virtual] |
Destructor.
Definition at line 23 of file uniformlyRefinedMesh2.hh.
| void concepts::UniformlyRefinedMesh2::addCell | ( | Cell2 * | cell, |
| uint | level | ||
| ) | [private] |
| virtual std::ostream& concepts::Mesh::info | ( | std::ostream & | os | ) | const [protected, virtual, inherited] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in concepts::gfem::PeriodicRect, PeriodicRect, Rectangle, PeriodicSquare, PeriodiCube, concepts::NQuads, concepts::NQuads, concepts::FiveQuads, concepts::NQuads, concepts::OrigamiCube2D, concepts::QuadGrid2D, concepts::ThreeQuads, concepts::ThreeQuadsdym, concepts::SimpleLine, concepts::ThinSheet, concepts::ThinSheetParabel, concepts::ThinSheetEllipse, concepts::ThinSheetEllipse2, concepts::ThreeQuads, Cube, Cube2, Cube3, concepts::Circle, concepts::EdgeMesh, concepts::CircleBoundary, concepts::SquareTwoInfiniteRects, concepts::SquareOneInfiniteRect, concepts::Import3DTetMesh, concepts::ConvertMeshQuads, concepts::Line, concepts::Import2dMeshBase, concepts::Import2dMesh, concepts::Import2dMeshEz4u, concepts::Import2dMeshGeneral, concepts::Import3dMesh, concepts::MutableMesh1, concepts::MutableMesh2, concepts::Square, and concepts::Square2.
| virtual uint concepts::UniformlyRefinedMesh2::ncell | ( | ) | const [inline, virtual] |
Returns the number of cells in the mesh.
Implements concepts::Mesh.
Definition at line 25 of file uniformlyRefinedMesh2.hh.
| virtual Scan2* concepts::UniformlyRefinedMesh2::scan | ( | ) | [inline, virtual] |
Returns a scanner over the cells of the mesh.
Implements concepts::Mesh2.
Definition at line 27 of file uniformlyRefinedMesh2.hh.
std::vector<Cell2*> concepts::UniformlyRefinedMesh2::cell_ [private] |
Definition at line 43 of file uniformlyRefinedMesh2.hh.