#include <mutableMesh.hh>
Public Member Functions | |
virtual void | addCell (Cell *cell, bool holding=true)=0 |
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 | |
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. | |
Base class for mutable meshes. Just provide the pure virtual method addCell() for cells of a particular dimension.
Definition at line 22 of file mutableMesh.hh.
Implemented in concepts::MutableMesh1, and concepts::MutableMesh2.
|
inline |
Definition at line 36 of file mutableMesh.hh.
|
inline |
Definition at line 38 of file mutableMesh.hh.
|
inline |
Definition at line 40 of file mutableMesh.hh.
|
inline |
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.
|
protected |
Maps from vertices to connectors.
Definition at line 53 of file mutableMesh.hh.
Stored cells.
Definition at line 46 of file mutableMesh.hh.
|
protected |
Stored connectors.
Definition at line 48 of file mutableMesh.hh.
|
protected |
Definition at line 49 of file mutableMesh.hh.
|
protected |
Definition at line 50 of file mutableMesh.hh.
|
protected |
Definition at line 51 of file mutableMesh.hh.