Package: GrAL Base        GrAL: Packages | Concepts | Homepage

Generic grid enlargement operations
[Mutating Grid Operations]

Attach (glue) a copy of srcG to G, identifying a given set of vertices. More...

Collaboration diagram for Generic grid enlargement operations:
Attach (glue) a copy of srcG to G, identifying a given set of vertices.

See also:
module Mutating Grid Operations
This file does not contain any actual function; rather, the following functions have to be implemented separately for each grid type G1:

      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:

or more specifically:

$ Iv $ 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):

Todo:
EnlargeGrid() , EnlargeGridV() can be defined fully generically in terms of EnlargeGridVC()
See also:
construct-grid.h

©  Guntram Berti 1997-2009. See the GrAL Homepage for up-to-date information.

Generated on Tue Mar 31 19:11:03 2009 for GrAL Base by doxygen 1.5.8