concepts::EdgeMesh Class Reference
Base class for edge meshes. More...
#include <edgeMeshes.hh>
Classes | |
class | S |
scanner over the cells More... | |
Public Member Functions | |
const Sequence< Edge2d * > & | cells () const |
EdgeMesh (const MappingEdge2d *map, Attribute attrib=Attribute()) | |
Constructor for a single edge. More... | |
EdgeMesh (const uint n, bool closed, const Sequence< MappingEdge2d * > &maps, Attribute attrib=Attribute(), Sequence< Attribute > vattrib=Sequence< Attribute >()) | |
Constructor for edges forming a chain. More... | |
uint | ncell () const |
Returns the number of cells in the mesh. More... | |
Scan1 * | scan () |
Returns a scanner over the cells of the mesh. More... | |
virtual | ~EdgeMesh () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Protected Attributes | |
Sequence< Edge2d * > | cell_ |
Cells. More... | |
Array< MappingEdge2d * > | edges_ |
Edge parametrisation. More... | |
const uint | n_ |
uint | ncell_ |
Private Attributes | |
Array< Edge * > | edg_ |
Array< Vertex * > | vtx_ |
Detailed Description
Base class for edge meshes.
Creates the topological entities. The geometry has to be defined by derived classes.
Definition at line 27 of file edgeMeshes.hh.
Constructor & Destructor Documentation
◆ EdgeMesh() [1/2]
concepts::EdgeMesh::EdgeMesh | ( | const uint | n, |
bool | closed, | ||
const Sequence< MappingEdge2d * > & | maps, | ||
Attribute | attrib = Attribute() , |
||
Sequence< Attribute > | vattrib = Sequence< Attribute >() |
||
) |
Constructor for edges forming a chain.
- Parameters
-
n number of edges closed if first and last node coincide maps edge parametrisations attrib edge attributes vattrib vertex attributes
◆ EdgeMesh() [2/2]
concepts::EdgeMesh::EdgeMesh | ( | const MappingEdge2d * | map, |
Attribute | attrib = Attribute() |
||
) |
Constructor for a single edge.
- Parameters
-
map edge parametrisation attrib edge attribute
◆ ~EdgeMesh()
|
virtual |
Member Function Documentation
◆ cells()
Definition at line 54 of file edgeMeshes.hh.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::Mesh.
◆ ncell()
|
inlinevirtual |
Returns the number of cells in the mesh.
Implements concepts::Mesh.
Definition at line 51 of file edgeMeshes.hh.
◆ scan()
|
inlinevirtual |
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::Mesh1.
Definition at line 52 of file edgeMeshes.hh.
Member Data Documentation
◆ cell_
Cells.
Definition at line 66 of file edgeMeshes.hh.
◆ edg_
Definition at line 69 of file edgeMeshes.hh.
◆ edges_
|
protected |
Edge parametrisation.
Definition at line 63 of file edgeMeshes.hh.
◆ n_
|
protected |
Definition at line 59 of file edgeMeshes.hh.
◆ ncell_
|
protected |
Definition at line 60 of file edgeMeshes.hh.
◆ vtx_
Definition at line 68 of file edgeMeshes.hh.
The documentation for this class was generated from the following file:
- geometry/edgeMeshes.hh