]> https://gitweb.dealii.org/ - code-gallery.git/commitdiff
Changed removed function with successor in CeresFE.
authorMarc Fehling <mafehling.git@gmail.com>
Sun, 23 Apr 2023 01:10:10 +0000 (19:10 -0600)
committerMarc Fehling <mafehling.git@gmail.com>
Sun, 23 Apr 2023 01:33:40 +0000 (19:33 -0600)
CeresFE/src/ceres.cc

index 88f020afdbf261bd3cf95f98e32dd234929df3c3..43fd28a6a0d38929b881ec842d2c15aaec5f7381 100644 (file)
@@ -426,9 +426,7 @@ namespace Step22
 
     constraints.close();
 
-    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);
     n_u = dofs_per_block[0];
     n_p = dofs_per_block[1];
 

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.