]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use the correct iterator.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 14 Jul 2009 02:34:03 +0000 (02:34 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 14 Jul 2009 02:34:03 +0000 (02:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@19078 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/tria.h
deal.II/deal.II/source/grid/grid_tools.cc

index cc3ce77b17c8c0e1d792f0a0a0a61bd0a63f95a6..d9a63b79f5e2006728529969f6950a39aad7ee59 100644 (file)
@@ -1373,8 +1373,9 @@ class Triangulation : public Subscriptor
                                      *
                                      * Objects of this kind are
                                      * thrown by the
-                                     * create_triangulation()
-                                     * function, and they can be
+                                     * create_triangulation() and
+                                     * execute_coarsening_and_refinement()
+                                     * functions, and they can be
                                      * caught in user code if this
                                      * condition is to be ignored.
                                      *
@@ -1406,9 +1407,11 @@ class Triangulation : public Subscriptor
                                         /**
                                          * A list of those cells
                                          * among the coarse mesh
-                                         * cells that are deformed.
+                                         * cells that are deformed or
+                                         * whose children are
+                                         * deformed.
                                          */
-       std::list<typename Triangulation<dim,spacedim>::active_cell_iterator>
+       std::list<typename Triangulation<dim,spacedim>::cell_iterator>
        distorted_cells;
     };
     
index f93bfedac44a13c2d327d7c777211f0ad20de005..f7d4510b3ec5ebae6b310c9b2b45394f174dfc33 100644 (file)
@@ -1338,7 +1338,7 @@ fix_up_distorted_child_cells (const typename Triangulation<dim,spacedim>::Distor
 
                                   // loop over all cells that we have
                                   // to fix up
-  for (typename std::list<typename Triangulation<dim,spacedim>::active_cell_iterator>::const_iterator
+  for (typename std::list<typename Triangulation<dim,spacedim>::cell_iterator>::const_iterator
         cell_ptr = distorted_cells.distorted_cells.begin();
        cell_ptr != distorted_cells.distorted_cells.end(); ++cell_ptr)
     {

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.