From: David Wells Date: Sat, 24 May 2025 16:55:28 +0000 (-0400) Subject: Remove some unused local types. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27bf103e2ce3051fedd3421e2beebda170f209d9;p=dealii.git Remove some unused local types. --- diff --git a/include/deal.II/multigrid/mg_transfer.templates.h b/include/deal.II/multigrid/mg_transfer.templates.h index effad1c943..9278944c61 100644 --- a/include/deal.II/multigrid/mg_transfer.templates.h +++ b/include/deal.II/multigrid/mg_transfer.templates.h @@ -240,9 +240,6 @@ MGLevelGlobalTransfer::copy_to_mg( AssertThrowMPI(ierr); #endif - using dof_pair_iterator = - std::vector>::const_iterator; VectorType &dst_level = dst[level]; // first copy local unknowns @@ -303,9 +300,6 @@ MGLevelGlobalTransfer::copy_from_mg( AssertThrowMPI(ierr); #endif - using dof_pair_iterator = - std::vector>::const_iterator; const VectorType &src_level = src[level]; // First copy all indices local to this process @@ -351,9 +345,6 @@ MGLevelGlobalTransfer::copy_from_mg_add( // basis functions for (unsigned int level = src.min_level(); level <= src.max_level(); ++level) { - using dof_pair_iterator = - std::vector>::const_iterator; const VectorType &src_level = src[level]; // First add all indices local to this process diff --git a/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h b/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h index 4af3ef8490..1fcb7ead22 100644 --- a/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h +++ b/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h @@ -5579,10 +5579,6 @@ MGTwoLevelTransferNonNested::restrict_and_add_internal_comp( VectorType &dst, const VectorType &src) const { - using Traits = internal::FEPointEvaluation:: - EvaluatorTypeTraits; - using value_type = typename Traits::value_type; - std::vector &evaluation_point_results = this->rpe_input_output; std::vector &buffer = this->rpe_buffer; diff --git a/source/particles/particle_handler.cc b/source/particles/particle_handler.cc index 94ec8ac967..58f9f4a84a 100644 --- a/source/particles/particle_handler.cc +++ b/source/particles/particle_handler.cc @@ -1297,8 +1297,6 @@ namespace Particles // approximate sizes for these vectors. If more space is needed an // automatic and relatively fast (compared to other parts of this // algorithm) re-allocation will happen. - using vector_size = typename std::vector::size_type; - std::set ghost_owners; if (const auto parallel_triangulation = dynamic_cast *>(