From 8383963bb1b4c58306c3c9111a3f02472aa9f87f Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 17 Sep 2010 12:51:12 +0000 Subject: [PATCH] Generate hanging node constraints before boundary values, as per recent discussions on the mailing list. git-svn-id: https://svn.dealii.org/trunk@22013 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-27/step-27.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deal.II/examples/step-27/step-27.cc b/deal.II/examples/step-27/step-27.cc index 48c044a942..f05d751ca3 100644 --- a/deal.II/examples/step-27/step-27.cc +++ b/deal.II/examples/step-27/step-27.cc @@ -3,7 +3,7 @@ /* $Id$ */ /* */ -/* Copyright (C) 2006, 2007, 2008, 2009 by the deal.II authors */ +/* Copyright (C) 2006, 2007, 2008, 2009, 2010 by the deal.II authors */ /* */ /* This file is subject to QPL and may not be distributed */ /* without copyright and license information. Please refer */ @@ -255,12 +255,12 @@ void LaplaceProblem::setup_system () system_rhs.reinit (dof_handler.n_dofs()); constraints.clear (); + DoFTools::make_hanging_node_constraints (dof_handler, + constraints); VectorTools::interpolate_boundary_values (dof_handler, 0, ZeroFunction(), constraints); - DoFTools::make_hanging_node_constraints (dof_handler, - constraints); constraints.close (); CompressedSetSparsityPattern csp (dof_handler.n_dofs(), -- 2.39.5