]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Properly indent.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 5 Dec 2005 22:40:40 +0000 (22:40 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 5 Dec 2005 22:40:40 +0000 (22:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@11829 0785d39b-7218-0410-832d-ea1e28bc413d

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

index b64c89aa1f9b1eef0ace8eddd1f317f53cb9f153..d090c93bd91ec7b5ff58cd7a92a8e1e6aff34e27 100644 (file)
@@ -313,7 +313,7 @@ void LaplaceProblem<dim>::make_grid_and_dofs ()
   sparsity_pattern.block(0,1).reinit (n_u, n_p,
                                       dof_handler.max_couplings_between_dofs());
   sparsity_pattern.block(1,1).reinit (n_p, n_p,
-                                dof_handler.max_couplings_between_dofs());
+                                     dof_handler.max_couplings_between_dofs());
   sparsity_pattern.collect_sizes();
   DoFTools::make_sparsity_pattern (dof_handler, sparsity_pattern);
   sparsity_pattern.compress();
@@ -580,9 +580,9 @@ template <int dim>
 void LaplaceProblem<dim>::solve () 
 {
   {
-    SolverControl           solver_control (system_matrix.block(0,0).m(),
-                                            1e-6*system_rhs.block(1).l2_norm());
-    SolverCG<>              cg (solver_control);
+    SolverControl solver_control (system_matrix.block(0,0).m(),
+                                 1e-6*system_rhs.block(1).l2_norm());
+    SolverCG<>    cg (solver_control);
 
     cg.solve (SchurComplement(system_matrix), solution.block(1),
               system_rhs.block(1),
@@ -601,9 +601,9 @@ void LaplaceProblem<dim>::solve ()
     Vector<double> tmp (system_matrix.block(0,0).m());
     system_matrix.block(0,1).vmult (tmp, solution.block(1));
     
-    SolverControl           solver_control (system_matrix.block(0,0).m(),
-                                            1e-6*tmp.l2_norm());
-    SolverGMRES<>              cg (solver_control);
+    SolverControl solver_control (system_matrix.block(0,0).m(),
+                                 1e-6*tmp.l2_norm());
+    SolverGMRES<> cg (solver_control);
 
     cg.solve (system_matrix.block(0,0), solution.block(0),
               tmp, PreconditionIdentity());

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.