]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Another TODO fixed.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 10 Apr 2005 18:18:02 +0000 (18:18 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 10 Apr 2005 18:18:02 +0000 (18:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@10468 0785d39b-7218-0410-832d-ea1e28bc413d

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

index dda4b6ef8f1cd45f830efb9efe0bc403df2fe1eb..01d150b7570b35779552a706d7c55dad89260533 100644 (file)
@@ -1490,28 +1490,19 @@ namespace QuasiStaticElasticity
   template <int dim>
   void TopLevel<dim>::solve_timestep ()
   {
-//TODO:    
-    for (unsigned int nonlinear_iteration=1; true; ++nonlinear_iteration)
-      {
-       pcout << "    Nonlinear iteration " << nonlinear_iteration
-             << std::endl;
-
-       pcout << "      Assembling system..." << std::flush;
-       assemble_system ();
-       pcout << " norm of rhs is " << system_rhs.l2_norm()
-             << std::endl;
+    pcout << "      Assembling system..." << std::flush;
+    assemble_system ();
+    pcout << " norm of rhs is " << system_rhs.l2_norm()
+          << std::endl;
       
-       const unsigned int n_iterations = solve_linear_problem ();
+    const unsigned int n_iterations = solve_linear_problem ();
   
-       pcout << "      Solver converged in " << n_iterations
-             << " iterations." << std::endl;
+    pcout << "      Solver converged in " << n_iterations
+          << " iterations." << std::endl;
 
-       pcout << "      Updating quadrature point data..." << std::flush;
-       update_quadrature_point_history ();
-       pcout << std::endl;
-      
-       break;
-      }
+    pcout << "      Updating quadrature point data..." << std::flush;
+    update_quadrature_point_history ();
+    pcout << std::endl;
   }
 
 

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.