From: Peter Munch Date: Fri, 11 Jun 2021 15:52:44 +0000 (+0200) Subject: Fix test feinterface/stokes X-Git-Tag: v9.4.0-rc1~1231^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d718d9a5960b81ecb2b24595eac9100efb10fc04;p=dealii.git Fix test feinterface/stokes --- 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()