#include <mutableMesh.hh>
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
void | addCell_ (Cell *cell, bool holding=true) |
void | replaceCell_ (Cell *cell, bool holding=true) |
Protected Attributes | |
Sequence< const Cell * > | ownCells_ |
Stored cells. | |
Sequence< Connector0 * > | ownConnectors0_ |
Stored connectors. | |
Sequence< Connector1 * > | ownConnectors1_ |
Sequence< Connector2 * > | ownConnectors2_ |
Sequence< Connector3 * > | ownConnectors3_ |
MultiArray< 2, Edge * > | mapEdges_ |
Maps from vertices to connectors. | |
Sequence< Edge2d * > | outerBoundary_ |
Outer boundary given by edges in 2D. | |
Sequence< Sequence< Edge2d * > > | innerBoundary_ |
Several internal boundaries given by edges in 2D. | |
Connected mesh of two given meshes where edges on both outer boundaries are connected.
Definition at line 211 of file mutableMesh.hh.
concepts::ConnectTwoMeshes::ConnectTwoMeshes | ( | Mesh2withBoundary & | mesh1, |
const Sequence< uint > | edges1, | ||
Mesh2withBoundary & | mesh2, | ||
const Sequence< uint > | edges2, | ||
const Attribute | attrib = Attribute() |
||
) |
Constructor
mesh1 | first mesh |
mesh2 | second mesh |
edges1 | number of edges on first mesh |
edges2 | number of edges on second mesh |
The edges of the outer boundary of mesh
and mesh2
are given counter-clockwise as well as edges2
, but edges1
is given clockwise. The i-th edge in edges1
is connected to the i-th edge of edges2
.
|
inlinevirtual |
Definition at line 228 of file mutableMesh.hh.
Adds a cell to the mesh, which is by default hold by this object and will be deleted by its destructor.
Implements concepts::MutableMeshBase.
Adds cells of another mesh. The cells will not be deleted internally.
|
inherited |
Adds a quadrilateral connecting the two edges.
New entities, as stored only internally, will be deleted internally.
|
inherited |
Adds quadrilateral connecting respective two edges of the two sequences (with same number of edges). The edges in each sequence have to be connected.
It will be searched for the edge pair of smalled distance and the rest if connected in the order of the given edges, i.e. they have to have matching order (e.g. both counter-clockwise).
New entities, as stored only internally, will be deleted internally.
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::Mesh.
|
inlineinherited |
Return the latest added cell.
Definition at line 161 of file mutableMesh.hh.
|
inlinevirtualinherited |
Returns the number of cells in the mesh.
Implements concepts::Mesh.
Definition at line 146 of file mutableMesh.hh.
|
inlineinherited |
Definition at line 36 of file mutableMesh.hh.
|
inlineinherited |
Definition at line 38 of file mutableMesh.hh.
|
inlineinherited |
Definition at line 40 of file mutableMesh.hh.
|
inlineinherited |
Definition at line 42 of file mutableMesh.hh.
Returns the own edge with the two vertices.
If it does not exist the new edge will be created, stored and added it to maps from vertices
Replaces by cell
the cell with the same connector. This is good to replace the element map while holding the connectivity.
|
protectedinherited |
Replaces by cell
the cell with the same connector. This is good to replace the element map while holding the connectivity.
|
inlinevirtualinherited |
Returns a scanner over the cells of the mesh.
Implements concepts::Mesh2.
Definition at line 147 of file mutableMesh.hh.
|
protectedinherited |
Maps from vertices to connectors.
Definition at line 53 of file mutableMesh.hh.
Stored cells.
Definition at line 46 of file mutableMesh.hh.
|
protectedinherited |
Stored connectors.
Definition at line 48 of file mutableMesh.hh.
|
protectedinherited |
Definition at line 49 of file mutableMesh.hh.
|
protectedinherited |
Definition at line 50 of file mutableMesh.hh.
|
protectedinherited |
Definition at line 51 of file mutableMesh.hh.