From: David Wells Date: Sat, 4 Mar 2017 21:54:23 +0000 (-0500) Subject: Remove some unused non-public functions. X-Git-Tag: v8.5.0-rc1~70^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8eb7dda517a03c9ce06e63e86914c42a3edd8630;p=dealii.git Remove some unused non-public functions. These were found by cppcheck. --- diff --git a/include/deal.II/base/work_stream.h b/include/deal.II/base/work_stream.h index 9345b433cb..a2dcd87b51 100644 --- a/include/deal.II/base/work_stream.h +++ b/include/deal.II/base/work_stream.h @@ -461,26 +461,6 @@ namespace WorkStream * happens, whereas a small number is better for load balancing. */ const unsigned int chunk_size; - - /** - * Initialize the pointers and vector elements in the specified entry - * of the item_buffer. - */ - void init_buffer_elements (const unsigned int element, - const CopyData &sample_copy_data) - { - Assert (item_buffer[element].n_items == 0, - ExcInternalError()); - - item_buffer[element].work_items - .resize (chunk_size, remaining_iterator_range.second); - item_buffer[element].scratch_data - = &thread_local_scratch; - item_buffer[element].sample_scratch_data - = &sample_scratch_data; - item_buffer[element].copy_datas - .resize (chunk_size, sample_copy_data); - } }; diff --git a/include/deal.II/numerics/error_estimator.templates.h b/include/deal.II/numerics/error_estimator.templates.h index 909172d9fc..121285370f 100644 --- a/include/deal.II/numerics/error_estimator.templates.h +++ b/include/deal.II/numerics/error_estimator.templates.h @@ -53,24 +53,6 @@ DEAL_II_NAMESPACE_OPEN - -namespace -{ - template - inline - void advance_by_n (CellIterator &cell, - const unsigned int n) - { - // store a pointer to the end iterator, since we can't get at it any more - // once cell is already the end iterator (in that case dereferencing - // cell-> triggers an assertion) - const CellIterator endc = cell->get_dof_handler().end(); - for (unsigned int t=0; ((t