From d346a9f06fa2825fa37f634a51b803dc95110e94 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Mon, 9 Dec 2013 19:04:53 +0000 Subject: [PATCH] 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 --- deal.II/examples/step-26/step-26.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); -- 2.39.5