From 429f104c6cddf694d6adcb146c5a5b73bf47479f Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Fri, 4 Jul 2025 13:34:34 +0200 Subject: [PATCH] Remove remaining occurences of p::d::SolutionTransfer in examples and tests. --- examples/step-68/step-68.cc | 1 - examples/step-69/step-69.cc | 12 +++++------- tests/distributed_grids/large_vtu_01.cc | 1 - tests/distributed_grids/solution_transfer_05.cc | 8 ++++---- tests/mpi/interpolate_to_different_mesh_02.cc | 1 - tests/mpi/p4est_save_01.cc | 1 - tests/mpi/solution_transfer_05.cc | 7 +++---- tests/mpi/solution_transfer_11.cc | 8 ++++---- tests/particles/step-68.cc | 1 - tests/performance/timing_step_68.cc | 1 - tests/simplex/step-68.cc | 1 - 11 files changed, 16 insertions(+), 26 deletions(-) diff --git a/examples/step-68/step-68.cc b/examples/step-68/step-68.cc index ef9737773d..ce324d6822 100644 --- a/examples/step-68/step-68.cc +++ b/examples/step-68/step-68.cc @@ -25,7 +25,6 @@ #include #include -#include #include #include diff --git a/examples/step-69/step-69.cc b/examples/step-69/step-69.cc index 83b98defac..881dad5620 100644 --- a/examples/step-69/step-69.cc +++ b/examples/step-69/step-69.cc @@ -44,7 +44,7 @@ #include #include -#include +#include #include #include @@ -2535,9 +2535,8 @@ namespace Step69 { print_head(pcout, "resume interrupted computation"); - parallel::distributed:: - SolutionTransfer> - solution_transfer(offline_data.dof_handler); + SolutionTransfer> + solution_transfer(offline_data.dof_handler); std::vector *> vectors; std::transform(U.begin(), @@ -2673,9 +2672,8 @@ namespace Step69 { print_head(pcout, "checkpoint computation"); - parallel::distributed:: - SolutionTransfer> - solution_transfer(offline_data.dof_handler); + SolutionTransfer> + solution_transfer(offline_data.dof_handler); std::vector *> vectors; std::transform(U.begin(), diff --git a/tests/distributed_grids/large_vtu_01.cc b/tests/distributed_grids/large_vtu_01.cc index 5836793c06..8037636d7e 100644 --- a/tests/distributed_grids/large_vtu_01.cc +++ b/tests/distributed_grids/large_vtu_01.cc @@ -29,7 +29,6 @@ const bool run_big = false; #include #include -#include #include #include diff --git a/tests/distributed_grids/solution_transfer_05.cc b/tests/distributed_grids/solution_transfer_05.cc index 083407a137..ebfc038661 100644 --- a/tests/distributed_grids/solution_transfer_05.cc +++ b/tests/distributed_grids/solution_transfer_05.cc @@ -19,7 +19,6 @@ #include -#include #include #include @@ -31,6 +30,8 @@ #include +#include + #include "../tests.h" @@ -74,9 +75,8 @@ main(int argc, char **argv) v.print(deallog.get_file_stream()); - parallel::distributed:: - SolutionTransfer> - solution_trans(dof_handler, true /*enabling averaging*/); + SolutionTransfer> + solution_trans(dof_handler, true /*enabling averaging*/); v.update_ghost_values(); solution_trans.prepare_for_coarsening_and_refinement(v); diff --git a/tests/mpi/interpolate_to_different_mesh_02.cc b/tests/mpi/interpolate_to_different_mesh_02.cc index 59fb4e4c9c..59d2aa8a7a 100644 --- a/tests/mpi/interpolate_to_different_mesh_02.cc +++ b/tests/mpi/interpolate_to_different_mesh_02.cc @@ -16,7 +16,6 @@ #include #include -#include #include #include diff --git a/tests/mpi/p4est_save_01.cc b/tests/mpi/p4est_save_01.cc index 85996d21b9..5da93c92dd 100644 --- a/tests/mpi/p4est_save_01.cc +++ b/tests/mpi/p4est_save_01.cc @@ -19,7 +19,6 @@ #include #include -#include #include #include diff --git a/tests/mpi/solution_transfer_05.cc b/tests/mpi/solution_transfer_05.cc index 497ba707a9..3851f46e52 100644 --- a/tests/mpi/solution_transfer_05.cc +++ b/tests/mpi/solution_transfer_05.cc @@ -23,7 +23,6 @@ #include -#include #include #include @@ -39,6 +38,7 @@ #include +#include #include #include "../tests.h" @@ -81,11 +81,10 @@ test() dgq_solution); dgq_solution.update_ghost_values(); - parallel::distributed:: - SolutionTransfer> + SolutionTransfer> - dgq_soltrans(dgq_dof_handler); + dgq_soltrans(dgq_dof_handler); dgq_soltrans.prepare_for_coarsening_and_refinement(dgq_solution); // refine and transfer diff --git a/tests/mpi/solution_transfer_11.cc b/tests/mpi/solution_transfer_11.cc index 540273d79d..f429458a50 100644 --- a/tests/mpi/solution_transfer_11.cc +++ b/tests/mpi/solution_transfer_11.cc @@ -17,7 +17,6 @@ // Test distributed SolutionTransfer with hp-refinement and manually set flags. -#include #include #include @@ -31,6 +30,8 @@ #include +#include + #include "../tests.h" @@ -108,9 +109,8 @@ test() } // initiate refinement and transfer - parallel::distributed:: - SolutionTransfer> - soltrans(dofh); + SolutionTransfer> soltrans( + dofh); soltrans.prepare_for_coarsening_and_refinement(solution); tria.execute_coarsening_and_refinement(); diff --git a/tests/particles/step-68.cc b/tests/particles/step-68.cc index df64ea912f..c199b5af84 100644 --- a/tests/particles/step-68.cc +++ b/tests/particles/step-68.cc @@ -25,7 +25,6 @@ #include #include -#include #include #include diff --git a/tests/performance/timing_step_68.cc b/tests/performance/timing_step_68.cc index 7a8a669d4b..250e432b61 100644 --- a/tests/performance/timing_step_68.cc +++ b/tests/performance/timing_step_68.cc @@ -31,7 +31,6 @@ #include #include -#include #include #include diff --git a/tests/simplex/step-68.cc b/tests/simplex/step-68.cc index 727a6e7af4..b1d0a63816 100644 --- a/tests/simplex/step-68.cc +++ b/tests/simplex/step-68.cc @@ -34,7 +34,6 @@ #include #include -#include #include #include -- 2.39.5