Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Protected Attributes
concepts::MutableMeshBase Class Reference

Base class for mutable meshes. More...

#include <mutableMesh.hh>

Inheritance diagram for concepts::MutableMeshBase:
Inheritance graph
[legend]
Collaboration diagram for concepts::MutableMeshBase:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void addCell (Cell *cell, bool holding=true)=0
 MutableMeshBase ()
const Sequence< Connector0 * > & ownConnectors0 () const
const Sequence< Connector1 * > & ownConnectors1 () const
const Sequence< Connector2 * > & ownConnectors2 () const
const Sequence< Connector3 * > & ownConnectors3 () const
EdgeownEdge (Vertex *vtx1, Vertex *vtx2)
 Returns the own edge with the two vertices.
virtual ~MutableMeshBase ()

Protected Member Functions

void addCell_ (Cell *cell, bool holding=true)
void replaceCell_ (Cell *cell, bool holding=true)
 Replaces by cell the cell with the same connector.

Protected Attributes

MultiArray< 2, Edge * > mapEdges_
 Maps from vertices to connectors.
Sequence< Cell * > ownCells_
 Stored cells.
Sequence< Connector0 * > ownConnectors0_
 Stored connectors.
Sequence< Connector1 * > ownConnectors1_
Sequence< Connector2 * > ownConnectors2_
Sequence< Connector3 * > ownConnectors3_

Detailed Description

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.


Constructor & Destructor Documentation

concepts::MutableMeshBase::MutableMeshBase ( )
virtual concepts::MutableMeshBase::~MutableMeshBase ( ) [virtual]

Member Function Documentation

virtual void concepts::MutableMeshBase::addCell ( Cell cell,
bool  holding = true 
) [pure virtual]
void concepts::MutableMeshBase::addCell_ ( Cell cell,
bool  holding = true 
) [protected]
const Sequence<Connector0*>& concepts::MutableMeshBase::ownConnectors0 ( ) const [inline]

Definition at line 36 of file mutableMesh.hh.

const Sequence<Connector1*>& concepts::MutableMeshBase::ownConnectors1 ( ) const [inline]

Definition at line 38 of file mutableMesh.hh.

const Sequence<Connector2*>& concepts::MutableMeshBase::ownConnectors2 ( ) const [inline]

Definition at line 40 of file mutableMesh.hh.

const Sequence<Connector3*>& concepts::MutableMeshBase::ownConnectors3 ( ) const [inline]

Definition at line 42 of file mutableMesh.hh.

Edge* concepts::MutableMeshBase::ownEdge ( Vertex vtx1,
Vertex vtx2 
)

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

void concepts::MutableMeshBase::replaceCell_ ( Cell cell,
bool  holding = true 
) [protected]

Replaces by cell the cell with the same connector.

This is good to replace the element map while holding the connectivity.


Member Data Documentation

Maps from vertices to connectors.

Definition at line 53 of file mutableMesh.hh.

Stored cells.

Definition at line 46 of file mutableMesh.hh.

Stored connectors.

Definition at line 48 of file mutableMesh.hh.

Definition at line 49 of file mutableMesh.hh.

Definition at line 50 of file mutableMesh.hh.

Definition at line 51 of file mutableMesh.hh.


The documentation for this class was generated from the following file:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)