concepts::Mesh2withBoundary Class Referenceabstract
Base class for mesh classes in 2D which defines its outer boundary and inner boundaries. More...
#include <mesh.hh>
Public Member Functions | |
void | addInnerBoundary (const Sequence< Edge2d * > &innerBoundary) |
Adds clones of the edges in innerBoundary as new inner boundary. More... | |
const Sequence< Sequence< Edge2d * > > & | innerBoundary () const |
virtual uint | ncell () const =0 |
Returns the number of cells in the mesh. More... | |
const Sequence< Edge2d * > & | outerBoundary () const |
virtual Scan2 * | scan ()=0 |
Returns a scanner over the cells of the mesh. More... | |
virtual | ~Mesh2withBoundary () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Protected Attributes | |
Sequence< Sequence< Edge2d * > > | innerBoundary_ |
Several internal boundaries given by edges in 2D. More... | |
Sequence< Edge2d * > | outerBoundary_ |
Outer boundary given by edges in 2D. More... | |
Detailed Description
Base class for mesh classes in 2D which defines its outer boundary and inner boundaries.
Constructor & Destructor Documentation
◆ ~Mesh2withBoundary()
|
virtual |
Member Function Documentation
◆ addInnerBoundary()
|
inherited |
Adds clones of the edges in innerBoundary
as new inner boundary.
◆ info()
|
protectedvirtualinherited |
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.
◆ innerBoundary()
◆ ncell()
|
pure virtualinherited |
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.
◆ outerBoundary()
◆ scan()
|
pure virtualinherited |
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.
Implements concepts::Mesh.
Implemented in concepts::UniformlyRefinedMesh2, concepts::Square2, concepts::Square, concepts::MutableMesh2, concepts::Import2DMeshGmsh, concepts::Import2dMeshEz4u, concepts::Import2dMeshBase, concepts::ConvertMeshQuads, concepts::SquareOneInfiniteRect, concepts::SquareTwoInfiniteRects, concepts::Circle, and estimator::LocalMesh2.
- Examples
- meshes.cc.
Member Data Documentation
◆ innerBoundary_
◆ outerBoundary_
The documentation for this class was generated from the following file:
- geometry/mesh.hh