Go to Overview over all GrAL packages.
Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Gral/Base/enlarge-grid.h File Reference

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

Go to the source code of this file.


Detailed Description

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

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:

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

Definition in file enlarge-grid.h.


Copyright (c) Guntram Berti 1997-2002. See the GrAL Homepage for up-to-date information.

Generated at Tue Feb 26 16:05:51 2002 for GrAL Base by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000