mutableMesh.hh
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Class for holding a general mutable mesh of line elements where cells can be added.
Definition: mutableMesh.hh:74
Sequence< Connector2 * > ownConnectors2_
Definition: mutableMesh.hh:50
void buildEdgeMesh(Scan2 *sc, const concepts::Set< uint > attrib, MutableMeshBase &emsh)
Construct a mesh of edges of a 2D mesh w.r.t.
Sequence< Connector3 * > ownConnectors3_
Definition: mutableMesh.hh:51
void replaceCell(Cell1 *cell, bool holding=true)
Replaces by cell the cell with the same connector.
A cell in a mesh consist of topological information (neighbours, connectivity, orientation) and geome...
Definition: cell.hh:39
Class for holding a general mutable mesh of 2D cell where cells and other 2D meshes can be added.
Definition: mutableMesh.hh:142
ConnectTwoMeshes(Mesh2withBoundary &mesh1, const Sequence< uint > edges1, Mesh2withBoundary &mesh2, const Sequence< uint > edges2, const Attribute attrib=Attribute())
Constructor.
Edge * ownEdge(Vertex *vtx1, Vertex *vtx2)
Returns the own edge with the two vertices.
Scanner for a STL container std::vector of pointers.
Definition: scannerConnectors.hh:257
Base class for mesh classes in 2D which defines its outer boundary and inner boundaries.
Definition: mesh.hh:152
Connected mesh of two given meshes where edges on both outer boundaries are connected.
Definition: mutableMesh.hh:211
MutableMeshBase()
void replaceCell(Cell2 *cell, bool holding=true)
Replaces by cell the cell with the same connector.
Container typename for multidimensional Array which is based on std::map.
Definition: multiArray.hh:33
void connectOppositeEdges(const Edge2d *edge1, const Edge2d *edge2, const Attribute attrib=Attribute(), const Quad2dSubdivision *strategy=0)
Adds a quadrilateral connecting the two edges.
virtual ~MutableMesh1()
virtual ~MutableMesh2()
Sequence< Connector1 * > ownConnectors1_
Definition: mutableMesh.hh:49
Sequence with operations, output operator, and method of the particular element types.
Definition: sequence.hh:39
const Sequence< Connector1 * > & ownConnectors1() const
Definition: mutableMesh.hh:38
void replaceCell_(Cell *cell, bool holding=true)
Replaces by cell the cell with the same connector.
virtual ~ConnectTwoMeshes()
Definition: mutableMesh.hh:228
Interface for geometrical subdivision strategies for quadrilaterals.
Definition: cell2D.hh:283
const Sequence< Connector2 * > & ownConnectors2() const
Definition: mutableMesh.hh:40
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual ~MutableMeshBase()
virtual void addCell(Cell *cell, bool holding=true)
Adds a cell to the mesh, which is by default hold and will be deleted by its destructor.
void addCell_(Cell *cell, bool holding=true)
const Sequence< Connector0 * > & ownConnectors0() const
Definition: mutableMesh.hh:36
virtual void addCell(Cell *cell, bool holding=true)
Adds a cell to the mesh, which is by default hold by this object and will be deleted by its destructo...
virtual void addCell(Cell *cell, bool holding=true)=0
const Sequence< Connector3 * > & ownConnectors3() const
Definition: mutableMesh.hh:42
void connectOppositeEdges(const Sequence< Edge2d * > edges1, const Sequence< Edge2d * > edges2, const Attribute attrib=Attribute(), const Quad2dSubdivision *strategy=0)
Adds quadrilateral connecting respective two edges of the two sequences (with same number of edges).
Base class for mesh classes in 2D which defines its outer boundary and inner boundaries.
Definition: mesh.hh:124