]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix hanging nodes in step-26 and make the mesh a somewhat finer
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 9 Dec 2013 19:04:53 +0000 (19:04 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 9 Dec 2013 19:04:53 +0000 (19:04 +0000)
git-svn-id: https://svn.dealii.org/trunk@31960 0785d39b-7218-0410-832d-ea1e28bc413d

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

index d047fc7b5c110431ffb2853b9282d6dcd0f24b84..c7dd258c065ed8adce18635f777a3dfce7917675 100644 (file)
@@ -380,8 +380,8 @@ namespace Step26
   template<int dim>
   void HeatEquation<dim>::run()
   {
-    const unsigned int initial_global_refinement = (dim == 2 ? 1 : 2);
-    const unsigned int n_adaptive_pre_refinement_steps = 1;
+    const unsigned int initial_global_refinement = 2;
+    const unsigned int n_adaptive_pre_refinement_steps = 4;
 
     GridGenerator::hyper_L (triangulation);
     triangulation.refine_global (initial_global_refinement);
@@ -458,7 +458,7 @@ start_time_iteration:
                                              system_rhs);
         }
 
-        constraints.condense (system_rhs);
+        constraints.condense (system_matrix, system_rhs);
 
         solve_time_step();
 

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.