27 virtual void addCell(
Cell* cell,
bool holding =
true) = 0;
39 return ownConnectors1_; }
40 const Sequence<Connector2*>& ownConnectors2()
const {
41 return ownConnectors2_; }
43 return ownConnectors3_; }
95 virtual std::ostream&
info(std::ostream&
os)
const;
163 return cells_[ncell_-1];
198 virtual std::ostream&
info(std::ostream&
os)
const;
ConnectTwoMeshes(Mesh2withBoundary &mesh1, const Sequence< uint > edges1, Mesh2withBoundary &mesh2, const Sequence< uint > edges2, const Attribute attrib=Attribute())
void replaceCell(Cell1 *cell, bool holding=true)
virtual void addCell(Cell *cell, bool holding=true)
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
uint ncell() const
Returns the number of cells in the mesh.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
void replaceCell(Cell2 *cell, bool holding=true)
Cell2 * lastCell() const
Return the latest added cell.
void connectOppositeEdges(const Edge2d *edge1, const Edge2d *edge2, const Attribute attrib=Attribute(), const Quad2dSubdivision *strategy=0)
virtual void addCell(Cell *cell, bool holding=true)
void connectOppositeEdges(const Sequence< Edge2d * > edges1, const Sequence< Edge2d * > edges2, const Attribute attrib=Attribute(), const Quad2dSubdivision *strategy=0)
uint ncell() const
Returns the number of cells in the mesh.
Sequence< Connector0 * > ownConnectors0_
Stored connectors.
Sequence< const Cell * > ownCells_
Stored cells.
void replaceCell_(Cell *cell, bool holding=true)
MultiArray< 2, Edge * > mapEdges_
Maps from vertices to connectors.
Edge * ownEdge(Vertex *vtx1, Vertex *vtx2)
void buildEdgeMesh(Scan2 *sc, const concepts::Set< uint > attrib, MutableMeshBase &emsh)
Set< F > makeSet(uint n, const F &first,...)