]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Start work on bug 198 (https://code.google.com/p/dealii/issues/detail?id=198) documen...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 25 Apr 2014 14:01:05 +0000 (14:01 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 25 Apr 2014 14:01:05 +0000 (14:01 +0000)
git-svn-id: https://svn.dealii.org/trunk@32828 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/distributed/tria.h
deal.II/include/deal.II/grid/tria.h

index b00a01b224483e5e2cbe0825ded255754a79cc50..17dbdee03466ee08d283976bca6ece4a8cd20dae 100644 (file)
@@ -309,13 +309,46 @@ namespace parallel
     class Triangulation : public dealii::Triangulation<dim,spacedim>
     {
     public:
+     /**
+      * A typedef that is used to to identify cell iterators. The
+      * concept of iterators is discussed at length in the
+      * @ref Iterators "iterators documentation module".
+      *
+      * The current typedef identifies cells in a triangulation. You
+      * can find the exact type it refers to in the base class's own
+      * typedef, but it should be TriaIterator<CellAccessor<dim,spacedim> >. The
+      * TriaIterator class works like a pointer that when you
+      * dereference it yields an object of type CellAccessor.
+      * CellAccessor is a class that identifies properties that
+      * are specific to cells in a triangulation, but it is derived
+      * (and consequently inherits) from TriaAccessor that describes
+      * what you can ask of more general objects (lines, faces, as
+      * well as cells) in a triangulation.
+      *
+      * @ingroup Iterators
+      */
+      typedef typename dealii::Triangulation<dim,spacedim>::cell_iterator        cell_iterator;
+
       /**
-       * Import the various
-       * iterator typedefs from the
-       * base class.
+       * A typedef that is used to to identify
+       * see @ref GlossActive "active cell iterators". The
+       * concept of iterators is discussed at length in the
+       * @ref Iterators "iterators documentation module".
+       *
+       * The current typedef identifies active cells in a triangulation. You
+       * can find the exact type it refers to in the base class's own
+       * typedef, but it should be TriaActiveIterator<CellAccessor<dim,spacedim> >. The
+       * TriaActiveIterator class works like a pointer to active objects that when you
+       * dereference it yields an object of type CellAccessor.
+       * CellAccessor is a class that identifies properties that
+       * are specific to cells in a triangulation, but it is derived
+       * (and consequently inherits) from TriaAccessor that describes
+       * what you can ask of more general objects (lines, faces, as
+       * well as cells) in a triangulation.
+       *
+       * @ingroup Iterators
        */
       typedef typename dealii::Triangulation<dim,spacedim>::active_cell_iterator active_cell_iterator;
-      typedef typename dealii::Triangulation<dim,spacedim>::cell_iterator        cell_iterator;
 
       /**
        * Generic settings for distributed Triangulations. If
index 7e0266cc1c6e962ce1ec8c39c659f6cd5d6fe883..292c705aace5203ead5db73c4c013991108f0c5c 100644 (file)
@@ -1442,7 +1442,41 @@ public:
     maximum_smoothing                  = 0xffff ^ allow_anisotropic_smoothing
   };
 
+  /**
+   * A typedef that is used to to identify cell iterators. The
+   * concept of iterators is discussed at length in the
+   * @ref Iterators "iterators documentation module".
+   *
+   * The current typedef identifies cells in a triangulation. The
+   * TriaIterator class works like a pointer that when you
+   * dereference it yields an object of type CellAccessor.
+   * CellAccessor is a class that identifies properties that
+   * are specific to cells in a triangulation, but it is derived
+   * (and consequently inherits) from TriaAccessor that describes
+   * what you can ask of more general objects (lines, faces, as
+   * well as cells) in a triangulation.
+   *
+   * @ingroup Iterators
+   */
   typedef TriaIterator      <CellAccessor<dim,spacedim>         > cell_iterator;
+
+  /**
+   * A typedef that is used to to identify
+   * see @ref GlossActive "active cell iterators". The
+   * concept of iterators is discussed at length in the
+   * @ref Iterators "iterators documentation module".
+   *
+   * The current typedef identifies active cells in a triangulation. The
+   * TriaActiveIterator class works like a pointer to active objects that when you
+   * dereference it yields an object of type CellAccessor.
+   * CellAccessor is a class that identifies properties that
+   * are specific to cells in a triangulation, but it is derived
+   * (and consequently inherits) from TriaAccessor that describes
+   * what you can ask of more general objects (lines, faces, as
+   * well as cells) in a triangulation.
+   *
+   * @ingroup Iterators
+   */
   typedef TriaActiveIterator<CellAccessor<dim,spacedim>         > active_cell_iterator;
 
   typedef TriaIterator      <TriaAccessor<dim-1, dim, spacedim> > face_iterator;
@@ -1454,8 +1488,8 @@ public:
   typedef typename IteratorSelector::quad_iterator        quad_iterator;
   typedef typename IteratorSelector::active_quad_iterator active_quad_iterator;
 
-  typedef typename IteratorSelector::hex_iterator        hex_iterator;
-  typedef typename IteratorSelector::active_hex_iterator active_hex_iterator;
+  typedef typename IteratorSelector::hex_iterator         hex_iterator;
+  typedef typename IteratorSelector::active_hex_iterator  active_hex_iterator;
 
   /**
    *  Base class for refinement listeners.

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.