#include <mesh.hh>
Public Member Functions | |
virtual uint | ncell () const =0 |
Returns the number of cells in the mesh. | |
virtual Scan< Cell > * | scan ()=0 |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
An abstract class for meshes.
This class prescribes the common interface for all classes implementing a mesh. This interface consists of a method to query the number of cells in the mesh and to get a scanner over the mesh.
|
protectedvirtual |
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.
Implemented 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::Import2dMeshEz4u, concepts::Import2DMeshGmsh, concepts::Import3dMesh, concepts::Import3DMeshGmsh, concepts::MutableMesh1, concepts::MutableMesh2, concepts::Square, concepts::Square2, concepts::UniformlyRefinedMesh2, Cube, Cube2, Cube3, Cube, Cube2, and Cube3.
Returns a scanner over the cells of the mesh.
Implemented 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::Import2dMeshEz4u, concepts::Import2DMeshGmsh, concepts::Import3dMesh, concepts::Import3DMeshGmsh, concepts::MutableMesh1, concepts::MutableMesh2, concepts::Square, concepts::Square2, concepts::UniformlyRefinedMesh2, Cube, Cube2, Cube3, Cube, Cube2, Cube3, concepts::Mesh1, concepts::Mesh2, and concepts::Mesh3.