]> https://gitweb.dealii.org/ - dealii.git/commitdiff
rerun the indent styling to be back in the proper indentation style
authorSpencer Patty <srobertp@gmail.com>
Fri, 5 Feb 2016 04:42:10 +0000 (22:42 -0600)
committerSpencer Patty <srobertp@gmail.com>
Fri, 5 Feb 2016 04:42:10 +0000 (22:42 -0600)
include/deal.II/grid/grid_tools.h
source/grid/grid_tools.cc

index f51b4b90414561103c3e87fc4a6fe3b232067216..1dc398aff24dcde2006a09732a00f6e7701025c6 100644 (file)
@@ -1093,15 +1093,15 @@ namespace GridTools
    * appropriately.
    *
    * It is necessary that the finite element underlying the MeshType used has
-   * degrees of freedom that are logically associated to a vertex, line, quad, 
+   * degrees of freedom that are logically associated to a vertex, line, quad,
    * or hex.  This includes both nodal degrees of freedom and other modal types
-   * of dofs that are associated to an edge, etc.  The result is the patch of 
-   * cells representing the support of the basis element associated to the 
+   * of dofs that are associated to an edge, etc.  The result is the patch of
+   * cells representing the support of the basis element associated to the
    * degree of freedom.  For instance using an FE_Q finite element, we obtain
-   * the standard patch of cells touching the degree of freedom and then others 
+   * the standard patch of cells touching the degree of freedom and then others
    * that take care of possible hanging node constraints.  Using a FE_DGQ finite
    * element, the degrees of freedom are logically considered to be "interior" to
-   * the cells so the patch would be the cell on which the degree of freedom is 
+   * the cells so the patch would be the cell on which the degree of freedom is
    * located.
    *
    * @tparam MeshType The MeshType should be a DoFHandler<dim> or hp::DoFHandler<dim>.
index 508867e6bb4c132f14cb4f1b8114018fffd42555..6f4e101f332428d7f08fea2732fc09fe3b1b2b14 100644 (file)
@@ -3113,7 +3113,7 @@ next_cell:
     // be added on account of adaptivity hanging node
     // constraints.
     typename MeshType::active_cell_iterator cell = dof_handler.begin_active(),
-                                             endc = dof_handler.end();
+                                            endc = dof_handler.end();
     for (; cell!=endc; ++cell)
       {
         // Need to loop through all cells that could
@@ -3283,12 +3283,12 @@ next_cell:
 
 
     if (MeshType::dimension == 3)
-    {
-      // finally, restore user flags that were changed above
-      // to when we constructed the pointers to parent of lines
-      // Since dof_handler is const, we must leave it unchanged.
-      const_cast<dealii::Triangulation<MeshType::dimension,MeshType::space_dimension> &>(dof_handler.get_triangulation()).load_user_flags (user_flags);
-    }
+      {
+        // finally, restore user flags that were changed above
+        // to when we constructed the pointers to parent of lines
+        // Since dof_handler is const, we must leave it unchanged.
+        const_cast<dealii::Triangulation<MeshType::dimension,MeshType::space_dimension> &>(dof_handler.get_triangulation()).load_user_flags (user_flags);
+      }
 
     // Finally, we copy map of sets to
     // map of vectors using assign()

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.