From: Marc Fehling Date: Thu, 18 Jan 2024 19:35:48 +0000 (-0700) Subject: tests: remove redundant 'using namespace dealii;' directives. X-Git-Tag: relicensing~141^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16495%2Fhead;p=dealii.git tests: remove redundant 'using namespace dealii;' directives. --- diff --git a/tests/base/bounding_box_6.cc b/tests/base/bounding_box_6.cc index 8e52be6090..505ba924fe 100644 --- a/tests/base/bounding_box_6.cc +++ b/tests/base/bounding_box_6.cc @@ -28,7 +28,6 @@ #include "../tests.h" -using namespace dealii; // Print the bounds of the incoming box to deallog. template diff --git a/tests/base/bounding_box_7.cc b/tests/base/bounding_box_7.cc index b0a2fe2e41..fce4f37384 100644 --- a/tests/base/bounding_box_7.cc +++ b/tests/base/bounding_box_7.cc @@ -26,7 +26,6 @@ #include "../tests.h" -using namespace dealii; using iota = std_cxx20::ranges::iota_view; diff --git a/tests/base/bounding_box_data_out_01.cc b/tests/base/bounding_box_data_out_01.cc index dd4464cd34..03b5a47f95 100644 --- a/tests/base/bounding_box_data_out_01.cc +++ b/tests/base/bounding_box_data_out_01.cc @@ -20,7 +20,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/base/bounding_box_data_out_02.cc b/tests/base/bounding_box_data_out_02.cc index c59cffdfd9..0cbba38117 100644 --- a/tests/base/bounding_box_data_out_02.cc +++ b/tests/base/bounding_box_data_out_02.cc @@ -22,7 +22,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/base/bounding_box_data_out_03.cc b/tests/base/bounding_box_data_out_03.cc index 7ee6423bd8..2962684cb9 100644 --- a/tests/base/bounding_box_data_out_03.cc +++ b/tests/base/bounding_box_data_out_03.cc @@ -23,7 +23,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/base/coordinate_restriction.cc b/tests/base/coordinate_restriction.cc index 836f52d568..f9a485c213 100644 --- a/tests/base/coordinate_restriction.cc +++ b/tests/base/coordinate_restriction.cc @@ -26,7 +26,6 @@ namespace { - using namespace dealii; /* * A simple test-function which is constant in space, but varies diff --git a/tests/base/create_higher_dim_point.cc b/tests/base/create_higher_dim_point.cc index 79cba2e7b5..893799c1f9 100644 --- a/tests/base/create_higher_dim_point.cc +++ b/tests/base/create_higher_dim_point.cc @@ -20,7 +20,6 @@ namespace { - using namespace dealii; // Test the function create_higher_dim_point by making sure that we // can construct the point (x, y, z), diff --git a/tests/base/lazy_01.cc b/tests/base/lazy_01.cc index b33277d5a6..cfcda8913f 100644 --- a/tests/base/lazy_01.cc +++ b/tests/base/lazy_01.cc @@ -24,7 +24,6 @@ #include "../tests.h" -using namespace dealii; int main() diff --git a/tests/base/lazy_02.cc b/tests/base/lazy_02.cc index bb00243cb4..702ec691ec 100644 --- a/tests/base/lazy_02.cc +++ b/tests/base/lazy_02.cc @@ -23,7 +23,6 @@ #include "../tests.h" -using namespace dealii; int main() diff --git a/tests/base/lazy_03.cc b/tests/base/lazy_03.cc index 48c7734ad1..1a3503cd2c 100644 --- a/tests/base/lazy_03.cc +++ b/tests/base/lazy_03.cc @@ -23,7 +23,6 @@ #include "../tests.h" -using namespace dealii; class Container { diff --git a/tests/base/lazy_04.cc b/tests/base/lazy_04.cc index 96db2318cc..6b80ec126b 100644 --- a/tests/base/lazy_04.cc +++ b/tests/base/lazy_04.cc @@ -23,7 +23,6 @@ #include "../tests.h" -using namespace dealii; int main() diff --git a/tests/base/lazy_05.cc b/tests/base/lazy_05.cc index dd03bee125..6bb96c3741 100644 --- a/tests/base/lazy_05.cc +++ b/tests/base/lazy_05.cc @@ -23,7 +23,6 @@ #include "../tests.h" -using namespace dealii; int main() diff --git a/tests/base/point_restriction.cc b/tests/base/point_restriction.cc index acc9fc78d1..913809e0cb 100644 --- a/tests/base/point_restriction.cc +++ b/tests/base/point_restriction.cc @@ -26,7 +26,6 @@ namespace { - using namespace dealii; /* * A simple test-function which is constant in space, but varies diff --git a/tests/base/quadrature_qiterated_01.cc b/tests/base/quadrature_qiterated_01.cc index 10330f5e55..05e69be7c8 100644 --- a/tests/base/quadrature_qiterated_01.cc +++ b/tests/base/quadrature_qiterated_01.cc @@ -21,7 +21,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/base/std_cxx20_functional.cc b/tests/base/std_cxx20_functional.cc index 851adec216..df724e0381 100644 --- a/tests/base/std_cxx20_functional.cc +++ b/tests/base/std_cxx20_functional.cc @@ -18,7 +18,6 @@ #include "../tests.h" -using namespace dealii; namespace { diff --git a/tests/base/taylor_estimate_function_bounds.cc b/tests/base/taylor_estimate_function_bounds.cc index 22b21d29e8..df042b702f 100644 --- a/tests/base/taylor_estimate_function_bounds.cc +++ b/tests/base/taylor_estimate_function_bounds.cc @@ -24,7 +24,6 @@ namespace { - using namespace dealii; /** * Returns a bounding box with different side lengths, 2*h_i, in all diff --git a/tests/bits/unit_support_points_03.cc b/tests/bits/unit_support_points_03.cc index b630f5fbfc..c78c6194dd 100644 --- a/tests/bits/unit_support_points_03.cc +++ b/tests/bits/unit_support_points_03.cc @@ -23,7 +23,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/boost/node_visitor_02.cc b/tests/boost/node_visitor_02.cc index 7a7932f3c4..30df85cf37 100644 --- a/tests/boost/node_visitor_02.cc +++ b/tests/boost/node_visitor_02.cc @@ -30,7 +30,6 @@ #include "../tests.h" -using namespace dealii; namespace bg = boost::geometry; namespace bgi = boost::geometry::index; diff --git a/tests/data_out/write_subdivided_simplex_vtu.cc b/tests/data_out/write_subdivided_simplex_vtu.cc index 63694ab2a8..8cd640233c 100644 --- a/tests/data_out/write_subdivided_simplex_vtu.cc +++ b/tests/data_out/write_subdivided_simplex_vtu.cc @@ -30,7 +30,6 @@ #include "../tests.h" -using namespace dealii; template class RightHandSideFunction : public Function diff --git a/tests/data_out/write_vtu_with_pvtu_record_no_folder_01.cc b/tests/data_out/write_vtu_with_pvtu_record_no_folder_01.cc index 790f98fc4d..201718fa61 100644 --- a/tests/data_out/write_vtu_with_pvtu_record_no_folder_01.cc +++ b/tests/data_out/write_vtu_with_pvtu_record_no_folder_01.cc @@ -37,7 +37,6 @@ #include "../tests.h" -using namespace dealii; int diff --git a/tests/distributed_grids/solution_transfer_05.cc b/tests/distributed_grids/solution_transfer_05.cc index 931e03e252..9d00a07dfc 100644 --- a/tests/distributed_grids/solution_transfer_05.cc +++ b/tests/distributed_grids/solution_transfer_05.cc @@ -34,7 +34,6 @@ #include "../tests.h" -using namespace dealii; int main(int argc, char **argv) diff --git a/tests/dofs/dof_accessor_03.cc b/tests/dofs/dof_accessor_03.cc index 6879748876..72658a553e 100644 --- a/tests/dofs/dof_accessor_03.cc +++ b/tests/dofs/dof_accessor_03.cc @@ -31,7 +31,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/dofs/nodal_renumbering_01.cc b/tests/dofs/nodal_renumbering_01.cc index 849c375be5..f100ac33c9 100644 --- a/tests/dofs/nodal_renumbering_01.cc +++ b/tests/dofs/nodal_renumbering_01.cc @@ -46,7 +46,6 @@ // (x0, y0, z0, x1, y1, z1, ...) and solution1 should contain (u0, v0, w0, u1, // v1, w1, ...). Verify that they match when we interpolate. -using namespace dealii; class Test : public Function<2> { diff --git a/tests/fe/fe_nothing_02.cc b/tests/fe/fe_nothing_02.cc index 745a47f837..071cb067a5 100644 --- a/tests/fe/fe_nothing_02.cc +++ b/tests/fe/fe_nothing_02.cc @@ -14,7 +14,6 @@ // This previously crashed with a segmentation fault inside // DoFHandlerImplementation::Policy::Sequential::renumber_dofs(). -using namespace dealii; int main() { diff --git a/tests/fe/generic_dofs_per_object_01.cc b/tests/fe/generic_dofs_per_object_01.cc index 854b58c18d..b171d872bf 100644 --- a/tests/fe/generic_dofs_per_object_01.cc +++ b/tests/fe/generic_dofs_per_object_01.cc @@ -22,7 +22,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/feinterface/stokes.cc b/tests/feinterface/stokes.cc index 1d67fc0de7..4bd1ca7839 100644 --- a/tests/feinterface/stokes.cc +++ b/tests/feinterface/stokes.cc @@ -70,7 +70,6 @@ namespace StokesTests { - using namespace dealii; struct CopyDataFace { @@ -869,7 +868,6 @@ main() { try { - using namespace dealii; using namespace StokesTests; const int dim = 2; diff --git a/tests/fullydistributed_grids/copy_distributed_tria_01.cc b/tests/fullydistributed_grids/copy_distributed_tria_01.cc index 73b19384a1..23fbdd174b 100644 --- a/tests/fullydistributed_grids/copy_distributed_tria_01.cc +++ b/tests/fullydistributed_grids/copy_distributed_tria_01.cc @@ -32,7 +32,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/copy_distributed_tria_02.cc b/tests/fullydistributed_grids/copy_distributed_tria_02.cc index c0376fde7d..1e7dd9c5f9 100644 --- a/tests/fullydistributed_grids/copy_distributed_tria_02.cc +++ b/tests/fullydistributed_grids/copy_distributed_tria_02.cc @@ -32,7 +32,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/copy_distributed_tria_03.cc b/tests/fullydistributed_grids/copy_distributed_tria_03.cc index d207fd3ab2..a32eb53043 100644 --- a/tests/fullydistributed_grids/copy_distributed_tria_03.cc +++ b/tests/fullydistributed_grids/copy_distributed_tria_03.cc @@ -32,7 +32,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/copy_serial_tria_01.cc b/tests/fullydistributed_grids/copy_serial_tria_01.cc index d698fda036..9079b57cb0 100644 --- a/tests/fullydistributed_grids/copy_serial_tria_01.cc +++ b/tests/fullydistributed_grids/copy_serial_tria_01.cc @@ -32,7 +32,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/copy_serial_tria_02.cc b/tests/fullydistributed_grids/copy_serial_tria_02.cc index 1b6fc41024..76407bff5b 100644 --- a/tests/fullydistributed_grids/copy_serial_tria_02.cc +++ b/tests/fullydistributed_grids/copy_serial_tria_02.cc @@ -32,7 +32,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/copy_serial_tria_03.cc b/tests/fullydistributed_grids/copy_serial_tria_03.cc index 1e7f6a5214..0c5c26f23d 100644 --- a/tests/fullydistributed_grids/copy_serial_tria_03.cc +++ b/tests/fullydistributed_grids/copy_serial_tria_03.cc @@ -33,7 +33,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/copy_serial_tria_04.cc b/tests/fullydistributed_grids/copy_serial_tria_04.cc index 4bccf5921e..5951f60885 100644 --- a/tests/fullydistributed_grids/copy_serial_tria_04.cc +++ b/tests/fullydistributed_grids/copy_serial_tria_04.cc @@ -32,7 +32,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/copy_serial_tria_05.cc b/tests/fullydistributed_grids/copy_serial_tria_05.cc index c4deaef27b..cc62ddd958 100644 --- a/tests/fullydistributed_grids/copy_serial_tria_05.cc +++ b/tests/fullydistributed_grids/copy_serial_tria_05.cc @@ -33,7 +33,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/copy_serial_tria_06.cc b/tests/fullydistributed_grids/copy_serial_tria_06.cc index 61a579ffd9..e280861482 100644 --- a/tests/fullydistributed_grids/copy_serial_tria_06.cc +++ b/tests/fullydistributed_grids/copy_serial_tria_06.cc @@ -36,7 +36,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/copy_serial_tria_07.cc b/tests/fullydistributed_grids/copy_serial_tria_07.cc index 043da5f5db..6c581f7faa 100644 --- a/tests/fullydistributed_grids/copy_serial_tria_07.cc +++ b/tests/fullydistributed_grids/copy_serial_tria_07.cc @@ -32,7 +32,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/copy_serial_tria_08.cc b/tests/fullydistributed_grids/copy_serial_tria_08.cc index afd7d1fa6a..66e378203b 100644 --- a/tests/fullydistributed_grids/copy_serial_tria_08.cc +++ b/tests/fullydistributed_grids/copy_serial_tria_08.cc @@ -32,7 +32,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/copy_serial_tria_09.cc b/tests/fullydistributed_grids/copy_serial_tria_09.cc index a342679cea..dead2f68a9 100644 --- a/tests/fullydistributed_grids/copy_serial_tria_09.cc +++ b/tests/fullydistributed_grids/copy_serial_tria_09.cc @@ -33,7 +33,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/copy_serial_tria_10.cc b/tests/fullydistributed_grids/copy_serial_tria_10.cc index d9f3a442a9..b576af7ab1 100644 --- a/tests/fullydistributed_grids/copy_serial_tria_10.cc +++ b/tests/fullydistributed_grids/copy_serial_tria_10.cc @@ -35,7 +35,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/copy_serial_tria_11.cc b/tests/fullydistributed_grids/copy_serial_tria_11.cc index 12f42b78da..cfc12402ec 100644 --- a/tests/fullydistributed_grids/copy_serial_tria_11.cc +++ b/tests/fullydistributed_grids/copy_serial_tria_11.cc @@ -32,7 +32,6 @@ #include "../grid/tests.h" -using namespace dealii; int diff --git a/tests/fullydistributed_grids/copy_serial_tria_12.cc b/tests/fullydistributed_grids/copy_serial_tria_12.cc index 56d7c21a62..0ec9cf4790 100644 --- a/tests/fullydistributed_grids/copy_serial_tria_12.cc +++ b/tests/fullydistributed_grids/copy_serial_tria_12.cc @@ -32,7 +32,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/copy_serial_tria_grouped_01.cc b/tests/fullydistributed_grids/copy_serial_tria_grouped_01.cc index 53e1ac910f..08f4383b51 100644 --- a/tests/fullydistributed_grids/copy_serial_tria_grouped_01.cc +++ b/tests/fullydistributed_grids/copy_serial_tria_grouped_01.cc @@ -36,7 +36,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/create_manually_01.cc b/tests/fullydistributed_grids/create_manually_01.cc index 127acf17f9..4e4d64c6a7 100644 --- a/tests/fullydistributed_grids/create_manually_01.cc +++ b/tests/fullydistributed_grids/create_manually_01.cc @@ -32,7 +32,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/memory_consumption_01.cc b/tests/fullydistributed_grids/memory_consumption_01.cc index 9f6b9cc9e0..7c0dbfb29b 100644 --- a/tests/fullydistributed_grids/memory_consumption_01.cc +++ b/tests/fullydistributed_grids/memory_consumption_01.cc @@ -31,7 +31,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/repartitioning_01.cc b/tests/fullydistributed_grids/repartitioning_01.cc index aa7b688198..b38a350217 100644 --- a/tests/fullydistributed_grids/repartitioning_01.cc +++ b/tests/fullydistributed_grids/repartitioning_01.cc @@ -36,7 +36,6 @@ #include "../grid/tests.h" -using namespace dealii; template diff --git a/tests/fullydistributed_grids/repartitioning_02.cc b/tests/fullydistributed_grids/repartitioning_02.cc index 9cac419836..84b4da1f10 100644 --- a/tests/fullydistributed_grids/repartitioning_02.cc +++ b/tests/fullydistributed_grids/repartitioning_02.cc @@ -36,7 +36,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/repartitioning_03.cc b/tests/fullydistributed_grids/repartitioning_03.cc index 79d320abf9..05c077cbbe 100644 --- a/tests/fullydistributed_grids/repartitioning_03.cc +++ b/tests/fullydistributed_grids/repartitioning_03.cc @@ -39,7 +39,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/repartitioning_04.cc b/tests/fullydistributed_grids/repartitioning_04.cc index 34385f857d..e6acef668a 100644 --- a/tests/fullydistributed_grids/repartitioning_04.cc +++ b/tests/fullydistributed_grids/repartitioning_04.cc @@ -39,7 +39,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/repartitioning_05.cc b/tests/fullydistributed_grids/repartitioning_05.cc index c7d97ef9b5..2e8d1d8917 100644 --- a/tests/fullydistributed_grids/repartitioning_05.cc +++ b/tests/fullydistributed_grids/repartitioning_05.cc @@ -36,7 +36,6 @@ #include "../grid/tests.h" -using namespace dealii; MPI_Comm create_sub_comm(const MPI_Comm comm, const unsigned int size) diff --git a/tests/fullydistributed_grids/repartitioning_06.cc b/tests/fullydistributed_grids/repartitioning_06.cc index 28b24ac13c..3b9cefc5fa 100644 --- a/tests/fullydistributed_grids/repartitioning_06.cc +++ b/tests/fullydistributed_grids/repartitioning_06.cc @@ -37,7 +37,6 @@ #include "../grid/tests.h" -using namespace dealii; namespace dealii { diff --git a/tests/fullydistributed_grids/repartitioning_07.cc b/tests/fullydistributed_grids/repartitioning_07.cc index 1aaa5655b3..81695444e2 100644 --- a/tests/fullydistributed_grids/repartitioning_07.cc +++ b/tests/fullydistributed_grids/repartitioning_07.cc @@ -35,7 +35,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/repartitioning_08.cc b/tests/fullydistributed_grids/repartitioning_08.cc index 81b53ee080..f220e0e1f1 100644 --- a/tests/fullydistributed_grids/repartitioning_08.cc +++ b/tests/fullydistributed_grids/repartitioning_08.cc @@ -37,7 +37,6 @@ #include "../grid/tests.h" -using namespace dealii; template diff --git a/tests/fullydistributed_grids/save_load_01.cc b/tests/fullydistributed_grids/save_load_01.cc index 4d5ee17fd6..8bfe26b155 100644 --- a/tests/fullydistributed_grids/save_load_01.cc +++ b/tests/fullydistributed_grids/save_load_01.cc @@ -34,7 +34,6 @@ #include "../grid/tests.h" -using namespace dealii; template void diff --git a/tests/fullydistributed_grids/solution_transfer_01.cc b/tests/fullydistributed_grids/solution_transfer_01.cc index d7a3a4e35d..0b7b20612f 100644 --- a/tests/fullydistributed_grids/solution_transfer_01.cc +++ b/tests/fullydistributed_grids/solution_transfer_01.cc @@ -34,7 +34,6 @@ #include "../grid/tests.h" -using namespace dealii; template class InterpolationFunction : public Function diff --git a/tests/grid/global_ids_01.cc b/tests/grid/global_ids_01.cc index 0c4198037c..64afe519b2 100644 --- a/tests/grid/global_ids_01.cc +++ b/tests/grid/global_ids_01.cc @@ -30,7 +30,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/grid/global_ids_03.cc b/tests/grid/global_ids_03.cc index a5282568bc..33ebbddf68 100644 --- a/tests/grid/global_ids_03.cc +++ b/tests/grid/global_ids_03.cc @@ -30,7 +30,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/grid/grid_generator_marching_cube_algorithm_01.cc b/tests/grid/grid_generator_marching_cube_algorithm_01.cc index 1e29415215..174dd32763 100644 --- a/tests/grid/grid_generator_marching_cube_algorithm_01.cc +++ b/tests/grid/grid_generator_marching_cube_algorithm_01.cc @@ -44,7 +44,6 @@ #include "../tests.h" -using namespace dealii; using VectorType = LinearAlgebra::distributed::Vector; diff --git a/tests/grid/grid_generator_marching_cube_algorithm_02.cc b/tests/grid/grid_generator_marching_cube_algorithm_02.cc index c342684b1c..739ff8b502 100644 --- a/tests/grid/grid_generator_marching_cube_algorithm_02.cc +++ b/tests/grid/grid_generator_marching_cube_algorithm_02.cc @@ -39,7 +39,6 @@ #include "../tests.h" -using namespace dealii; using VectorType = LinearAlgebra::distributed::Vector; diff --git a/tests/grid/grid_generator_non_standard_orientation_mesh_2d.cc b/tests/grid/grid_generator_non_standard_orientation_mesh_2d.cc index 1331a08fd7..2b036ab8eb 100644 --- a/tests/grid/grid_generator_non_standard_orientation_mesh_2d.cc +++ b/tests/grid/grid_generator_non_standard_orientation_mesh_2d.cc @@ -30,7 +30,6 @@ // STL #include -using namespace dealii; template void diff --git a/tests/grid/grid_generator_non_standard_orientation_mesh_3d.cc b/tests/grid/grid_generator_non_standard_orientation_mesh_3d.cc index c32acb6926..92ebb674dd 100644 --- a/tests/grid/grid_generator_non_standard_orientation_mesh_3d.cc +++ b/tests/grid/grid_generator_non_standard_orientation_mesh_3d.cc @@ -30,7 +30,6 @@ // STL #include -using namespace dealii; template void diff --git a/tests/grid/grid_in_exodusii.cc b/tests/grid/grid_in_exodusii.cc index 8ccb5bb459..c1b291848f 100644 --- a/tests/grid/grid_in_exodusii.cc +++ b/tests/grid/grid_in_exodusii.cc @@ -23,7 +23,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/grid/grid_in_gmsh_02.cc b/tests/grid/grid_in_gmsh_02.cc index 5ee40eb1a0..5908956fdf 100644 --- a/tests/grid/grid_in_gmsh_02.cc +++ b/tests/grid/grid_in_gmsh_02.cc @@ -30,7 +30,6 @@ #include "../tests.h" -using namespace dealii; template diff --git a/tests/grid/grid_in_gmsh_03.cc b/tests/grid/grid_in_gmsh_03.cc index b224d4ef34..efadf7b1e5 100644 --- a/tests/grid/grid_in_gmsh_03.cc +++ b/tests/grid/grid_in_gmsh_03.cc @@ -31,7 +31,6 @@ #include "../tests.h" -using namespace dealii; template diff --git a/tests/grid/is_artificial_on_level.cc b/tests/grid/is_artificial_on_level.cc index a28d0d686e..ed217191a4 100644 --- a/tests/grid/is_artificial_on_level.cc +++ b/tests/grid/is_artificial_on_level.cc @@ -24,7 +24,6 @@ #include "../tests.h" -using namespace dealii; int main(int argc, char *argv[]) diff --git a/tests/grid/merge_triangulations_10.cc b/tests/grid/merge_triangulations_10.cc index d7d53851f0..299c6a92cc 100644 --- a/tests/grid/merge_triangulations_10.cc +++ b/tests/grid/merge_triangulations_10.cc @@ -35,8 +35,6 @@ print_boundary_ids(const dealii::Triangulation &tria) int main() { - using namespace dealii; - initlog(); const unsigned int dim = 2; diff --git a/tests/grid/reference_cell_type_01.cc b/tests/grid/reference_cell_type_01.cc index 9974896c2a..4d1202fce7 100644 --- a/tests/grid/reference_cell_type_01.cc +++ b/tests/grid/reference_cell_type_01.cc @@ -21,7 +21,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/grid/reference_cell_type_02.cc b/tests/grid/reference_cell_type_02.cc index 9df75aaaf5..a42ba2ab03 100644 --- a/tests/grid/reference_cell_type_02.cc +++ b/tests/grid/reference_cell_type_02.cc @@ -26,7 +26,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/grid/reference_cell_type_02_midpoint.cc b/tests/grid/reference_cell_type_02_midpoint.cc index 719cf5a40d..30903182fb 100644 --- a/tests/grid/reference_cell_type_02_midpoint.cc +++ b/tests/grid/reference_cell_type_02_midpoint.cc @@ -27,7 +27,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/grid/reference_cell_type_02_q.cc b/tests/grid/reference_cell_type_02_q.cc index 19c9f9f852..513dbbb926 100644 --- a/tests/grid/reference_cell_type_02_q.cc +++ b/tests/grid/reference_cell_type_02_q.cc @@ -28,7 +28,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/grid/reference_cell_type_03.cc b/tests/grid/reference_cell_type_03.cc index 7058e98788..2f21e5a00e 100644 --- a/tests/grid/reference_cell_type_03.cc +++ b/tests/grid/reference_cell_type_03.cc @@ -26,7 +26,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/grid/reference_cell_type_03_midpoint.cc b/tests/grid/reference_cell_type_03_midpoint.cc index f8502d1181..12cff7df81 100644 --- a/tests/grid/reference_cell_type_03_midpoint.cc +++ b/tests/grid/reference_cell_type_03_midpoint.cc @@ -27,7 +27,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/grid/reference_cell_type_03_q.cc b/tests/grid/reference_cell_type_03_q.cc index 33178d52a1..3a49502afc 100644 --- a/tests/grid/reference_cell_type_03_q.cc +++ b/tests/grid/reference_cell_type_03_q.cc @@ -27,7 +27,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/grid/reference_cell_type_04.cc b/tests/grid/reference_cell_type_04.cc index b56901d796..302cba4c5c 100644 --- a/tests/grid/reference_cell_type_04.cc +++ b/tests/grid/reference_cell_type_04.cc @@ -26,7 +26,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/grid/reference_cell_type_05.cc b/tests/grid/reference_cell_type_05.cc index aea7f99b34..63577036a9 100644 --- a/tests/grid/reference_cell_type_05.cc +++ b/tests/grid/reference_cell_type_05.cc @@ -24,7 +24,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/grid/refine_boundary_domain.cc b/tests/grid/refine_boundary_domain.cc index 81078ab60a..abcbc3afd8 100644 --- a/tests/grid/refine_boundary_domain.cc +++ b/tests/grid/refine_boundary_domain.cc @@ -23,7 +23,6 @@ #include "../tests.h" -using namespace dealii; int main() diff --git a/tests/grid/save_load_01.cc b/tests/grid/save_load_01.cc index 26f83aff01..eea7575b21 100644 --- a/tests/grid/save_load_01.cc +++ b/tests/grid/save_load_01.cc @@ -32,7 +32,6 @@ #include "./tests.h" -using namespace dealii; template void diff --git a/tests/grid/serialization_01.cc b/tests/grid/serialization_01.cc index 290e18c897..aa0c7a951d 100644 --- a/tests/grid/serialization_01.cc +++ b/tests/grid/serialization_01.cc @@ -33,7 +33,6 @@ #include "./tests.h" -using namespace dealii; template class InterpolationFunction : public Function diff --git a/tests/lac/constraints_make_consistent_in_parallel_01.cc b/tests/lac/constraints_make_consistent_in_parallel_01.cc index c1b8211025..bc3d231576 100644 --- a/tests/lac/constraints_make_consistent_in_parallel_01.cc +++ b/tests/lac/constraints_make_consistent_in_parallel_01.cc @@ -31,7 +31,6 @@ #include "../tests.h" -using namespace dealii; /** * mpirun -np 4 ./constraints_01 diff --git a/tests/lac/distributed_vector_sm.cc b/tests/lac/distributed_vector_sm.cc index 8cc7b5730f..a6300c9e06 100644 --- a/tests/lac/distributed_vector_sm.cc +++ b/tests/lac/distributed_vector_sm.cc @@ -22,8 +22,6 @@ #include "../tests.h" -using namespace dealii; - int diff --git a/tests/lac/step-40-linear_operator_01.cc b/tests/lac/step-40-linear_operator_01.cc index e476902b57..546967186e 100644 --- a/tests/lac/step-40-linear_operator_01.cc +++ b/tests/lac/step-40-linear_operator_01.cc @@ -63,7 +63,6 @@ namespace Step40 { - using namespace dealii; template class LaplaceProblem diff --git a/tests/lac/step-40-linear_operator_02.cc b/tests/lac/step-40-linear_operator_02.cc index 35b77bdd93..1c6070ebf2 100644 --- a/tests/lac/step-40-linear_operator_02.cc +++ b/tests/lac/step-40-linear_operator_02.cc @@ -63,7 +63,6 @@ namespace Step40 { - using namespace dealii; template class LaplaceProblem diff --git a/tests/lac/step-40-linear_operator_03.cc b/tests/lac/step-40-linear_operator_03.cc index c4856f38bd..50c5c7f2e5 100644 --- a/tests/lac/step-40-linear_operator_03.cc +++ b/tests/lac/step-40-linear_operator_03.cc @@ -64,7 +64,6 @@ namespace Step40 { - using namespace dealii; template class LaplaceProblem diff --git a/tests/lac/step-40-linear_operator_04.cc b/tests/lac/step-40-linear_operator_04.cc index c7a29a3cff..2163a4442e 100644 --- a/tests/lac/step-40-linear_operator_04.cc +++ b/tests/lac/step-40-linear_operator_04.cc @@ -64,7 +64,6 @@ namespace Step40 { - using namespace dealii; template class LaplaceProblem diff --git a/tests/lac/step-40-linear_operator_05.cc b/tests/lac/step-40-linear_operator_05.cc index 1d325d1e44..c6a54735c7 100644 --- a/tests/lac/step-40-linear_operator_05.cc +++ b/tests/lac/step-40-linear_operator_05.cc @@ -64,7 +64,6 @@ namespace Step40 { - using namespace dealii; template class LaplaceProblem diff --git a/tests/lac/step-40-linear_operator_06.cc b/tests/lac/step-40-linear_operator_06.cc index 252be2ff7d..5d5aab3b8e 100644 --- a/tests/lac/step-40-linear_operator_06.cc +++ b/tests/lac/step-40-linear_operator_06.cc @@ -64,7 +64,6 @@ namespace Step40 { - using namespace dealii; template class LaplaceProblem diff --git a/tests/lac/vector_memory_01.cc b/tests/lac/vector_memory_01.cc index 5499d325bd..a59c49e4ad 100644 --- a/tests/lac/vector_memory_01.cc +++ b/tests/lac/vector_memory_01.cc @@ -27,7 +27,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/lac/vector_memory_02.cc b/tests/lac/vector_memory_02.cc index ffd884c4c9..e894155a44 100644 --- a/tests/lac/vector_memory_02.cc +++ b/tests/lac/vector_memory_02.cc @@ -27,7 +27,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/manifold/transfinite_manifold_11.cc b/tests/manifold/transfinite_manifold_11.cc index 9c129cc085..8a87a956d9 100644 --- a/tests/manifold/transfinite_manifold_11.cc +++ b/tests/manifold/transfinite_manifold_11.cc @@ -23,7 +23,6 @@ #include "../tests.h" -using namespace dealii; template class GradingManifold : public ChartManifold diff --git a/tests/manifold/transfinite_manifold_12.cc b/tests/manifold/transfinite_manifold_12.cc index aaf3a711d9..33e9abbf21 100644 --- a/tests/manifold/transfinite_manifold_12.cc +++ b/tests/manifold/transfinite_manifold_12.cc @@ -30,7 +30,6 @@ main() { initlog(); - using namespace dealii; Triangulation<2, 3> tria; diff --git a/tests/matrix_free/compute_diagonal_util.h b/tests/matrix_free/compute_diagonal_util.h index 41c8f8d2b2..23099418d0 100644 --- a/tests/matrix_free/compute_diagonal_util.h +++ b/tests/matrix_free/compute_diagonal_util.h @@ -45,7 +45,6 @@ #include "../tests.h" -using namespace dealii; template class Fu : public Function diff --git a/tests/matrix_free/fe_evaluation_shift.cc b/tests/matrix_free/fe_evaluation_shift.cc index 47c33b2f44..dcbac6cf0e 100644 --- a/tests/matrix_free/fe_evaluation_shift.cc +++ b/tests/matrix_free/fe_evaluation_shift.cc @@ -270,7 +270,6 @@ shift_1d_quadrature(const Quadrature<1> &quadrature_1D, const Number shift) return {points_shift, weights}; } -using namespace dealii; template &fe, const dealii::Quadrature &quad, const dealii::EvaluationFlags::EvaluationFlags evaluation_flags) { - using namespace dealii; using VectorizedArrayType = VectorizedArray; Triangulation tria; @@ -236,7 +235,6 @@ test_hessians(const dealii::FE_Poly &fe, void test_qiterated(dealii::EvaluationFlags::EvaluationFlags evaluation_flags) { - using namespace dealii; deallog << "test_qiterated" << std::endl; for (unsigned int i = 1; i < 4; ++i) { @@ -261,7 +259,6 @@ test_qiterated(dealii::EvaluationFlags::EvaluationFlags evaluation_flags) void test_qgauss(dealii::EvaluationFlags::EvaluationFlags evaluation_flags) { - using namespace dealii; deallog << "test_qgauss" << std::endl; for (unsigned int i = 1; i < 4; ++i) { @@ -283,7 +280,6 @@ test_qgauss(dealii::EvaluationFlags::EvaluationFlags evaluation_flags) int main(int argc, char **argv) { - using namespace dealii; Utilities::MPI::MPI_InitFinalize mpi(argc, argv, 1); initlog(); diff --git a/tests/matrix_free/matrix_vector_hessians_faces.cc b/tests/matrix_free/matrix_vector_hessians_faces.cc index 81d4cfc201..6523aac3cf 100644 --- a/tests/matrix_free/matrix_vector_hessians_faces.cc +++ b/tests/matrix_free/matrix_vector_hessians_faces.cc @@ -49,7 +49,6 @@ test_hessians(const unsigned int degree, const dealii::FE_Poly &fe, const dealii::EvaluationFlags::EvaluationFlags evaluation_flags) { - using namespace dealii; using VectorizedArrayType = VectorizedArray; Triangulation tria; diff --git a/tests/matrix_free/matrix_vector_hessians_general_cells.cc b/tests/matrix_free/matrix_vector_hessians_general_cells.cc index 6352232101..4666bb72a5 100644 --- a/tests/matrix_free/matrix_vector_hessians_general_cells.cc +++ b/tests/matrix_free/matrix_vector_hessians_general_cells.cc @@ -48,7 +48,6 @@ test_hessians(const dealii::FE_Poly &fe, const dealii::Quadrature &quad, const dealii::EvaluationFlags::EvaluationFlags evaluation_flags) { - using namespace dealii; using VectorizedArrayType = VectorizedArray; Triangulation tria; @@ -239,7 +238,6 @@ test_hessians(const dealii::FE_Poly &fe, void test_qiterated(dealii::EvaluationFlags::EvaluationFlags evaluation_flags) { - using namespace dealii; deallog << "test_qiterated" << std::endl; for (unsigned int i = 1; i < 3; ++i) { @@ -259,7 +257,6 @@ test_qiterated(dealii::EvaluationFlags::EvaluationFlags evaluation_flags) void test_qgauss(dealii::EvaluationFlags::EvaluationFlags evaluation_flags) { - using namespace dealii; deallog << "test_qgauss" << std::endl; for (unsigned int i = 1; i < 4; ++i) { @@ -277,7 +274,6 @@ test_qgauss(dealii::EvaluationFlags::EvaluationFlags evaluation_flags) int main(int argc, char **argv) { - using namespace dealii; Utilities::MPI::MPI_InitFinalize mpi(argc, argv, 1); initlog(); diff --git a/tests/matrix_free/matrix_vector_hessians_general_faces.cc b/tests/matrix_free/matrix_vector_hessians_general_faces.cc index d3acccd2d3..b95ef167c2 100644 --- a/tests/matrix_free/matrix_vector_hessians_general_faces.cc +++ b/tests/matrix_free/matrix_vector_hessians_general_faces.cc @@ -52,7 +52,6 @@ test_hessians(const unsigned int degree, const dealii::FE_Poly &fe, const dealii::EvaluationFlags::EvaluationFlags evaluation_flags) { - using namespace dealii; using VectorizedArrayType = VectorizedArray; Triangulation tria; @@ -323,7 +322,6 @@ test_hessians(const unsigned int degree, int main(int argc, char **argv) { - using namespace dealii; dealii::Utilities::MPI::MPI_InitFinalize mpi(argc, argv, 1); initlog(); diff --git a/tests/matrix_free/point_evaluation_01.cc b/tests/matrix_free/point_evaluation_01.cc index c8f062bbcd..f9a232e42b 100644 --- a/tests/matrix_free/point_evaluation_01.cc +++ b/tests/matrix_free/point_evaluation_01.cc @@ -44,7 +44,6 @@ template void test(const unsigned int degree) { - using namespace dealii; Triangulation tria; if (dim > 1) diff --git a/tests/matrix_free/point_evaluation_02.cc b/tests/matrix_free/point_evaluation_02.cc index 13ca71d6a5..857210e8ab 100644 --- a/tests/matrix_free/point_evaluation_02.cc +++ b/tests/matrix_free/point_evaluation_02.cc @@ -44,7 +44,6 @@ template void test(const unsigned int degree) { - using namespace dealii; Triangulation tria; if (dim > 1) diff --git a/tests/matrix_free/point_evaluation_03.cc b/tests/matrix_free/point_evaluation_03.cc index 5cd2f899a0..a70870f51d 100644 --- a/tests/matrix_free/point_evaluation_03.cc +++ b/tests/matrix_free/point_evaluation_03.cc @@ -62,7 +62,6 @@ template void test(const unsigned int degree) { - using namespace dealii; Triangulation tria; if (dim > 1) diff --git a/tests/matrix_free/point_evaluation_04.cc b/tests/matrix_free/point_evaluation_04.cc index 35dcbc32bc..6dd872c404 100644 --- a/tests/matrix_free/point_evaluation_04.cc +++ b/tests/matrix_free/point_evaluation_04.cc @@ -65,7 +65,6 @@ template void test(const unsigned int degree) { - using namespace dealii; Triangulation tria; if (dim > 1) diff --git a/tests/matrix_free/point_evaluation_05.cc b/tests/matrix_free/point_evaluation_05.cc index 0b685b97da..8c2f0cb84b 100644 --- a/tests/matrix_free/point_evaluation_05.cc +++ b/tests/matrix_free/point_evaluation_05.cc @@ -45,7 +45,6 @@ template void test(const unsigned int degree) { - using namespace dealii; Triangulation tria; if (dim > 1) diff --git a/tests/matrix_free/point_evaluation_06.cc b/tests/matrix_free/point_evaluation_06.cc index e347ff7669..95539b5fca 100644 --- a/tests/matrix_free/point_evaluation_06.cc +++ b/tests/matrix_free/point_evaluation_06.cc @@ -46,7 +46,6 @@ template void test(const unsigned int degree) { - using namespace dealii; Triangulation tria; if (dim > 1) diff --git a/tests/matrix_free/point_evaluation_07.cc b/tests/matrix_free/point_evaluation_07.cc index b850778e15..681d4ba6d2 100644 --- a/tests/matrix_free/point_evaluation_07.cc +++ b/tests/matrix_free/point_evaluation_07.cc @@ -62,7 +62,6 @@ template void test(const unsigned int degree) { - using namespace dealii; Triangulation tria; if (dim > 1) diff --git a/tests/matrix_free/point_evaluation_08.cc b/tests/matrix_free/point_evaluation_08.cc index 9b35d1dcfd..7b58b41137 100644 --- a/tests/matrix_free/point_evaluation_08.cc +++ b/tests/matrix_free/point_evaluation_08.cc @@ -65,7 +65,6 @@ template void test(const unsigned int degree) { - using namespace dealii; Triangulation tria; if (dim > 1) diff --git a/tests/matrix_free/point_evaluation_09.cc b/tests/matrix_free/point_evaluation_09.cc index 3eec7d5360..1fbea3e35d 100644 --- a/tests/matrix_free/point_evaluation_09.cc +++ b/tests/matrix_free/point_evaluation_09.cc @@ -62,7 +62,6 @@ template void test(const unsigned int degree) { - using namespace dealii; Triangulation tria; if (dim > 1) diff --git a/tests/matrix_free/point_evaluation_10.cc b/tests/matrix_free/point_evaluation_10.cc index cb81494d1a..2c20607a5b 100644 --- a/tests/matrix_free/point_evaluation_10.cc +++ b/tests/matrix_free/point_evaluation_10.cc @@ -46,7 +46,6 @@ template void test(const unsigned int degree) { - using namespace dealii; Triangulation tria; if (dim > 1) diff --git a/tests/matrix_free/point_evaluation_11.cc b/tests/matrix_free/point_evaluation_11.cc index 910c2501fa..cbf980daa1 100644 --- a/tests/matrix_free/point_evaluation_11.cc +++ b/tests/matrix_free/point_evaluation_11.cc @@ -46,7 +46,6 @@ template void test(const unsigned int degree) { - using namespace dealii; Triangulation tria; if (dim > 1) diff --git a/tests/matrix_free/point_evaluation_12.cc b/tests/matrix_free/point_evaluation_12.cc index f41c308e5d..c99b04c072 100644 --- a/tests/matrix_free/point_evaluation_12.cc +++ b/tests/matrix_free/point_evaluation_12.cc @@ -44,7 +44,6 @@ template void test(const unsigned int degree) { - using namespace dealii; Triangulation tria; if (dim > 1) diff --git a/tests/matrix_free/point_evaluation_13.cc b/tests/matrix_free/point_evaluation_13.cc index ef6d9e3733..d5b2d0da5e 100644 --- a/tests/matrix_free/point_evaluation_13.cc +++ b/tests/matrix_free/point_evaluation_13.cc @@ -63,7 +63,6 @@ template void test() { - using namespace dealii; Triangulation tria; GridGenerator::subdivided_hyper_cube(tria, 2, 0, 1); diff --git a/tests/matrix_free/point_evaluation_14.cc b/tests/matrix_free/point_evaluation_14.cc index 50a88d1c5f..004f5c9d6a 100644 --- a/tests/matrix_free/point_evaluation_14.cc +++ b/tests/matrix_free/point_evaluation_14.cc @@ -63,7 +63,6 @@ template void test(const unsigned int degree) { - using namespace dealii; Triangulation tria; if (dim > 1) diff --git a/tests/matrix_free/point_evaluation_15.cc b/tests/matrix_free/point_evaluation_15.cc index c398d98ccd..2a62d44c55 100644 --- a/tests/matrix_free/point_evaluation_15.cc +++ b/tests/matrix_free/point_evaluation_15.cc @@ -62,7 +62,6 @@ template void test() { - using namespace dealii; Triangulation tria; GridGenerator::subdivided_hyper_cube(tria, 2, 0, 1); diff --git a/tests/matrix_free/point_evaluation_16.cc b/tests/matrix_free/point_evaluation_16.cc index 88cb97b933..6c2692f8c8 100644 --- a/tests/matrix_free/point_evaluation_16.cc +++ b/tests/matrix_free/point_evaluation_16.cc @@ -63,7 +63,6 @@ template void test(const unsigned int degree) { - using namespace dealii; Triangulation tria; if (dim > 1) diff --git a/tests/matrix_free/point_evaluation_17.cc b/tests/matrix_free/point_evaluation_17.cc index b0b29b50df..fa8d8fd2a4 100644 --- a/tests/matrix_free/point_evaluation_17.cc +++ b/tests/matrix_free/point_evaluation_17.cc @@ -62,7 +62,6 @@ template void test() { - using namespace dealii; Triangulation tria; GridGenerator::subdivided_hyper_cube(tria, 2, 0, 1); diff --git a/tests/matrix_free/point_evaluation_19.cc b/tests/matrix_free/point_evaluation_19.cc index 9920ba9aba..64c6902c6e 100644 --- a/tests/matrix_free/point_evaluation_19.cc +++ b/tests/matrix_free/point_evaluation_19.cc @@ -61,7 +61,6 @@ template void test() { - using namespace dealii; Triangulation tria; GridGenerator::subdivided_hyper_cube(tria, 2, 0, 1); diff --git a/tests/matrix_free/point_evaluation_20.cc b/tests/matrix_free/point_evaluation_20.cc index a86d74dbe3..e4af02d0a2 100644 --- a/tests/matrix_free/point_evaluation_20.cc +++ b/tests/matrix_free/point_evaluation_20.cc @@ -61,7 +61,6 @@ template void test() { - using namespace dealii; Triangulation tria; GridGenerator::subdivided_hyper_cube(tria, 2, 0, 1); diff --git a/tests/matrix_free/point_evaluation_21.cc b/tests/matrix_free/point_evaluation_21.cc index c25ea35458..8bbb7eb44a 100644 --- a/tests/matrix_free/point_evaluation_21.cc +++ b/tests/matrix_free/point_evaluation_21.cc @@ -44,7 +44,6 @@ template void test(const unsigned int degree) { - using namespace dealii; Triangulation tria; if (dim > 1) diff --git a/tests/matrix_free/point_evaluation_22.cc b/tests/matrix_free/point_evaluation_22.cc index 598b953182..957d2d3cd8 100644 --- a/tests/matrix_free/point_evaluation_22.cc +++ b/tests/matrix_free/point_evaluation_22.cc @@ -40,7 +40,6 @@ #include "../tests.h" -using namespace dealii; template void test(const unsigned int degree) { - using namespace dealii; Triangulation tria; if (dim > 1) diff --git a/tests/matrix_free/point_evaluation_24.cc b/tests/matrix_free/point_evaluation_24.cc index c21330e1b4..81a475ad2e 100644 --- a/tests/matrix_free/point_evaluation_24.cc +++ b/tests/matrix_free/point_evaluation_24.cc @@ -62,7 +62,6 @@ template void test(const unsigned int degree) { - using namespace dealii; Triangulation tria; if (dim > 1) diff --git a/tests/matrix_free/point_evaluation_25.cc b/tests/matrix_free/point_evaluation_25.cc index 818948f3c0..dc998bd828 100644 --- a/tests/matrix_free/point_evaluation_25.cc +++ b/tests/matrix_free/point_evaluation_25.cc @@ -44,7 +44,6 @@ template void test(const unsigned int degree) { - using namespace dealii; Triangulation tria; if (dim > 1) diff --git a/tests/matrix_free/point_evaluation_26.cc b/tests/matrix_free/point_evaluation_26.cc index 08e151a0e3..0202b570ca 100644 --- a/tests/matrix_free/point_evaluation_26.cc +++ b/tests/matrix_free/point_evaluation_26.cc @@ -30,7 +30,6 @@ #include "../tests.h" -using namespace dealii; template class AnalyticalFunction : public Function diff --git a/tests/matrix_free/point_evaluation_27.cc b/tests/matrix_free/point_evaluation_27.cc index 1d37406611..dd85684a15 100644 --- a/tests/matrix_free/point_evaluation_27.cc +++ b/tests/matrix_free/point_evaluation_27.cc @@ -35,7 +35,6 @@ #include "../tests.h" -using namespace dealii; template class AnalyticalFunction : public Function diff --git a/tests/matrix_free/point_evaluation_28.cc b/tests/matrix_free/point_evaluation_28.cc index e91a8b3aa9..127ca83b08 100644 --- a/tests/matrix_free/point_evaluation_28.cc +++ b/tests/matrix_free/point_evaluation_28.cc @@ -42,7 +42,6 @@ template void test(const unsigned int degree) { - using namespace dealii; Triangulation tria; if (dim > 1) diff --git a/tests/matrix_free/poisson_dg_hp.cc b/tests/matrix_free/poisson_dg_hp.cc index 1103e253ae..484482f6a2 100644 --- a/tests/matrix_free/poisson_dg_hp.cc +++ b/tests/matrix_free/poisson_dg_hp.cc @@ -54,7 +54,6 @@ #include "../tests.h" -using namespace dealii; double diff --git a/tests/matrix_free/reinit_matrix_free_threading.cc b/tests/matrix_free/reinit_matrix_free_threading.cc index 89b422578f..db9ad58a43 100644 --- a/tests/matrix_free/reinit_matrix_free_threading.cc +++ b/tests/matrix_free/reinit_matrix_free_threading.cc @@ -32,7 +32,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/mpi/create_mpi_datatype_01.cc b/tests/mpi/create_mpi_datatype_01.cc index 7d6b2bc765..61e315775a 100644 --- a/tests/mpi/create_mpi_datatype_01.cc +++ b/tests/mpi/create_mpi_datatype_01.cc @@ -24,7 +24,6 @@ const bool run_big = false; #include "../tests.h" -using namespace dealii; void test_data_type(const std::uint64_t n_bytes) diff --git a/tests/mpi/is_mpi_type.cc b/tests/mpi/is_mpi_type.cc index 18f618d937..65afca01a6 100644 --- a/tests/mpi/is_mpi_type.cc +++ b/tests/mpi/is_mpi_type.cc @@ -20,7 +20,6 @@ #include "../tests.h" -using namespace dealii; void test() diff --git a/tests/mpi/parallel_partitioner_device_08.cc b/tests/mpi/parallel_partitioner_device_08.cc index a7703f50f6..3321338d5d 100644 --- a/tests/mpi/parallel_partitioner_device_08.cc +++ b/tests/mpi/parallel_partitioner_device_08.cc @@ -174,8 +174,6 @@ test() int main(int argc, char **argv) { - using namespace dealii; - Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1); MPILogInitAll log; diff --git a/tests/mpi/union_01.cc b/tests/mpi/union_01.cc index d7482f1c6b..4715fa9292 100644 --- a/tests/mpi/union_01.cc +++ b/tests/mpi/union_01.cc @@ -20,7 +20,6 @@ #include "../tests.h" -using namespace dealii; void test(const MPI_Comm comm) diff --git a/tests/multigrid-global-coarsening/create_geometric_coarsening_sequence_01.cc b/tests/multigrid-global-coarsening/create_geometric_coarsening_sequence_01.cc index 2625bdda23..3586dbd32b 100644 --- a/tests/multigrid-global-coarsening/create_geometric_coarsening_sequence_01.cc +++ b/tests/multigrid-global-coarsening/create_geometric_coarsening_sequence_01.cc @@ -26,7 +26,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/multigrid-global-coarsening/create_polynomial_coarsening_sequence_01.cc b/tests/multigrid-global-coarsening/create_polynomial_coarsening_sequence_01.cc index d5bfae97e5..d0760097d1 100644 --- a/tests/multigrid-global-coarsening/create_polynomial_coarsening_sequence_01.cc +++ b/tests/multigrid-global-coarsening/create_polynomial_coarsening_sequence_01.cc @@ -19,7 +19,6 @@ #include "../tests.h" -using namespace dealii; void test( diff --git a/tests/multigrid-global-coarsening/mg_transfer_support_01.cc b/tests/multigrid-global-coarsening/mg_transfer_support_01.cc index 9f7073bddf..8445595eee 100644 --- a/tests/multigrid-global-coarsening/mg_transfer_support_01.cc +++ b/tests/multigrid-global-coarsening/mg_transfer_support_01.cc @@ -19,7 +19,6 @@ #include "../tests.h" -using namespace dealii; void test() diff --git a/tests/multigrid-global-coarsening/mg_transfer_util.h b/tests/multigrid-global-coarsening/mg_transfer_util.h index 197e065c19..e796baa9b8 100644 --- a/tests/multigrid-global-coarsening/mg_transfer_util.h +++ b/tests/multigrid-global-coarsening/mg_transfer_util.h @@ -23,8 +23,6 @@ #include "../tests.h" -using namespace dealii; - template diff --git a/tests/multigrid/mg_constraints_pbc.cc b/tests/multigrid/mg_constraints_pbc.cc index cb23f82583..2ddfc0f222 100644 --- a/tests/multigrid/mg_constraints_pbc.cc +++ b/tests/multigrid/mg_constraints_pbc.cc @@ -31,7 +31,6 @@ #include "../tests.h" -using namespace dealii; int main() diff --git a/tests/multigrid/mg_level_object_args_01.cc b/tests/multigrid/mg_level_object_args_01.cc index 541c634e01..2dd923cb6c 100644 --- a/tests/multigrid/mg_level_object_args_01.cc +++ b/tests/multigrid/mg_level_object_args_01.cc @@ -24,7 +24,6 @@ #include "../tests.h" -using namespace dealii; int main() diff --git a/tests/non_matching/discrete_quadrature_generator.cc b/tests/non_matching/discrete_quadrature_generator.cc index 09b5413372..4739f70876 100644 --- a/tests/non_matching/discrete_quadrature_generator.cc +++ b/tests/non_matching/discrete_quadrature_generator.cc @@ -30,7 +30,6 @@ #include "quadrature_printing.h" -using namespace dealii; template class Test diff --git a/tests/non_matching/fe_immersed_surface_values.cc b/tests/non_matching/fe_immersed_surface_values.cc index 3c007b5613..9b1e0e3deb 100644 --- a/tests/non_matching/fe_immersed_surface_values.cc +++ b/tests/non_matching/fe_immersed_surface_values.cc @@ -34,7 +34,6 @@ #include "../tests.h" -using namespace dealii; using NonMatching::FEImmersedSurfaceValues; // Set up a triangulation with a single Cartesian cell and a finite element diff --git a/tests/non_matching/fe_immersed_surface_values_02.cc b/tests/non_matching/fe_immersed_surface_values_02.cc index 3affc77db7..d53f4edccd 100644 --- a/tests/non_matching/fe_immersed_surface_values_02.cc +++ b/tests/non_matching/fe_immersed_surface_values_02.cc @@ -22,7 +22,6 @@ #include "../tests.h" -using namespace dealii; using NonMatching::FEImmersedSurfaceValues; // Set up a triangulation that we can construct an diff --git a/tests/non_matching/fe_interface_values.cc b/tests/non_matching/fe_interface_values.cc index c8947adb97..05ce2e49bc 100644 --- a/tests/non_matching/fe_interface_values.cc +++ b/tests/non_matching/fe_interface_values.cc @@ -30,7 +30,6 @@ #include "../tests.h" -using namespace dealii; // Set up a triangulation with 2 elements in a row: |-0-|-1-|, over // [0,2]x[0,1]^{dim-1}, and a level set function with a cut in the plane diff --git a/tests/non_matching/fe_interface_values_non_standard_meshes.cc b/tests/non_matching/fe_interface_values_non_standard_meshes.cc index 6c10913f50..dcaa40485a 100644 --- a/tests/non_matching/fe_interface_values_non_standard_meshes.cc +++ b/tests/non_matching/fe_interface_values_non_standard_meshes.cc @@ -41,7 +41,6 @@ #include "../tests.h" -using namespace dealii; template class Test diff --git a/tests/non_matching/fe_values.cc b/tests/non_matching/fe_values.cc index b63ffeacab..498d805300 100644 --- a/tests/non_matching/fe_values.cc +++ b/tests/non_matching/fe_values.cc @@ -31,7 +31,6 @@ #include "../tests.h" -using namespace dealii; // Assert that the two incoming cells are the same. Throw an exception if not. template diff --git a/tests/non_matching/find_best_height_direction.cc b/tests/non_matching/find_best_height_direction.cc index 7a9e7f3319..73d31c96f2 100644 --- a/tests/non_matching/find_best_height_direction.cc +++ b/tests/non_matching/find_best_height_direction.cc @@ -23,7 +23,6 @@ #include "../tests.h" -using namespace dealii; using namespace NonMatching::internal::QuadratureGeneratorImplementation; diff --git a/tests/non_matching/find_extreme_values.cc b/tests/non_matching/find_extreme_values.cc index 39fea777bd..29d5480be2 100644 --- a/tests/non_matching/find_extreme_values.cc +++ b/tests/non_matching/find_extreme_values.cc @@ -23,7 +23,6 @@ #include "../tests.h" -using namespace dealii; using namespace NonMatching::internal::QuadratureGeneratorImplementation; diff --git a/tests/non_matching/mapping_info.cc b/tests/non_matching/mapping_info.cc index 912fd13602..af73c410f5 100644 --- a/tests/non_matching/mapping_info.cc +++ b/tests/non_matching/mapping_info.cc @@ -38,7 +38,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/non_matching/pointwise_definiteness.cc b/tests/non_matching/pointwise_definiteness.cc index a8123fa027..a462a27ebf 100644 --- a/tests/non_matching/pointwise_definiteness.cc +++ b/tests/non_matching/pointwise_definiteness.cc @@ -27,7 +27,6 @@ #include "../tests.h" -using namespace dealii; using namespace NonMatching::internal::QuadratureGeneratorImplementation; diff --git a/tests/non_matching/quadrature_generator_sphere.cc b/tests/non_matching/quadrature_generator_sphere.cc index c60612d086..e2217012ee 100644 --- a/tests/non_matching/quadrature_generator_sphere.cc +++ b/tests/non_matching/quadrature_generator_sphere.cc @@ -26,7 +26,6 @@ #include "../tests.h" -using namespace dealii; /** * Compute the volume and surface area of a ball/sphere by setting up a diff --git a/tests/non_matching/root_finder.cc b/tests/non_matching/root_finder.cc index 718e9b15f5..696fd2ff8d 100644 --- a/tests/non_matching/root_finder.cc +++ b/tests/non_matching/root_finder.cc @@ -29,7 +29,6 @@ #include "../tests.h" -using namespace dealii; using namespace NonMatching::internal::QuadratureGeneratorImplementation; // Use RootFinder to find the roots of the incoming functions over the interval diff --git a/tests/non_matching/step-70.cc b/tests/non_matching/step-70.cc index 140d545eda..2f7133bde6 100644 --- a/tests/non_matching/step-70.cc +++ b/tests/non_matching/step-70.cc @@ -152,7 +152,6 @@ namespace LA namespace Step70 { - using namespace dealii; // @sect3{Run-time parameter handling} @@ -1913,7 +1912,6 @@ int main(int argc, char *argv[]) { using namespace Step70; - using namespace dealii; auto init = Utilities::MPI::MPI_InitFinalize(argc, argv, 1); MPILogInitAll log(true); diff --git a/tests/non_matching/tensor_point_with_1D_quadrature.cc b/tests/non_matching/tensor_point_with_1D_quadrature.cc index 3f2d3a1c4d..b3ccb42999 100644 --- a/tests/non_matching/tensor_point_with_1D_quadrature.cc +++ b/tests/non_matching/tensor_point_with_1D_quadrature.cc @@ -26,7 +26,6 @@ #include "quadrature_printing.h" -using namespace dealii; using namespace NonMatching::internal::QuadratureGeneratorImplementation; diff --git a/tests/non_matching/up_through_dimension_creator.cc b/tests/non_matching/up_through_dimension_creator.cc index 20f711d4b9..d72675e257 100644 --- a/tests/non_matching/up_through_dimension_creator.cc +++ b/tests/non_matching/up_through_dimension_creator.cc @@ -29,7 +29,6 @@ #include "quadrature_printing.h" -using namespace dealii; using namespace NonMatching::internal::QuadratureGeneratorImplementation; diff --git a/tests/numerics/matrix_creator_01.cc b/tests/numerics/matrix_creator_01.cc index 4d9e8e9ad8..c61e5b5dfa 100644 --- a/tests/numerics/matrix_creator_01.cc +++ b/tests/numerics/matrix_creator_01.cc @@ -36,7 +36,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/numerics/nonlinear_solver_selector_01.cc b/tests/numerics/nonlinear_solver_selector_01.cc index fc302eea4e..77c07f34c4 100644 --- a/tests/numerics/nonlinear_solver_selector_01.cc +++ b/tests/numerics/nonlinear_solver_selector_01.cc @@ -63,7 +63,6 @@ namespace nonlinear_solver_selector_test { - using namespace dealii; using NLSolve = NonlinearSolverSelector>; diff --git a/tests/numerics/nonlinear_solver_selector_03.cc b/tests/numerics/nonlinear_solver_selector_03.cc index fe15630fd4..3eec90a139 100644 --- a/tests/numerics/nonlinear_solver_selector_03.cc +++ b/tests/numerics/nonlinear_solver_selector_03.cc @@ -77,7 +77,6 @@ namespace LA namespace MPI_nonlinear_solver_selector_test { - using namespace dealii; using NLSolve = NonlinearSolverSelector; diff --git a/tests/numerics/smoothness_estimator_01.cc b/tests/numerics/smoothness_estimator_01.cc index 7d64bb9735..790eb557db 100644 --- a/tests/numerics/smoothness_estimator_01.cc +++ b/tests/numerics/smoothness_estimator_01.cc @@ -43,8 +43,6 @@ #include "../tests.h" -using namespace dealii; - template class LegendreFunction : public Function diff --git a/tests/numerics/smoothness_estimator_02.cc b/tests/numerics/smoothness_estimator_02.cc index fa36763c86..c3f5f33049 100644 --- a/tests/numerics/smoothness_estimator_02.cc +++ b/tests/numerics/smoothness_estimator_02.cc @@ -63,8 +63,6 @@ print([i,j,k],fullratsimp(C3(i,j,k))))); #include "../tests.h" -using namespace dealii; - template class PolyFunction : public Function diff --git a/tests/parameter_handler/add_parameter_01.cc b/tests/parameter_handler/add_parameter_01.cc index 46529a3636..f8985a130c 100644 --- a/tests/parameter_handler/add_parameter_01.cc +++ b/tests/parameter_handler/add_parameter_01.cc @@ -22,7 +22,6 @@ #include "../tests.h" -using namespace dealii; int main() diff --git a/tests/particles/interpolate_on_particle_01.cc b/tests/particles/interpolate_on_particle_01.cc index 99be321dc9..2a0aa87f6b 100644 --- a/tests/particles/interpolate_on_particle_01.cc +++ b/tests/particles/interpolate_on_particle_01.cc @@ -39,7 +39,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/particles/lost_01.cc b/tests/particles/lost_01.cc index bec3e067e2..f196dc7df3 100644 --- a/tests/particles/lost_01.cc +++ b/tests/particles/lost_01.cc @@ -23,7 +23,6 @@ #include "../tests.h" -using namespace dealii; int main() diff --git a/tests/particles/particle_handler_21.cc b/tests/particles/particle_handler_21.cc index 1ed786250f..ff68270dfd 100644 --- a/tests/particles/particle_handler_21.cc +++ b/tests/particles/particle_handler_21.cc @@ -56,7 +56,6 @@ #include "../tests.h" -using namespace dealii; template class VelocityField : public Function diff --git a/tests/particles/particle_handler_22.cc b/tests/particles/particle_handler_22.cc index fb31825e9b..d0fb313ffa 100644 --- a/tests/particles/particle_handler_22.cc +++ b/tests/particles/particle_handler_22.cc @@ -54,7 +54,6 @@ #include "../tests.h" -using namespace dealii; template class VelocityField : public Function diff --git a/tests/particles/particle_interpolation_01.cc b/tests/particles/particle_interpolation_01.cc index 58705b4591..9b89692acd 100644 --- a/tests/particles/particle_interpolation_01.cc +++ b/tests/particles/particle_interpolation_01.cc @@ -38,7 +38,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/particles/particle_interpolation_02.cc b/tests/particles/particle_interpolation_02.cc index ab8c244746..cd142f2609 100644 --- a/tests/particles/particle_interpolation_02.cc +++ b/tests/particles/particle_interpolation_02.cc @@ -42,7 +42,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/particles/particle_interpolation_03.cc b/tests/particles/particle_interpolation_03.cc index 351b95135a..bdd37183aa 100644 --- a/tests/particles/particle_interpolation_03.cc +++ b/tests/particles/particle_interpolation_03.cc @@ -41,7 +41,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/particles/particle_interpolation_04.cc b/tests/particles/particle_interpolation_04.cc index 2dc7134e3b..56b4ca43bf 100644 --- a/tests/particles/particle_interpolation_04.cc +++ b/tests/particles/particle_interpolation_04.cc @@ -41,7 +41,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/particles/particle_interpolation_05.cc b/tests/particles/particle_interpolation_05.cc index 0b2d24f20e..7ccf13253f 100644 --- a/tests/particles/particle_interpolation_05.cc +++ b/tests/particles/particle_interpolation_05.cc @@ -46,7 +46,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/particles/step-19.cc b/tests/particles/step-19.cc index 024d7e1ed1..f22fece6d9 100644 --- a/tests/particles/step-19.cc +++ b/tests/particles/step-19.cc @@ -65,8 +65,6 @@ #include "../tests.h" -using namespace dealii; - // @sect3{Global definitions} diff --git a/tests/particles/step-68.cc b/tests/particles/step-68.cc index 28abc99d43..2afd6a0af1 100644 --- a/tests/particles/step-68.cc +++ b/tests/particles/step-68.cc @@ -75,7 +75,6 @@ namespace Step68 { - using namespace dealii; // @sect3{Velocity profile} @@ -728,7 +727,6 @@ int main(int argc, char *argv[]) { using namespace Step68; - using namespace dealii; Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1); MPILogInitAll all; diff --git a/tests/petsc/step-67-with-petsc-ts.cc b/tests/petsc/step-67-with-petsc-ts.cc index 3ee243b942..c60f5b5e5c 100644 --- a/tests/petsc/step-67-with-petsc-ts.cc +++ b/tests/petsc/step-67-with-petsc-ts.cc @@ -67,7 +67,6 @@ namespace Euler_DG { - using namespace dealii; // Similarly to the other matrix-free tutorial programs, we collect all // parameters that control the execution of the program at the top of the @@ -2396,7 +2395,6 @@ int main(int argc, char **argv) { using namespace Euler_DG; - using namespace dealii; initlog(); Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1); diff --git a/tests/petsc/step-77-snes.cc b/tests/petsc/step-77-snes.cc index ee1984e3b5..3633762dc5 100644 --- a/tests/petsc/step-77-snes.cc +++ b/tests/petsc/step-77-snes.cc @@ -67,7 +67,6 @@ namespace Step77 { // Before writing the main class to solve the problem, we define // shortcuts for the types we are going to use within this tutorial. - using namespace dealii; using VectorType = PETScWrappers::MPI::Vector; using MatrixType = PETScWrappers::MPI::SparseMatrix; using PreconditionerType = PETScWrappers::PreconditionLU; diff --git a/tests/physics/positive_negative_split.cc b/tests/physics/positive_negative_split.cc index fc48f45491..cc9d3a123c 100644 --- a/tests/physics/positive_negative_split.cc +++ b/tests/physics/positive_negative_split.cc @@ -33,8 +33,6 @@ template void positive_negative_split_test() { - using namespace dealii; - SymmetricTensor<2, dim> random_tensor; srand(time(0)); diff --git a/tests/remote_point_evaluation/convert_intersections_to_rpe_data_01.cc b/tests/remote_point_evaluation/convert_intersections_to_rpe_data_01.cc index 13cb52cf8d..154c7e9aad 100644 --- a/tests/remote_point_evaluation/convert_intersections_to_rpe_data_01.cc +++ b/tests/remote_point_evaluation/convert_intersections_to_rpe_data_01.cc @@ -31,7 +31,6 @@ #include "../tests.h" -using namespace dealii; template std::vector>> diff --git a/tests/remote_point_evaluation/convert_intersections_to_rpe_data_02.cc b/tests/remote_point_evaluation/convert_intersections_to_rpe_data_02.cc index 518beb66ca..6899b020d3 100644 --- a/tests/remote_point_evaluation/convert_intersections_to_rpe_data_02.cc +++ b/tests/remote_point_evaluation/convert_intersections_to_rpe_data_02.cc @@ -31,7 +31,6 @@ #include "../tests.h" -using namespace dealii; template std::vector>> diff --git a/tests/remote_point_evaluation/convert_intersections_to_rpe_data_03.cc b/tests/remote_point_evaluation/convert_intersections_to_rpe_data_03.cc index c070dc142b..6db3bade2e 100644 --- a/tests/remote_point_evaluation/convert_intersections_to_rpe_data_03.cc +++ b/tests/remote_point_evaluation/convert_intersections_to_rpe_data_03.cc @@ -31,7 +31,6 @@ #include "../tests.h" -using namespace dealii; template std::vector>> diff --git a/tests/remote_point_evaluation/convert_intersections_to_rpe_data_04.cc b/tests/remote_point_evaluation/convert_intersections_to_rpe_data_04.cc index f210ebf5cd..0ef5e9ad79 100644 --- a/tests/remote_point_evaluation/convert_intersections_to_rpe_data_04.cc +++ b/tests/remote_point_evaluation/convert_intersections_to_rpe_data_04.cc @@ -31,7 +31,6 @@ #include "../tests.h" -using namespace dealii; template std::vector>> diff --git a/tests/remote_point_evaluation/data_out_resample_01.cc b/tests/remote_point_evaluation/data_out_resample_01.cc index e7197643c4..b353127d7c 100644 --- a/tests/remote_point_evaluation/data_out_resample_01.cc +++ b/tests/remote_point_evaluation/data_out_resample_01.cc @@ -33,7 +33,6 @@ #include "../tests.h" -using namespace dealii; template class AnalyticalFunction : public Function diff --git a/tests/remote_point_evaluation/data_out_resample_02.cc b/tests/remote_point_evaluation/data_out_resample_02.cc index 617d527fc8..b1af2e9b95 100644 --- a/tests/remote_point_evaluation/data_out_resample_02.cc +++ b/tests/remote_point_evaluation/data_out_resample_02.cc @@ -35,7 +35,6 @@ #include "../tests.h" -using namespace dealii; template class AnalyticalFunction : public Function diff --git a/tests/remote_point_evaluation/distributed_compute_intersection_locations_01.cc b/tests/remote_point_evaluation/distributed_compute_intersection_locations_01.cc index c1a695cdbe..df04ab2ba8 100644 --- a/tests/remote_point_evaluation/distributed_compute_intersection_locations_01.cc +++ b/tests/remote_point_evaluation/distributed_compute_intersection_locations_01.cc @@ -29,7 +29,6 @@ #include "../tests.h" -using namespace dealii; template std::vector>> diff --git a/tests/remote_point_evaluation/distributed_compute_intersection_locations_02.cc b/tests/remote_point_evaluation/distributed_compute_intersection_locations_02.cc index 81769de2ef..964c500df8 100644 --- a/tests/remote_point_evaluation/distributed_compute_intersection_locations_02.cc +++ b/tests/remote_point_evaluation/distributed_compute_intersection_locations_02.cc @@ -29,7 +29,6 @@ #include "../tests.h" -using namespace dealii; template std::vector>> diff --git a/tests/remote_point_evaluation/distributed_compute_intersection_locations_03.cc b/tests/remote_point_evaluation/distributed_compute_intersection_locations_03.cc index fa4ae41984..b9ce15ff01 100644 --- a/tests/remote_point_evaluation/distributed_compute_intersection_locations_03.cc +++ b/tests/remote_point_evaluation/distributed_compute_intersection_locations_03.cc @@ -30,7 +30,6 @@ #include "../tests.h" -using namespace dealii; template std::vector>> diff --git a/tests/remote_point_evaluation/distributed_compute_intersection_locations_04.cc b/tests/remote_point_evaluation/distributed_compute_intersection_locations_04.cc index 08ae80e50b..2ef97e9a82 100644 --- a/tests/remote_point_evaluation/distributed_compute_intersection_locations_04.cc +++ b/tests/remote_point_evaluation/distributed_compute_intersection_locations_04.cc @@ -30,7 +30,6 @@ #include "../tests.h" -using namespace dealii; template std::vector>> diff --git a/tests/remote_point_evaluation/mapping_01.cc b/tests/remote_point_evaluation/mapping_01.cc index 9a65055679..f450b7799d 100644 --- a/tests/remote_point_evaluation/mapping_01.cc +++ b/tests/remote_point_evaluation/mapping_01.cc @@ -29,7 +29,6 @@ #include "../tests.h" -using namespace dealii; template diff --git a/tests/remote_point_evaluation/mapping_02.cc b/tests/remote_point_evaluation/mapping_02.cc index ea0b1bddaa..121c711579 100644 --- a/tests/remote_point_evaluation/mapping_02.cc +++ b/tests/remote_point_evaluation/mapping_02.cc @@ -32,7 +32,6 @@ #include "../tests.h" -using namespace dealii; template diff --git a/tests/remote_point_evaluation/mapping_03.cc b/tests/remote_point_evaluation/mapping_03.cc index 589530a332..faf98965d2 100644 --- a/tests/remote_point_evaluation/mapping_03.cc +++ b/tests/remote_point_evaluation/mapping_03.cc @@ -29,7 +29,6 @@ #include "../tests.h" -using namespace dealii; template diff --git a/tests/remote_point_evaluation/mapping_04.cc b/tests/remote_point_evaluation/mapping_04.cc index c791aa78dc..bb850fd269 100644 --- a/tests/remote_point_evaluation/mapping_04.cc +++ b/tests/remote_point_evaluation/mapping_04.cc @@ -29,7 +29,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/remote_point_evaluation/remote_point_evaluation_01.cc b/tests/remote_point_evaluation/remote_point_evaluation_01.cc index 59e869ad08..9ade2a5120 100644 --- a/tests/remote_point_evaluation/remote_point_evaluation_01.cc +++ b/tests/remote_point_evaluation/remote_point_evaluation_01.cc @@ -46,7 +46,6 @@ #include "../tests.h" -using namespace dealii; using VectorType = LinearAlgebra::distributed::Vector; diff --git a/tests/remote_point_evaluation/remote_point_evaluation_02.cc b/tests/remote_point_evaluation/remote_point_evaluation_02.cc index 3f76f39f49..b3db4573fc 100644 --- a/tests/remote_point_evaluation/remote_point_evaluation_02.cc +++ b/tests/remote_point_evaluation/remote_point_evaluation_02.cc @@ -46,7 +46,6 @@ #include "../tests.h" -using namespace dealii; using VectorType = LinearAlgebra::distributed::Vector; diff --git a/tests/remote_point_evaluation/remote_point_evaluation_03.cc b/tests/remote_point_evaluation/remote_point_evaluation_03.cc index d556d5968e..6e1e52b676 100644 --- a/tests/remote_point_evaluation/remote_point_evaluation_03.cc +++ b/tests/remote_point_evaluation/remote_point_evaluation_03.cc @@ -49,7 +49,6 @@ #include "../tests.h" -using namespace dealii; using VectorType = LinearAlgebra::distributed::Vector; diff --git a/tests/remote_point_evaluation/setup_rpe_with_intersections_01.cc b/tests/remote_point_evaluation/setup_rpe_with_intersections_01.cc index 43695a6f48..0ad1c42f71 100644 --- a/tests/remote_point_evaluation/setup_rpe_with_intersections_01.cc +++ b/tests/remote_point_evaluation/setup_rpe_with_intersections_01.cc @@ -31,7 +31,6 @@ #include "../tests.h" -using namespace dealii; template std::vector>> diff --git a/tests/remote_point_evaluation/setup_rpe_with_intersections_02.cc b/tests/remote_point_evaluation/setup_rpe_with_intersections_02.cc index 02caa53cd5..d9f2854ebf 100644 --- a/tests/remote_point_evaluation/setup_rpe_with_intersections_02.cc +++ b/tests/remote_point_evaluation/setup_rpe_with_intersections_02.cc @@ -31,7 +31,6 @@ #include "../tests.h" -using namespace dealii; template std::vector>> diff --git a/tests/remote_point_evaluation/setup_rpe_with_intersections_03.cc b/tests/remote_point_evaluation/setup_rpe_with_intersections_03.cc index a844fc8c6b..2efb97faaa 100644 --- a/tests/remote_point_evaluation/setup_rpe_with_intersections_03.cc +++ b/tests/remote_point_evaluation/setup_rpe_with_intersections_03.cc @@ -31,7 +31,6 @@ #include "../tests.h" -using namespace dealii; template std::vector>> diff --git a/tests/remote_point_evaluation/setup_rpe_with_intersections_04.cc b/tests/remote_point_evaluation/setup_rpe_with_intersections_04.cc index c5d3cb92ff..952721b2a2 100644 --- a/tests/remote_point_evaluation/setup_rpe_with_intersections_04.cc +++ b/tests/remote_point_evaluation/setup_rpe_with_intersections_04.cc @@ -31,7 +31,6 @@ #include "../tests.h" -using namespace dealii; template std::vector>> diff --git a/tests/remote_point_evaluation/vector_tools_evaluate_at_points_01.cc b/tests/remote_point_evaluation/vector_tools_evaluate_at_points_01.cc index db593557b0..64198439f1 100644 --- a/tests/remote_point_evaluation/vector_tools_evaluate_at_points_01.cc +++ b/tests/remote_point_evaluation/vector_tools_evaluate_at_points_01.cc @@ -42,7 +42,6 @@ #include "../tests.h" -using namespace dealii; namespace dealii { diff --git a/tests/remote_point_evaluation/vector_tools_evaluate_at_points_02.cc b/tests/remote_point_evaluation/vector_tools_evaluate_at_points_02.cc index f6934fb505..aa9f08357e 100644 --- a/tests/remote_point_evaluation/vector_tools_evaluate_at_points_02.cc +++ b/tests/remote_point_evaluation/vector_tools_evaluate_at_points_02.cc @@ -47,7 +47,6 @@ #include "../tests.h" -using namespace dealii; template MPI_Comm diff --git a/tests/remote_point_evaluation/vector_tools_evaluate_at_points_03.cc b/tests/remote_point_evaluation/vector_tools_evaluate_at_points_03.cc index ee45e98466..29a96ce5d6 100644 --- a/tests/remote_point_evaluation/vector_tools_evaluate_at_points_03.cc +++ b/tests/remote_point_evaluation/vector_tools_evaluate_at_points_03.cc @@ -43,7 +43,6 @@ #include "../tests.h" -using namespace dealii; template MPI_Comm diff --git a/tests/remote_point_evaluation/vector_tools_evaluate_at_points_04.cc b/tests/remote_point_evaluation/vector_tools_evaluate_at_points_04.cc index 2d119b080c..efc035cee9 100644 --- a/tests/remote_point_evaluation/vector_tools_evaluate_at_points_04.cc +++ b/tests/remote_point_evaluation/vector_tools_evaluate_at_points_04.cc @@ -42,7 +42,6 @@ #include "../tests.h" -using namespace dealii; template MPI_Comm diff --git a/tests/remote_point_evaluation/vector_tools_evaluate_at_points_05.cc b/tests/remote_point_evaluation/vector_tools_evaluate_at_points_05.cc index b36002642d..635080f419 100644 --- a/tests/remote_point_evaluation/vector_tools_evaluate_at_points_05.cc +++ b/tests/remote_point_evaluation/vector_tools_evaluate_at_points_05.cc @@ -42,7 +42,6 @@ #include "../tests.h" -using namespace dealii; template MPI_Comm diff --git a/tests/remote_point_evaluation/vector_tools_evaluate_at_points_06.cc b/tests/remote_point_evaluation/vector_tools_evaluate_at_points_06.cc index 89d1ee6f2d..9b1d78b8c8 100644 --- a/tests/remote_point_evaluation/vector_tools_evaluate_at_points_06.cc +++ b/tests/remote_point_evaluation/vector_tools_evaluate_at_points_06.cc @@ -42,7 +42,6 @@ #include "../tests.h" -using namespace dealii; template std::shared_ptr diff --git a/tests/remote_point_evaluation/vector_tools_evaluate_at_points_07.cc b/tests/remote_point_evaluation/vector_tools_evaluate_at_points_07.cc index e2a89c93f2..19c7084a8a 100644 --- a/tests/remote_point_evaluation/vector_tools_evaluate_at_points_07.cc +++ b/tests/remote_point_evaluation/vector_tools_evaluate_at_points_07.cc @@ -43,7 +43,6 @@ #include "../tests.h" -using namespace dealii; template MPI_Comm diff --git a/tests/serialization/parallel_fullydistributed_construction_data_1.cc b/tests/serialization/parallel_fullydistributed_construction_data_1.cc index 5e448d319d..0a8934acdc 100644 --- a/tests/serialization/parallel_fullydistributed_construction_data_1.cc +++ b/tests/serialization/parallel_fullydistributed_construction_data_1.cc @@ -29,7 +29,6 @@ #include "../grid/tests.h" #include "serialization.h" -using namespace dealii; template void diff --git a/tests/sharedtria/serialization_01.cc b/tests/sharedtria/serialization_01.cc index 07cbfcce34..be4727367e 100644 --- a/tests/sharedtria/serialization_01.cc +++ b/tests/sharedtria/serialization_01.cc @@ -33,7 +33,6 @@ #include "../grid/tests.h" -using namespace dealii; template class InterpolationFunction : public Function diff --git a/tests/simplex/barycentric_01.cc b/tests/simplex/barycentric_01.cc index b766fbf865..89e7765504 100644 --- a/tests/simplex/barycentric_01.cc +++ b/tests/simplex/barycentric_01.cc @@ -26,7 +26,6 @@ #include "../tests.h" -using namespace dealii; int main() diff --git a/tests/simplex/compute_point_locations_01.cc b/tests/simplex/compute_point_locations_01.cc index 27fbc3dccd..3c1b2e4bfc 100644 --- a/tests/simplex/compute_point_locations_01.cc +++ b/tests/simplex/compute_point_locations_01.cc @@ -30,7 +30,6 @@ // Create a simplex mesh in the unit cube. Check points distribute to each cell // via GridTools::compute_point_locations -using namespace dealii; template void diff --git a/tests/simplex/compute_projection_matrices_01.cc b/tests/simplex/compute_projection_matrices_01.cc index 29320acc74..918fa6970a 100644 --- a/tests/simplex/compute_projection_matrices_01.cc +++ b/tests/simplex/compute_projection_matrices_01.cc @@ -37,7 +37,6 @@ #include "../tests.h" -using namespace dealii; template class RightHandSideFunction : public Function diff --git a/tests/simplex/convert_hypercube_to_simplex_mesh_01.cc b/tests/simplex/convert_hypercube_to_simplex_mesh_01.cc index ad9a2e38e5..da1b8ef05b 100644 --- a/tests/simplex/convert_hypercube_to_simplex_mesh_01.cc +++ b/tests/simplex/convert_hypercube_to_simplex_mesh_01.cc @@ -32,7 +32,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/simplex/convert_hypercube_to_simplex_mesh_02.cc b/tests/simplex/convert_hypercube_to_simplex_mesh_02.cc index ed37c470a0..41e07255a5 100644 --- a/tests/simplex/convert_hypercube_to_simplex_mesh_02.cc +++ b/tests/simplex/convert_hypercube_to_simplex_mesh_02.cc @@ -28,7 +28,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/simplex/data_out_faces_01.cc b/tests/simplex/data_out_faces_01.cc index e5fe7dec0a..8fe2b57da2 100644 --- a/tests/simplex/data_out_faces_01.cc +++ b/tests/simplex/data_out_faces_01.cc @@ -38,7 +38,6 @@ #include "../tests.h" -using namespace dealii; template class RightHandSideFunction : public Function diff --git a/tests/simplex/data_out_write_gnuplot_01.cc b/tests/simplex/data_out_write_gnuplot_01.cc index 73e314da7a..3c476fc1f5 100644 --- a/tests/simplex/data_out_write_gnuplot_01.cc +++ b/tests/simplex/data_out_write_gnuplot_01.cc @@ -38,7 +38,6 @@ #include "../tests.h" -using namespace dealii; template class RightHandSideFunction : public Function diff --git a/tests/simplex/data_out_write_gnuplot_02.cc b/tests/simplex/data_out_write_gnuplot_02.cc index 47f5969360..b4a2df6649 100644 --- a/tests/simplex/data_out_write_gnuplot_02.cc +++ b/tests/simplex/data_out_write_gnuplot_02.cc @@ -38,7 +38,6 @@ #include "../tests.h" -using namespace dealii; template class RightHandSideFunction : public Function diff --git a/tests/simplex/data_out_write_gnuplot_03.cc b/tests/simplex/data_out_write_gnuplot_03.cc index 5c08845e16..95da2ec587 100644 --- a/tests/simplex/data_out_write_gnuplot_03.cc +++ b/tests/simplex/data_out_write_gnuplot_03.cc @@ -38,7 +38,6 @@ #include "../tests.h" -using namespace dealii; template class RightHandSideFunction : public Function diff --git a/tests/simplex/data_out_write_hdf5_01.cc b/tests/simplex/data_out_write_hdf5_01.cc index 1ad023ebd2..99a92b50ec 100644 --- a/tests/simplex/data_out_write_hdf5_01.cc +++ b/tests/simplex/data_out_write_hdf5_01.cc @@ -38,7 +38,6 @@ #include "../tests.h" -using namespace dealii; template class RightHandSideFunction : public Function diff --git a/tests/simplex/data_out_write_hdf5_02.cc b/tests/simplex/data_out_write_hdf5_02.cc index 4e7d06c028..aa02b10dd2 100644 --- a/tests/simplex/data_out_write_hdf5_02.cc +++ b/tests/simplex/data_out_write_hdf5_02.cc @@ -42,7 +42,6 @@ #include "../tests.h" -using namespace dealii; template class RightHandSideFunction : public Function diff --git a/tests/simplex/data_out_write_vtk_01.cc b/tests/simplex/data_out_write_vtk_01.cc index 1aea5befdf..fc060399bc 100644 --- a/tests/simplex/data_out_write_vtk_01.cc +++ b/tests/simplex/data_out_write_vtk_01.cc @@ -38,7 +38,6 @@ #include "../tests.h" -using namespace dealii; template class RightHandSideFunction : public Function diff --git a/tests/simplex/data_out_write_vtk_02.cc b/tests/simplex/data_out_write_vtk_02.cc index efc597ad62..2a854b1fc2 100644 --- a/tests/simplex/data_out_write_vtk_02.cc +++ b/tests/simplex/data_out_write_vtk_02.cc @@ -41,7 +41,6 @@ #include "./simplex_grids.h" -using namespace dealii; template class RightHandSideFunction : public Function diff --git a/tests/simplex/data_out_write_vtk_03.cc b/tests/simplex/data_out_write_vtk_03.cc index bd10f9c3a5..dd712e14cb 100644 --- a/tests/simplex/data_out_write_vtk_03.cc +++ b/tests/simplex/data_out_write_vtk_03.cc @@ -39,7 +39,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/simplex/data_out_write_vtk_04.cc b/tests/simplex/data_out_write_vtk_04.cc index 2b261c73cc..09993c6ecc 100644 --- a/tests/simplex/data_out_write_vtk_04.cc +++ b/tests/simplex/data_out_write_vtk_04.cc @@ -40,7 +40,6 @@ #include "simplex_grids.h" -using namespace dealii; template class RightHandSideFunction : public Function diff --git a/tests/simplex/data_out_write_vtu_01.cc b/tests/simplex/data_out_write_vtu_01.cc index d518f9abe2..f7e296171f 100644 --- a/tests/simplex/data_out_write_vtu_01.cc +++ b/tests/simplex/data_out_write_vtu_01.cc @@ -36,7 +36,6 @@ #include "../tests.h" -using namespace dealii; template class RightHandSideFunction : public Function diff --git a/tests/simplex/face_scaling.cc b/tests/simplex/face_scaling.cc index 675b521428..667283bb8d 100644 --- a/tests/simplex/face_scaling.cc +++ b/tests/simplex/face_scaling.cc @@ -22,7 +22,6 @@ // didn't used to work with MappingFEField since it did not apply the sqrt(2) // factor in 2D correctly. -using namespace dealii; template void @@ -58,7 +57,6 @@ test(const Triangulation &tria, int main(int argc, char **argv) { - using namespace dealii; initlog(); { diff --git a/tests/simplex/fe_lib_01.cc b/tests/simplex/fe_lib_01.cc index 2f7215cf3a..f01a8908c8 100644 --- a/tests/simplex/fe_lib_01.cc +++ b/tests/simplex/fe_lib_01.cc @@ -24,7 +24,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/simplex/fe_lib_02.cc b/tests/simplex/fe_lib_02.cc index 2932553710..ecc53b59d6 100644 --- a/tests/simplex/fe_lib_02.cc +++ b/tests/simplex/fe_lib_02.cc @@ -26,7 +26,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/simplex/fe_p_bubbles_01.cc b/tests/simplex/fe_p_bubbles_01.cc index 2da27f771c..35f54196e3 100644 --- a/tests/simplex/fe_p_bubbles_01.cc +++ b/tests/simplex/fe_p_bubbles_01.cc @@ -26,7 +26,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/simplex/fe_p_bubbles_02.cc b/tests/simplex/fe_p_bubbles_02.cc index 683f220704..7980d23167 100644 --- a/tests/simplex/fe_p_bubbles_02.cc +++ b/tests/simplex/fe_p_bubbles_02.cc @@ -37,7 +37,6 @@ #include "../tests.h" -using namespace dealii; template Quadrature diff --git a/tests/simplex/fe_p_bubbles_03.cc b/tests/simplex/fe_p_bubbles_03.cc index 08e5e513c5..9d5634d3c6 100644 --- a/tests/simplex/fe_p_bubbles_03.cc +++ b/tests/simplex/fe_p_bubbles_03.cc @@ -24,7 +24,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/simplex/get_boundary_ids_01.cc b/tests/simplex/get_boundary_ids_01.cc index 0a44f531f1..67de73871e 100644 --- a/tests/simplex/get_boundary_ids_01.cc +++ b/tests/simplex/get_boundary_ids_01.cc @@ -30,7 +30,6 @@ // Check that Triangulation::get_boundary_ids() works for // simplices. This used to crash. -using namespace dealii; template void diff --git a/tests/simplex/get_projection_matrix_01.cc b/tests/simplex/get_projection_matrix_01.cc index 01e0442dcc..7a3189e8a9 100644 --- a/tests/simplex/get_projection_matrix_01.cc +++ b/tests/simplex/get_projection_matrix_01.cc @@ -36,7 +36,6 @@ #include "../tests.h" -using namespace dealii; template class RightHandSideFunction : public Function diff --git a/tests/simplex/mapping_01.cc b/tests/simplex/mapping_01.cc index 0a9f053278..d8f260004d 100644 --- a/tests/simplex/mapping_01.cc +++ b/tests/simplex/mapping_01.cc @@ -31,7 +31,6 @@ #include "../tests.h" -using namespace dealii; template class Position : public Function diff --git a/tests/simplex/mapping_fe_01.cc b/tests/simplex/mapping_fe_01.cc index d70bc4da69..094e25970d 100644 --- a/tests/simplex/mapping_fe_01.cc +++ b/tests/simplex/mapping_fe_01.cc @@ -34,7 +34,6 @@ #include "../tests.h" -using namespace dealii; void test(const unsigned int mapping_degree) diff --git a/tests/simplex/mapping_fe_fields_01.cc b/tests/simplex/mapping_fe_fields_01.cc index 82f0c272ca..33897da1e2 100644 --- a/tests/simplex/mapping_fe_fields_01.cc +++ b/tests/simplex/mapping_fe_fields_01.cc @@ -38,7 +38,6 @@ #include "../tests.h" -using namespace dealii; void test() diff --git a/tests/simplex/mapping_fe_fields_02.cc b/tests/simplex/mapping_fe_fields_02.cc index d45cc0bbd7..86a2390ff1 100644 --- a/tests/simplex/mapping_fe_fields_02.cc +++ b/tests/simplex/mapping_fe_fields_02.cc @@ -38,7 +38,6 @@ #include "../tests.h" -using namespace dealii; template class Solution : public Function diff --git a/tests/simplex/mapping_transformations_01.cc b/tests/simplex/mapping_transformations_01.cc index 6e080c6f8a..bd53a7a2f8 100644 --- a/tests/simplex/mapping_transformations_01.cc +++ b/tests/simplex/mapping_transformations_01.cc @@ -34,7 +34,6 @@ #include "../tests.h" -using namespace dealii; void make_grid(Triangulation<2> &triangulation) diff --git a/tests/simplex/matrix_free_01.cc b/tests/simplex/matrix_free_01.cc index 0cdd4b4b48..e7bae19ead 100644 --- a/tests/simplex/matrix_free_01.cc +++ b/tests/simplex/matrix_free_01.cc @@ -50,7 +50,6 @@ #include "./simplex_grids.h" -using namespace dealii; template diff --git a/tests/simplex/matrix_free_02.cc b/tests/simplex/matrix_free_02.cc index 4cd341c4d2..766e021837 100644 --- a/tests/simplex/matrix_free_02.cc +++ b/tests/simplex/matrix_free_02.cc @@ -52,7 +52,6 @@ #include "./simplex_grids.h" -using namespace dealii; template class PoissonOperator diff --git a/tests/simplex/matrix_free_03.cc b/tests/simplex/matrix_free_03.cc index 6395f2c429..aa95d23b12 100644 --- a/tests/simplex/matrix_free_03.cc +++ b/tests/simplex/matrix_free_03.cc @@ -55,7 +55,6 @@ #include "../tests.h" -using namespace dealii; const double PENALTY = 8; diff --git a/tests/simplex/matrix_free_04.cc b/tests/simplex/matrix_free_04.cc index 60b815e44b..22d393c690 100644 --- a/tests/simplex/matrix_free_04.cc +++ b/tests/simplex/matrix_free_04.cc @@ -56,7 +56,6 @@ #include "./simplex_grids.h" -using namespace dealii; double diff --git a/tests/simplex/matrix_free_face_integral_01.cc b/tests/simplex/matrix_free_face_integral_01.cc index 06d1d59216..7fd11dfbb6 100644 --- a/tests/simplex/matrix_free_face_integral_01.cc +++ b/tests/simplex/matrix_free_face_integral_01.cc @@ -45,7 +45,6 @@ #include "./simplex_grids.h" -using namespace dealii; template diff --git a/tests/simplex/matrix_free_range_iteration_01.cc b/tests/simplex/matrix_free_range_iteration_01.cc index be3a78d8be..d4a9d7fd5c 100644 --- a/tests/simplex/matrix_free_range_iteration_01.cc +++ b/tests/simplex/matrix_free_range_iteration_01.cc @@ -35,7 +35,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/simplex/matrix_free_shape_info_01.cc b/tests/simplex/matrix_free_shape_info_01.cc index f1154487f1..240b51cd2b 100644 --- a/tests/simplex/matrix_free_shape_info_01.cc +++ b/tests/simplex/matrix_free_shape_info_01.cc @@ -37,7 +37,6 @@ #include "../tests.h" -using namespace dealii; template class ExactSolution : public Function diff --git a/tests/simplex/nodal_type_quadrature_01.cc b/tests/simplex/nodal_type_quadrature_01.cc index d6c09a6243..fb1713e0ed 100644 --- a/tests/simplex/nodal_type_quadrature_01.cc +++ b/tests/simplex/nodal_type_quadrature_01.cc @@ -21,7 +21,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/simplex/poisson_01.cc b/tests/simplex/poisson_01.cc index 3556f77e1d..f94b0b0608 100644 --- a/tests/simplex/poisson_01.cc +++ b/tests/simplex/poisson_01.cc @@ -62,7 +62,6 @@ #include "simplex_grids.h" -using namespace dealii; template struct Parameters diff --git a/tests/simplex/poisson_02.cc b/tests/simplex/poisson_02.cc index c677276e1d..84e0cdebdb 100644 --- a/tests/simplex/poisson_02.cc +++ b/tests/simplex/poisson_02.cc @@ -62,7 +62,6 @@ // #define HEX -using namespace dealii; template struct ScratchData diff --git a/tests/simplex/polynomials_01.cc b/tests/simplex/polynomials_01.cc index ab50b24366..f473b7bf80 100644 --- a/tests/simplex/polynomials_01.cc +++ b/tests/simplex/polynomials_01.cc @@ -23,7 +23,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/simplex/q_projection_01.cc b/tests/simplex/q_projection_01.cc index 5f392f164e..337ffdca5c 100644 --- a/tests/simplex/q_projection_01.cc +++ b/tests/simplex/q_projection_01.cc @@ -24,7 +24,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/simplex/quadrature_lib_01.cc b/tests/simplex/quadrature_lib_01.cc index 2fe255acba..0bed03a9ca 100644 --- a/tests/simplex/quadrature_lib_01.cc +++ b/tests/simplex/quadrature_lib_01.cc @@ -21,7 +21,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/simplex/reference_cell_kind_01.cc b/tests/simplex/reference_cell_kind_01.cc index adb60985fb..43565b5a72 100644 --- a/tests/simplex/reference_cell_kind_01.cc +++ b/tests/simplex/reference_cell_kind_01.cc @@ -23,7 +23,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/simplex/step-01.cc b/tests/simplex/step-01.cc index 2827d72971..d3661f7849 100644 --- a/tests/simplex/step-01.cc +++ b/tests/simplex/step-01.cc @@ -33,7 +33,6 @@ #include "../tests.h" -using namespace dealii; void first_grid() diff --git a/tests/simplex/step-02.cc b/tests/simplex/step-02.cc index e6073281f4..f2c81f08f4 100644 --- a/tests/simplex/step-02.cc +++ b/tests/simplex/step-02.cc @@ -43,7 +43,6 @@ #include "../tests.h" -using namespace dealii; void make_grid(Triangulation<2> &triangulation) diff --git a/tests/simplex/step-03.cc b/tests/simplex/step-03.cc index dfd61ba7cc..cef03a6c29 100644 --- a/tests/simplex/step-03.cc +++ b/tests/simplex/step-03.cc @@ -60,7 +60,6 @@ #include "../tests.h" -using namespace dealii; template class Step3 diff --git a/tests/simplex/step-04-data_out_faces.cc b/tests/simplex/step-04-data_out_faces.cc index 1881c70a6b..9ebd86d68c 100644 --- a/tests/simplex/step-04-data_out_faces.cc +++ b/tests/simplex/step-04-data_out_faces.cc @@ -59,7 +59,6 @@ #include "../tests.h" -using namespace dealii; template class Step4 diff --git a/tests/simplex/step-04.cc b/tests/simplex/step-04.cc index 6c1a158a14..e09a93a2f6 100644 --- a/tests/simplex/step-04.cc +++ b/tests/simplex/step-04.cc @@ -65,7 +65,6 @@ #include "../tests.h" -using namespace dealii; template class Step4 diff --git a/tests/simplex/step-06.cc b/tests/simplex/step-06.cc index 01e55d0ad8..a753f49054 100644 --- a/tests/simplex/step-06.cc +++ b/tests/simplex/step-06.cc @@ -77,9 +77,6 @@ -using namespace dealii; - - template class Step6 { diff --git a/tests/simplex/step-07.cc b/tests/simplex/step-07.cc index 11bc20c783..1c90bd9c21 100644 --- a/tests/simplex/step-07.cc +++ b/tests/simplex/step-07.cc @@ -72,7 +72,6 @@ namespace Step7 { - using namespace dealii; template @@ -696,7 +695,6 @@ main() try { - using namespace dealii; using namespace Step7; { diff --git a/tests/simplex/step-08.cc b/tests/simplex/step-08.cc index 65e7738ac3..41bf2c7a5c 100644 --- a/tests/simplex/step-08.cc +++ b/tests/simplex/step-08.cc @@ -66,7 +66,6 @@ namespace Step8 { - using namespace dealii; template class ElasticProblem diff --git a/tests/simplex/step-12a.cc b/tests/simplex/step-12a.cc index e9aee209a2..346f53d566 100644 --- a/tests/simplex/step-12a.cc +++ b/tests/simplex/step-12a.cc @@ -70,7 +70,6 @@ namespace Step12 { - using namespace dealii; template class BoundaryValues : public Function diff --git a/tests/simplex/step-17.cc b/tests/simplex/step-17.cc index ca26d8cc47..6585d0c465 100644 --- a/tests/simplex/step-17.cc +++ b/tests/simplex/step-17.cc @@ -81,7 +81,6 @@ namespace Step17 { - using namespace dealii; template class ElasticProblem @@ -456,7 +455,6 @@ main(int argc, char **argv) try { - using namespace dealii; using namespace Step17; ElasticProblem<2> elastic_problem; diff --git a/tests/simplex/step-18.cc b/tests/simplex/step-18.cc index dbdbb1664e..7521e47e5e 100644 --- a/tests/simplex/step-18.cc +++ b/tests/simplex/step-18.cc @@ -86,7 +86,6 @@ const unsigned int degree = 1; namespace Step18 { - using namespace dealii; template struct PointHistory @@ -1022,7 +1021,6 @@ main(int argc, char **argv) try { - using namespace dealii; using namespace Step18; Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1); diff --git a/tests/simplex/step-20.cc b/tests/simplex/step-20.cc index fc344a07e5..1020920317 100644 --- a/tests/simplex/step-20.cc +++ b/tests/simplex/step-20.cc @@ -68,7 +68,6 @@ namespace Step20 { - using namespace dealii; template class MixedLaplaceProblem diff --git a/tests/simplex/step-23.cc b/tests/simplex/step-23.cc index 8f2bdefd2c..d4fcd2c8fc 100644 --- a/tests/simplex/step-23.cc +++ b/tests/simplex/step-23.cc @@ -66,7 +66,6 @@ const unsigned int degree = 1; namespace Step23 { - using namespace dealii; template class WaveEquation @@ -442,7 +441,6 @@ main(int argc, char **argv) try { - using namespace dealii; using namespace Step23; WaveEquation<2> wave_equation_solver; diff --git a/tests/simplex/step-31.cc b/tests/simplex/step-31.cc index 0bb34819c3..3ecb50b199 100644 --- a/tests/simplex/step-31.cc +++ b/tests/simplex/step-31.cc @@ -67,7 +67,6 @@ namespace Step31 { - using namespace dealii; namespace EquationData { constexpr double eta = 1; @@ -1085,7 +1084,6 @@ main(int argc, char *argv[]) { try { - using namespace dealii; using namespace Step31; Utilities::MPI::MPI_InitFinalize mpi_initialization( argc, argv, numbers::invalid_unsigned_int); diff --git a/tests/simplex/step-40.cc b/tests/simplex/step-40.cc index 8a8305010e..a82c583384 100644 --- a/tests/simplex/step-40.cc +++ b/tests/simplex/step-40.cc @@ -93,7 +93,6 @@ namespace LA namespace Step40 { - using namespace dealii; template class LaplaceProblem @@ -413,7 +412,6 @@ main(int argc, char *argv[]) try { - using namespace dealii; using namespace Step40; diff --git a/tests/simplex/step-55.cc b/tests/simplex/step-55.cc index 897d8b179d..3df1dea8a9 100644 --- a/tests/simplex/step-55.cc +++ b/tests/simplex/step-55.cc @@ -104,7 +104,6 @@ namespace LA namespace Step55 { - using namespace dealii; // @sect3{Linear solvers and preconditioners} @@ -903,7 +902,6 @@ main(int argc, char *argv[]) mpi_initlog(); try { - using namespace dealii; using namespace Step55; diff --git a/tests/simplex/step-67.cc b/tests/simplex/step-67.cc index e6f7dd8fd8..66c9a8f385 100644 --- a/tests/simplex/step-67.cc +++ b/tests/simplex/step-67.cc @@ -93,7 +93,6 @@ namespace Euler_DG { - using namespace dealii; // Similarly to the other matrix-free tutorial programs, we collect all // parameters that control the execution of the program at the top of the @@ -2515,7 +2514,6 @@ int main(int argc, char **argv) { using namespace Euler_DG; - using namespace dealii; // tests.h enables floating point exceptions in debug mode, here we disable // them to avoid division by zero when some cell lanes might not be occupied diff --git a/tests/simplex/step-68.cc b/tests/simplex/step-68.cc index 71853c3b4b..a687b65f78 100644 --- a/tests/simplex/step-68.cc +++ b/tests/simplex/step-68.cc @@ -73,7 +73,6 @@ namespace Step68 { - using namespace dealii; @@ -539,7 +538,6 @@ int main(int argc, char *argv[]) { using namespace Step68; - using namespace dealii; Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1); initlog(); diff --git a/tests/simplex/step-74.cc b/tests/simplex/step-74.cc index 607600c7f0..0ff6ef5a2c 100644 --- a/tests/simplex/step-74.cc +++ b/tests/simplex/step-74.cc @@ -66,7 +66,6 @@ namespace Step74 { - using namespace dealii; enum class Test_Case { @@ -986,7 +985,6 @@ main() try { - using namespace dealii; using namespace Step74; Test_Case test_case = Test_Case::l_singularity; SIPGLaplace<2> problem(test_case); diff --git a/tests/simplex/unit_tangential_vectors_01.cc b/tests/simplex/unit_tangential_vectors_01.cc index cbb27fa208..70529f7ad5 100644 --- a/tests/simplex/unit_tangential_vectors_01.cc +++ b/tests/simplex/unit_tangential_vectors_01.cc @@ -24,7 +24,6 @@ #include "../tests.h" -using namespace dealii; template void diff --git a/tests/simplex/variable_face_quadratures_01.cc b/tests/simplex/variable_face_quadratures_01.cc index 83a43c3619..6e6569e216 100644 --- a/tests/simplex/variable_face_quadratures_01.cc +++ b/tests/simplex/variable_face_quadratures_01.cc @@ -34,7 +34,6 @@ #include "../tests.h" -using namespace dealii; template class Fu : public Function diff --git a/tests/simplex/variable_face_quadratures_02.cc b/tests/simplex/variable_face_quadratures_02.cc index a398b9f5bb..151aaa51c1 100644 --- a/tests/simplex/variable_face_quadratures_02.cc +++ b/tests/simplex/variable_face_quadratures_02.cc @@ -33,7 +33,6 @@ #include "../tests.h" -using namespace dealii; template class Fu : public Function diff --git a/tests/simplex/variable_face_quadratures_03.cc b/tests/simplex/variable_face_quadratures_03.cc index 4366a81900..332a73572b 100644 --- a/tests/simplex/variable_face_quadratures_03.cc +++ b/tests/simplex/variable_face_quadratures_03.cc @@ -36,7 +36,6 @@ #include "../tests.h" -using namespace dealii; template class Fu : public Function diff --git a/tests/simplex/wedge_01.cc b/tests/simplex/wedge_01.cc index 568ea6c7d1..d9f7181d4e 100644 --- a/tests/simplex/wedge_01.cc +++ b/tests/simplex/wedge_01.cc @@ -28,7 +28,6 @@ #include "../tests.h" -using namespace dealii; void test_3() diff --git a/tests/sparsity/flux_sparsity_pattern_visiting_once.cc b/tests/sparsity/flux_sparsity_pattern_visiting_once.cc index 846fc60046..503c17ba3b 100644 --- a/tests/sparsity/flux_sparsity_pattern_visiting_once.cc +++ b/tests/sparsity/flux_sparsity_pattern_visiting_once.cc @@ -30,7 +30,6 @@ #include "../tests.h" -using namespace dealii; template Triangulation diff --git a/tests/sundials/step-77.cc b/tests/sundials/step-77.cc index be7bf0e1d1..5779233bf5 100644 --- a/tests/sundials/step-77.cc +++ b/tests/sundials/step-77.cc @@ -52,7 +52,6 @@ namespace Step77 { - using namespace dealii; template class MinimalSurfaceProblem diff --git a/tests/symengine/cse_01.cc b/tests/symengine/cse_01.cc index 0490382fd0..243ba7d476 100644 --- a/tests/symengine/cse_01.cc +++ b/tests/symengine/cse_01.cc @@ -30,7 +30,6 @@ #include "../tests.h" -using namespace dealii; namespace SE = SymEngine; int diff --git a/tests/symengine/cse_02.cc b/tests/symengine/cse_02.cc index 4f05f1ec98..7982731e2c 100644 --- a/tests/symengine/cse_02.cc +++ b/tests/symengine/cse_02.cc @@ -30,7 +30,6 @@ #include "../tests.h" -using namespace dealii; namespace SE = SymEngine; int diff --git a/tests/symengine/cse_04.cc b/tests/symengine/cse_04.cc index 0773177757..0f02ed7213 100644 --- a/tests/symengine/cse_04.cc +++ b/tests/symengine/cse_04.cc @@ -40,7 +40,6 @@ #include "../tests.h" -using namespace dealii; namespace SE = SymEngine; namespace SD = dealii::Differentiation::SD; diff --git a/tests/symengine/cse_05.cc b/tests/symengine/cse_05.cc index 83ab409502..1a41e21b5e 100644 --- a/tests/symengine/cse_05.cc +++ b/tests/symengine/cse_05.cc @@ -31,7 +31,6 @@ #include "../tests.h" -using namespace dealii; namespace SD = dealii::Differentiation::SD; void diff --git a/tests/symengine/sd_common_tests/batch_optimizer_02.h b/tests/symengine/sd_common_tests/batch_optimizer_02.h index 9b9b682878..5d9ec03cef 100644 --- a/tests/symengine/sd_common_tests/batch_optimizer_02.h +++ b/tests/symengine/sd_common_tests/batch_optimizer_02.h @@ -27,7 +27,6 @@ #include "utilities.h" -using namespace dealii; namespace SD = Differentiation::SD; template @@ -302,7 +301,6 @@ main(int argc, char **argv) Utilities::MPI::MPI_InitFinalize mpi_initialization( argc, argv, testing_max_num_threads()); - using namespace dealii; using namespace Step44; try { diff --git a/tests/symengine/step-44-sd-quadrature_level_02.cc b/tests/symengine/step-44-sd-quadrature_level_02.cc index ddb0d05735..e02aa75361 100644 --- a/tests/symengine/step-44-sd-quadrature_level_02.cc +++ b/tests/symengine/step-44-sd-quadrature_level_02.cc @@ -26,7 +26,6 @@ namespace Step44 { - using namespace dealii; namespace SD = Differentiation::SD; template @@ -319,7 +318,6 @@ main(int argc, char **argv) Utilities::MPI::MPI_InitFinalize mpi_initialization( argc, argv, testing_max_num_threads()); - using namespace dealii; using namespace Step44; try { diff --git a/tests/symengine/step-44-sd-quadrature_level_03.cc b/tests/symengine/step-44-sd-quadrature_level_03.cc index 10325f0791..4d01184c48 100644 --- a/tests/symengine/step-44-sd-quadrature_level_03.cc +++ b/tests/symengine/step-44-sd-quadrature_level_03.cc @@ -28,7 +28,6 @@ namespace Step44 { - using namespace dealii; namespace SD = Differentiation::SD; template @@ -320,7 +319,6 @@ main(int argc, char **argv) Utilities::MPI::MPI_InitFinalize mpi_initialization( argc, argv, testing_max_num_threads()); - using namespace dealii; using namespace Step44; try { diff --git a/tests/trilinos/step-77-with-nox.cc b/tests/trilinos/step-77-with-nox.cc index d19f3e3dde..877dbd92a1 100644 --- a/tests/trilinos/step-77-with-nox.cc +++ b/tests/trilinos/step-77-with-nox.cc @@ -53,7 +53,6 @@ namespace Step77 { - using namespace dealii; template class MinimalSurfaceProblem