From 8fb42c93741aaceada016707458ea57a89029d83 Mon Sep 17 00:00:00 2001 From: David Schneider Date: Mon, 17 Apr 2023 11:06:22 +0200 Subject: [PATCH] Update deprecated deal.II function `extract_boundary_dofs()` --- coupled_laplace_problem/coupled_laplace_problem.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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. -- 2.39.5