]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix test feinterface/stokes 12443/head
authorPeter Munch <peterrmuench@gmail.com>
Fri, 11 Jun 2021 15:52:44 +0000 (17:52 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Fri, 11 Jun 2021 15:52:44 +0000 (17:52 +0200)
tests/feinterface/stokes.cc

index 8c6783e622f51e6552e7ee6f3d9c5058f93a74f9..0bae92b06fdd25f49041f82eed9d500c82270464 100644 (file)
@@ -444,10 +444,8 @@ namespace StokesTests
     // dof_handler and velocity_dof_handler.
     DoFRenumbering::block_wise(dof_handler);
 
-    std::vector<types::global_dof_index> dofs_per_block(2);
-    DoFTools::count_dofs_per_block(dof_handler,
-                                   dofs_per_block,
-                                   block_component);
+    std::vector<types::global_dof_index> 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()

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.