From: David Schneider Date: Mon, 17 Apr 2023 09:06:22 +0000 (+0200) Subject: Update deprecated deal.II function `extract_boundary_dofs()` X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fb42c93741aaceada016707458ea57a89029d83;p=code-gallery.git Update deprecated deal.II function `extract_boundary_dofs()` --- diff --git a/coupled_laplace_problem/coupled_laplace_problem.cc b/coupled_laplace_problem/coupled_laplace_problem.cc index e295a18..1330bec 100644 --- a/coupled_laplace_problem/coupled_laplace_problem.cc +++ b/coupled_laplace_problem/coupled_laplace_problem.cc @@ -177,10 +177,9 @@ Adapter::initialize( // The `ComponentMask()` might be important in case we deal with vector valued // problems, because vector valued problems have a DoF for each component. - DoFTools::extract_boundary_dofs(dof_handler, - ComponentMask(), - coupling_dofs, - couplingBoundary); + coupling_dofs = DoFTools::extract_boundary_dofs(dof_handler, + ComponentMask(), + couplingBoundary); // The coupling DoFs are used to set up the `boundary_data` map. At the end, // we associate here each DoF with a respective boundary value.