From d718d9a5960b81ecb2b24595eac9100efb10fc04 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Fri, 11 Jun 2021 17:52:44 +0200 Subject: [PATCH] Fix test feinterface/stokes --- tests/feinterface/stokes.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/feinterface/stokes.cc b/tests/feinterface/stokes.cc index 8c6783e622..0bae92b06f 100644 --- a/tests/feinterface/stokes.cc +++ b/tests/feinterface/stokes.cc @@ -444,10 +444,8 @@ namespace StokesTests // dof_handler and velocity_dof_handler. DoFRenumbering::block_wise(dof_handler); - std::vector dofs_per_block(2); - DoFTools::count_dofs_per_block(dof_handler, - dofs_per_block, - block_component); + std::vector dofs_per_block = + DoFTools::count_dofs_per_fe_block(dof_handler, block_component); const unsigned int n_u = dofs_per_block[0], n_p = dofs_per_block[1]; deallog << "\tNumber of active cells: " << triangulation.n_active_cells() -- 2.39.5