From: Marc Fehling Date: Sun, 23 Apr 2023 01:10:10 +0000 (-0600) Subject: Changed removed function with successor in CeresFE. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a7731e7d06c9d1603bf5abffcd9766f021e8e10;p=code-gallery.git Changed removed function with successor in CeresFE. --- diff --git a/CeresFE/src/ceres.cc b/CeresFE/src/ceres.cc index 88f020a..43fd28a 100644 --- a/CeresFE/src/ceres.cc +++ b/CeresFE/src/ceres.cc @@ -426,9 +426,7 @@ namespace Step22 constraints.close(); - 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); n_u = dofs_per_block[0]; n_p = dofs_per_block[1];