]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove a helper function for DataOut_DoFData 7845/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 23 Mar 2019 03:02:15 +0000 (04:02 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 23 Mar 2019 03:02:15 +0000 (04:02 +0100)
include/deal.II/numerics/data_out_dof_data.templates.h

index 8f492389d79140eda8c095d5a7b773bb6542f026..e499cc548829b13ed7e84cc8cc1f7fe99b547b20 100644 (file)
@@ -629,21 +629,6 @@ namespace internal
     {}
 
 
-    template <typename VectorType>
-    inline typename VectorType::value_type
-    get_vector_element(const VectorType &vector, const unsigned int cell_number)
-    {
-      return internal::ElementAccess<VectorType>::get(vector, cell_number);
-    }
-
-
-    inline double
-    get_vector_element(const IndexSet &is, const unsigned int cell_number)
-    {
-      return (is.is_element(cell_number) ? 1 : 0);
-    }
-
-
 
     template <typename DoFHandlerType, typename VectorType>
     double
@@ -651,8 +636,9 @@ namespace internal
       const unsigned int       cell_number,
       const ComponentExtractor extract_component) const
     {
-      return get_component(get_vector_element(*vector, cell_number),
-                           extract_component);
+      return get_component(
+        internal::ElementAccess<VectorType>::get(*vector, cell_number),
+        extract_component);
     }
 
 

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.