]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Some whitespace issues.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 12 Dec 2013 15:10:15 +0000 (15:10 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 12 Dec 2013 15:10:15 +0000 (15:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@31980 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-6/step-6.cc

index a36acefb00e10a0c2571eacdd84478916aff0a37..e3fca00b1e95487f764a1f658fe07b43d8eb709b 100644 (file)
@@ -364,6 +364,7 @@ void Step6<dim>::setup_system ()
   system_matrix.reinit (sparsity_pattern);
 }
 
+
 // @sect4{Step6::assemble_system}
 
 // Next, we have to assemble the matrix again. There are two code changes
@@ -442,10 +443,11 @@ void Step6<dim>::assemble_system ()
       // Finally, transfer the contributions from @p cell_matrix and
       // @p cell_rhs into the global objects.
       cell->get_dof_indices (local_dof_indices);
-      constraints.distribute_local_to_global(cell_matrix,
-                                             cell_rhs,
-                                             local_dof_indices,
-                                             system_matrix, system_rhs);
+      constraints.distribute_local_to_global (cell_matrix,
+                                             cell_rhs,
+                                             local_dof_indices,
+                                             system_matrix,
+                                             system_rhs);
     }
   // Now we are done assembling the linear system.  The constrained nodes are
   // still in the linear system (there is a one on the diagonal of the matrix
@@ -455,7 +457,6 @@ void Step6<dim>::assemble_system ()
 }
 
 
-
 // @sect4{Step6::solve}
 
 // We continue with gradual improvements. The function that solves the linear
@@ -475,8 +476,8 @@ void Step6<dim>::assemble_system ()
 template <int dim>
 void Step6<dim>::solve ()
 {
-  SolverControl           solver_control (1000, 1e-12);
-  SolverCG<>              solver (solver_control);
+  SolverControl      solver_control (1000, 1e-12);
+  SolverCG<>         solver (solver_control);
 
   PreconditionSSOR<> preconditioner;
   preconditioner.initialize(system_matrix, 1.2);
@@ -638,7 +639,6 @@ void Step6<dim>::output_results (const unsigned int cycle) const
 }
 
 
-
 // @sect4{Step6::run}
 
 // The final function before <code>main()</code> is again the main driver of

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.