srcG to G, identifying a given set of vertices.
More...
|
srcG to G, identifying a given set of vertices.
G1:
void EnlargeGrid() void EnlargeGridV() void EnlargeGridVC()
template<class G1, class G2, class Geom2, class VertexIdent> void EnlargeGrid(G1 & destG, // in/out G2 const& srcG, // in Geom2 const& srcGeom, // in VertexIdent const& Iv); // in template<class G1, class G2, class Geom2, class VertexIdent, class VertexMap, class CellMap> void EnlargeGridVC(G1 & destG, // in/out G2 const& srcG, // in Geom2 const& srcGeom, // in VertexIdent const& Iv, // in src -> dest VertexMap & VertexCorr, // out src -> dest CellMap & CellCorr); // out src -> dest
Template parameters:

Preconditions:
The following preconditions must hold:
(contains at least one cell)

or more specifically:


may be empty, in which case the result will not be connected.
Postconditions:
The following postconditions will hold (G' is the value of G after execution):



EnlargeGrid() , EnlargeGridV() can be defined fully generically in terms of EnlargeGridVC()
1.5.8