From: bangerth Date: Thu, 12 Dec 2013 15:10:15 +0000 (+0000) Subject: Some whitespace issues. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7efc804fd23930a0582de54deed0713163b872ae;p=dealii-svn.git Some whitespace issues. git-svn-id: https://svn.dealii.org/trunk@31980 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-6/step-6.cc b/deal.II/examples/step-6/step-6.cc index a36acefb00..e3fca00b1e 100644 --- a/deal.II/examples/step-6/step-6.cc +++ b/deal.II/examples/step-6/step-6.cc @@ -364,6 +364,7 @@ void Step6::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::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::assemble_system () } - // @sect4{Step6::solve} // We continue with gradual improvements. The function that solves the linear @@ -475,8 +476,8 @@ void Step6::assemble_system () template void Step6::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::output_results (const unsigned int cycle) const } - // @sect4{Step6::run} // The final function before main() is again the main driver of