#include <edgeMeshes.hh>
Public Member Functions | |
EdgeMesh (const uint n, bool closed, const Sequence< MappingEdge2d * > &maps, Attribute attrib=Attribute(), Sequence< Attribute > vattrib=Sequence< Attribute >()) | |
EdgeMesh (const MappingEdge2d *map, Attribute attrib=Attribute()) | |
uint | ncell () const |
Returns the number of cells in the mesh. | |
Scan1 * | scan () |
const Sequence< Edge2d * > & | cells () const |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Protected Attributes | |
const uint | n_ |
uint | ncell_ |
Array< MappingEdge2d * > | edges_ |
Edge parametrisation. | |
Sequence< Edge2d * > | cell_ |
Cells. | |
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.
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.
n | number of edges |
closed | if first and last node coincide |
maps | edge parametrisations |
attrib | edge attributes |
vattrib | vertex attributes |
concepts::EdgeMesh::EdgeMesh | ( | const MappingEdge2d * | map, |
Attribute | attrib = Attribute() |
||
) |
Constructor for a single edge
map | edge parametrisation |
attrib | edge attribute |
Definition at line 54 of file edgeMeshes.hh.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::Mesh.
|
inlinevirtual |
Returns the number of cells in the mesh.
Implements concepts::Mesh.
Definition at line 51 of file edgeMeshes.hh.
|
inlinevirtual |
Returns a scanner over the cells of the mesh.
Implements concepts::Mesh1.
Definition at line 52 of file edgeMeshes.hh.
Cells.
Definition at line 66 of file edgeMeshes.hh.
|
protected |
Edge parametrisation.
Definition at line 63 of file edgeMeshes.hh.
|
protected |
Definition at line 59 of file edgeMeshes.hh.
|
protected |
Definition at line 60 of file edgeMeshes.hh.