From: heister Date: Mon, 9 Dec 2013 19:04:53 +0000 (+0000) Subject: fix hanging nodes in step-26 and make the mesh a somewhat finer X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8a9667c06922fd9de000e7b76f0cb3f593a6ad8;p=dealii-svn.git fix hanging nodes in step-26 and make the mesh a somewhat finer git-svn-id: https://svn.dealii.org/trunk@31960 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-26/step-26.cc b/deal.II/examples/step-26/step-26.cc index d047fc7b5c..c7dd258c06 100644 --- a/deal.II/examples/step-26/step-26.cc +++ b/deal.II/examples/step-26/step-26.cc @@ -380,8 +380,8 @@ namespace Step26 template void HeatEquation::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();