[Dune] [Dune-CVS] dune-grid r3248 - trunk/grid/utility (fwd)

Oliver Sander sander at mi.fu-berlin.de
Tue Nov 7 13:25:13 CET 2006


Thanks!  Out of curiosity: what do you need that for?

--
Oliver

************************************************************************
* Oliver Sander                ** email: sander at mi.fu-berlin.de        *
* Freie Universität Berlin     ** phone: + 49 (30) 838 75217           *
* Institut für Mathematik II   ** URL  : page.mi.fu-berlin.de/~sander  *
* Arnimallee 6                 ** -------------------------------------*
* 14195 Berlin, Germany        ** Member of MATHEON (www.matheon.de)   *
************************************************************************

---------- Forwarded message ----------
Date: Tue, 07 Nov 2006 12:27:12 +0100
From: Andreas Dedner <dedner at hal.iwr.uni-heidelberg.de>
To: dune-cvs at hal.iwr.uni-heidelberg.de
Subject: [Dune-CVS] dune-grid r3248 - trunk/grid/utility

Author: dedner
Date: 2006-11-07 12:27:11 +0100 (Tue, 07 Nov 2006)
New Revision: 3248

Modified:
    trunk/grid/utility/twistutility.hh
Log:
some more docu...

Modified: trunk/grid/utility/twistutility.hh
===================================================================
--- trunk/grid/utility/twistutility.hh	2006-11-07 10:48:20 UTC (rev 3247)
+++ trunk/grid/utility/twistutility.hh	2006-11-07 11:27:11 UTC (rev 3248)
@@ -30,7 +30,27 @@

    /** \brief Utility to get twist from IntersectionIterator,
        if provided by grid (i.e. AlbertaGrid, ALUGrid)
-      otherwise return default values.
+      otherwise return default values (correct for YASP/SGRID).
+
+      The twist (t) of a face is defined in the following way:
+      - sign(t) gives information on the relationship between the
+        orientation of the intersection geometry and the geometry
+        of the corresponding codim 1 entity of the inside/outside
+        entity:
+        - sign(t)>=0: same orientation
+        - sign(t)<0:  opposite orientation
+
+      - The value of the twist gives information on the local numbering
+        of the corners of the corresponding geometries. This value
+        is only correctly defined for conforming grids, i.e.,
+        the intersection is identical to an codim 1 entity of inside/outside.
+        In this case we have the following definition:
+        - sign(t)>=0: corner[0] of inside/outside face is equal to
+                      corner[t] of intersection.
+        - sign(t)<0:  corner[0] of inside/outside face is equal to
+                      corner[t'] of intersection with t' = abs(t)+1.
+
+
    */
    template <class GridImp>
    class TwistUtility;


_______________________________________________
Dune-CVS mailing list
Dune-CVS at dune-project.org
http://www.dune-project.org/cgi-bin/mailman/listinfo/dune-cvs


More information about the Dune mailing list