From: Daniel Arndt Date: Sat, 23 Mar 2019 03:02:15 +0000 (+0100) Subject: Remove a helper function for DataOut_DoFData X-Git-Tag: v9.1.0-rc1~255^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec6b54594a5b1a81b7b9de696f54ac51efd95ac3;p=dealii.git Remove a helper function for DataOut_DoFData --- diff --git a/include/deal.II/numerics/data_out_dof_data.templates.h b/include/deal.II/numerics/data_out_dof_data.templates.h index 8f492389d7..e499cc5488 100644 --- a/include/deal.II/numerics/data_out_dof_data.templates.h +++ b/include/deal.II/numerics/data_out_dof_data.templates.h @@ -629,21 +629,6 @@ namespace internal {} - template - inline typename VectorType::value_type - get_vector_element(const VectorType &vector, const unsigned int cell_number) - { - return internal::ElementAccess::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 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::get(*vector, cell_number), + extract_component); }