From: Timo 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-Tag: v8.2.0-rc1~1225 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d346a9f06fa2825fa37f634a51b803dc95110e94;p=dealii.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();