#include <mutableMesh.hh>
Public Member Functions | |
uint | ncell () const |
Returns the number of cells in the mesh. | |
Scan1 * | scan () |
virtual void | addCell (Cell *cell, bool holding=true) |
void | replaceCell (Cell1 *cell, bool holding=true) |
const Sequence< Cell1 * > & | cells () const |
Edge * | ownEdge (Vertex *vtx1, Vertex *vtx2) |
const Sequence< Connector0 * > & | ownConnectors0 () const |
const Sequence< Connector1 * > & | ownConnectors1 () const |
const Sequence< Connector2 * > & | ownConnectors2 () const |
const Sequence< Connector3 * > & | ownConnectors3 () const |
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. | |
Class for holding a general mutable mesh of line elements where cells can be added.
The cells (connectors) have to exist until the deletion of this object.
Definition at line 74 of file mutableMesh.hh.
|
inline |
Definition at line 76 of file mutableMesh.hh.
Adds a cell to the mesh, which is by default hold and will be deleted by its destructor.
Implements concepts::MutableMeshBase.
Definition at line 92 of file mutableMesh.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 78 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.
|
inlinevirtual |
Returns a scanner over the cells of the mesh.
Implements concepts::Mesh1.
Definition at line 79 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.