]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Rename a deprecated function.
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 29 Jan 2020 19:45:52 +0000 (12:45 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 5 Feb 2020 00:25:25 +0000 (17:25 -0700)
include/deal.II/dofs/dof_tools.h
source/dofs/dof_tools.cc

index e579caa8745885a03675bcaef11db3f259397607..01de1f284fd2fa8ddd2fc1c98296a39a2919b2de 100644 (file)
@@ -2303,7 +2303,7 @@ namespace DoFTools
    */
   template <typename DoFHandlerType>
   std::vector<types::global_dof_index>
-  count_dofs_per_component(
+  count_dofs_per_fe_component(
     const DoFHandlerType &           dof_handler,
     const bool                       vector_valued_once = false,
     const std::vector<unsigned int> &target_component   = {});
@@ -2338,9 +2338,9 @@ namespace DoFTools
    */
   template <typename DoFHandlerType>
   std::vector<types::global_dof_index>
-  count_dofs_per_block(const DoFHandlerType &           dof,
-                       const std::vector<unsigned int> &target_block =
-                         std::vector<unsigned int>());
+  count_dofs_per_fe_block(const DoFHandlerType &           dof,
+                          const std::vector<unsigned int> &target_block =
+                            std::vector<unsigned int>());
 
   /**
    * @deprecated A version of the previous function that returns its
index 134ef0719ae90829a5f9de4aa0edf9b5b994fec6..19c9b83a4f7af10454d594daaaeca7ee4d4bf610 100644 (file)
@@ -1910,16 +1910,17 @@ namespace DoFTools
     const std::vector<unsigned int> &     target_component)
   {
     dofs_per_component =
-      count_dofs_per_component(dof_handler, only_once, target_component);
+      count_dofs_per_fe_component(dof_handler, only_once, target_component);
   }
 
 
 
   template <typename DoFHandlerType>
   std::vector<types::global_dof_index>
-  count_dofs_per_component(const DoFHandlerType &           dof_handler,
-                           const bool                       only_once,
-                           const std::vector<unsigned int> &target_component_)
+  count_dofs_per_fe_component(
+    const DoFHandlerType &           dof_handler,
+    const bool                       only_once,
+    const std::vector<unsigned int> &target_component_)
   {
     const unsigned int n_components = dof_handler.get_fe(0).n_components();
 
@@ -2015,15 +2016,15 @@ namespace DoFTools
                        std::vector<types::global_dof_index> &dofs_per_block,
                        const std::vector<unsigned int> &     target_block)
   {
-    dofs_per_block = count_dofs_per_block(dof_handler, target_block);
+    dofs_per_block = count_dofs_per_fe_block(dof_handler, target_block);
   }
 
 
 
   template <typename DoFHandlerType>
   std::vector<types::global_dof_index>
-  count_dofs_per_block(const DoFHandlerType &           dof_handler,
-                       const std::vector<unsigned int> &target_block_)
+  count_dofs_per_fe_block(const DoFHandlerType &           dof_handler,
+                          const std::vector<unsigned int> &target_block_)
   {
     const dealii::hp::FECollection<DoFHandlerType::dimension,
                                    DoFHandlerType::space_dimension>

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.