]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Minor stylistic changes.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 7 Jan 2016 23:10:55 +0000 (17:10 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 7 Jan 2016 23:10:55 +0000 (17:10 -0600)
examples/step-18/step-18.cc

index 321f5a22c4bf17f78572a3dc425546c08b682f1c..4cf836b54ac4380bc0ee7dd2cb2f1bbabe0e0a43 100644 (file)
@@ -1029,7 +1029,7 @@ namespace Step18
     cell = dof_handler.begin_active(),
     endc = dof_handler.end();
     for (; cell!=endc; ++cell)
-      if (cell->is_locally_owned() )
+      if (cell->is_locally_owned())
         {
           cell_matrix = 0;
           cell_rhs = 0;
@@ -1302,7 +1302,7 @@ namespace Step18
       cell = triangulation.begin_active(),
       endc = triangulation.end();
       for (; cell!=endc; ++cell)
-        if (cell->is_locally_owned() )
+        if (cell->is_locally_owned())
           {
             // On these cells, add up the stresses over all quadrature
             // points...
@@ -1702,7 +1702,7 @@ namespace Step18
     for (typename Triangulation<dim>::active_cell_iterator
          cell = triangulation.begin_active();
          cell != triangulation.end(); ++cell)
-      if (cell->is_locally_owned() )
+      if (cell->is_locally_owned())
         ++our_cells;
 
     triangulation.clear_user_data();
@@ -1735,7 +1735,7 @@ namespace Step18
     for (typename Triangulation<dim>::active_cell_iterator
          cell = triangulation.begin_active();
          cell != triangulation.end(); ++cell)
-      if (cell->is_locally_owned() )
+      if (cell->is_locally_owned())
         {
           cell->set_user_pointer (&quadrature_point_history[history_index]);
           history_index += quadrature_formula.size();
@@ -1820,7 +1820,7 @@ namespace Step18
     for (typename DoFHandler<dim>::active_cell_iterator
          cell = dof_handler.begin_active();
          cell != dof_handler.end(); ++cell)
-      if (cell->is_locally_owned() )
+      if (cell->is_locally_owned())
         {
           // Next, get a pointer to the quadrature point history data local to
           // the present cell, and, as a defensive measure, make sure that

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.