concepts::Mesh Class Referenceabstract
An abstract class for meshes. More...
#include <mesh.hh>
Public Member Functions | |
virtual uint | ncell () const =0 |
Returns the number of cells in the mesh. More... | |
virtual Scan< Cell > * | scan ()=0 |
Returns a scanner over the cells of the mesh. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Detailed Description
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.
Member Function Documentation
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in Cube3, Cube2, Cube, Cube3, Cube2, Cube, concepts::Square2, concepts::Square, concepts::MutableMesh2, concepts::MutableMesh1, concepts::Import3DMeshGmsh, concepts::Import3dMesh, concepts::Import2DMeshGmsh, concepts::Import2dMeshGeneral, concepts::Import2dMeshEz4u, concepts::Import2dMesh, concepts::Import2dMeshBase, concepts::Line, concepts::ConvertMeshQuads, concepts::Import3DTetMesh, concepts::SquareOneInfiniteRect, concepts::SquareTwoInfiniteRects, concepts::StraightPeriodicBoundary, concepts::CircleBoundary, concepts::EdgeMesh, concepts::Cuboid, Cube3, Cube2, Cube, concepts::Circle, Cube3, Cube2, Cube, and estimator::LocalMesh2.
- Examples
- meshes.cc.
◆ ncell()
|
pure virtual |
Returns the number of cells in the mesh.
Implemented in Cube3, Cube2, Cube, Cube3, Cube2, Cube, concepts::UniformlyRefinedMesh2, concepts::Square2, concepts::Square, concepts::MutableMesh2, concepts::MutableMesh1, concepts::Import3DMeshGmsh, concepts::Import3dMesh, concepts::Import2DMeshGmsh, concepts::Import2dMeshEz4u, concepts::Import2dMeshBase, concepts::Line, concepts::ConvertMeshQuads, concepts::Import3DTetMesh, concepts::SquareOneInfiniteRect, concepts::SquareTwoInfiniteRects, concepts::StraightPeriodicBoundary, concepts::CircleBoundary, concepts::EdgeMesh, concepts::Cuboid, Cube3, Cube2, Cube, concepts::Circle, Cube3, Cube2, Cube, and estimator::LocalMesh2.
- Examples
- meshes.cc.
◆ scan()
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.
Implemented in concepts::Mesh3, concepts::Mesh2, concepts::Mesh1, Cube3, Cube2, Cube, Cube3, Cube2, Cube, concepts::UniformlyRefinedMesh2, concepts::Square2, concepts::Square, concepts::MutableMesh2, concepts::MutableMesh1, concepts::Import3DMeshGmsh, concepts::Import3dMesh, concepts::Import2DMeshGmsh, concepts::Import2dMeshEz4u, concepts::Import2dMeshBase, concepts::Line, concepts::ConvertMeshQuads, concepts::Import3DTetMesh, concepts::SquareOneInfiniteRect, concepts::SquareTwoInfiniteRects, concepts::StraightPeriodicBoundary, concepts::CircleBoundary, concepts::EdgeMesh, concepts::Cuboid, Cube3, Cube2, Cube, concepts::Circle, Cube3, Cube2, Cube, and estimator::LocalMesh2.
The documentation for this class was generated from the following file:
- geometry/mesh.hh