]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove some unused local types. 18498/head
authorDavid Wells <drwells@email.unc.edu>
Sat, 24 May 2025 16:55:28 +0000 (12:55 -0400)
committerDavid Wells <drwells@email.unc.edu>
Sat, 24 May 2025 16:55:28 +0000 (12:55 -0400)
include/deal.II/multigrid/mg_transfer.templates.h
include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h
source/particles/particle_handler.cc

index effad1c943bd923f9fb33e17214b65635d4ef670..9278944c61768636eeff7c123501f7daa12248b5 100644 (file)
@@ -240,9 +240,6 @@ MGLevelGlobalTransfer<VectorType>::copy_to_mg(
       AssertThrowMPI(ierr);
 #endif
 
-      using dof_pair_iterator =
-        std::vector<std::pair<types::global_dof_index,
-                              types::global_dof_index>>::const_iterator;
       VectorType &dst_level = dst[level];
 
       // first copy local unknowns
@@ -303,9 +300,6 @@ MGLevelGlobalTransfer<VectorType>::copy_from_mg(
       AssertThrowMPI(ierr);
 #endif
 
-      using dof_pair_iterator =
-        std::vector<std::pair<types::global_dof_index,
-                              types::global_dof_index>>::const_iterator;
       const VectorType &src_level = src[level];
 
       // First copy all indices local to this process
@@ -351,9 +345,6 @@ MGLevelGlobalTransfer<VectorType>::copy_from_mg_add(
   // basis functions
   for (unsigned int level = src.min_level(); level <= src.max_level(); ++level)
     {
-      using dof_pair_iterator =
-        std::vector<std::pair<types::global_dof_index,
-                              types::global_dof_index>>::const_iterator;
       const VectorType &src_level = src[level];
 
       // First add all indices local to this process
index 4af3ef8490be72e4a77a3bd3faecf25e889c30cc..1fcb7ead2296b0951f000570875d51069d47fb5e 100644 (file)
@@ -5579,10 +5579,6 @@ MGTwoLevelTransferNonNested<dim, VectorType>::restrict_and_add_internal_comp(
   VectorType       &dst,
   const VectorType &src) const
 {
-  using Traits = internal::FEPointEvaluation::
-    EvaluatorTypeTraits<dim, dim, n_components, Number>;
-  using value_type = typename Traits::value_type;
-
   std::vector<Number> &evaluation_point_results = this->rpe_input_output;
   std::vector<Number> &buffer                   = this->rpe_buffer;
 
index 94ec8ac9675c94d539ac79e9198df44fb0ee4e77..58f9f4a84a559c6d85e74ac1bdf5d805c9620500 100644 (file)
@@ -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<particle_iterator>::size_type;
-
     std::set<types::subdomain_id> ghost_owners;
     if (const auto parallel_triangulation =
           dynamic_cast<const parallel::TriangulationBase<dim, spacedim> *>(

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.