From 7790929f03720673289cf01164ba57d8a1c4e0cb Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 17 Aug 2015 15:24:23 -0500 Subject: [PATCH] Fix tests by using the appropriate #include. --- tests/gla/block_mat_02.cc | 3 ++- tests/gla/block_mat_03.cc | 3 ++- tests/gla/mat_03.cc | 3 ++- tests/gla/mat_04.cc | 3 ++- tests/mpi/constraint_matrix_condense_01.cc | 3 ++- tests/mpi/distort_random_01.cc | 1 + tests/mpi/distort_random_02.cc | 1 + tests/mpi/mesh_worker_matrix_01.cc | 1 + tests/sharedtria/tria_01.cc | 4 ++-- tests/trilinos/assemble_matrix_parallel_02.cc | 1 + tests/trilinos/assemble_matrix_parallel_03.cc | 1 + tests/trilinos/assemble_matrix_parallel_04.cc | 1 + tests/trilinos/assemble_matrix_parallel_05.cc | 1 + tests/trilinos/assemble_matrix_parallel_06.cc | 1 + tests/trilinos/assemble_matrix_parallel_07.cc | 1 + tests/trilinos/mg_transfer_prebuilt_01.cc | 1 + tests/trilinos/trilinos_sparsity_pattern_02.cc | 1 + 17 files changed, 23 insertions(+), 7 deletions(-) diff --git a/tests/gla/block_mat_02.cc b/tests/gla/block_mat_02.cc index c3a42c052d..58f5292b23 100644 --- a/tests/gla/block_mat_02.cc +++ b/tests/gla/block_mat_02.cc @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2004 - 2014 by the deal.II authors +// Copyright (C) 2004 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include diff --git a/tests/gla/block_mat_03.cc b/tests/gla/block_mat_03.cc index a05df7c29f..c68c1c0b17 100644 --- a/tests/gla/block_mat_03.cc +++ b/tests/gla/block_mat_03.cc @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2004 - 2014 by the deal.II authors +// Copyright (C) 2004 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include diff --git a/tests/gla/mat_03.cc b/tests/gla/mat_03.cc index 92dd26622b..0d94bb65b5 100644 --- a/tests/gla/mat_03.cc +++ b/tests/gla/mat_03.cc @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2004 - 2014 by the deal.II authors +// Copyright (C) 2004 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include diff --git a/tests/gla/mat_04.cc b/tests/gla/mat_04.cc index a9b9bc1399..1ea01d0674 100644 --- a/tests/gla/mat_04.cc +++ b/tests/gla/mat_04.cc @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2004 - 2014 by the deal.II authors +// Copyright (C) 2004 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include diff --git a/tests/mpi/constraint_matrix_condense_01.cc b/tests/mpi/constraint_matrix_condense_01.cc index d4628a10c1..39f0950282 100644 --- a/tests/mpi/constraint_matrix_condense_01.cc +++ b/tests/mpi/constraint_matrix_condense_01.cc @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2013 - 2014 by the deal.II authors +// Copyright (C) 2013 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/tests/mpi/distort_random_01.cc b/tests/mpi/distort_random_01.cc index 52d435b5ea..3bc2eb437c 100644 --- a/tests/mpi/distort_random_01.cc +++ b/tests/mpi/distort_random_01.cc @@ -24,6 +24,7 @@ #include #include #include +#include #include #include diff --git a/tests/mpi/distort_random_02.cc b/tests/mpi/distort_random_02.cc index b02d627b5a..5d4a57dcfc 100644 --- a/tests/mpi/distort_random_02.cc +++ b/tests/mpi/distort_random_02.cc @@ -24,6 +24,7 @@ #include #include #include +#include #include #include diff --git a/tests/mpi/mesh_worker_matrix_01.cc b/tests/mpi/mesh_worker_matrix_01.cc index faee6b0521..d075f8d566 100644 --- a/tests/mpi/mesh_worker_matrix_01.cc +++ b/tests/mpi/mesh_worker_matrix_01.cc @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include diff --git a/tests/sharedtria/tria_01.cc b/tests/sharedtria/tria_01.cc index b85a32da73..2b0f36e609 100644 --- a/tests/sharedtria/tria_01.cc +++ b/tests/sharedtria/tria_01.cc @@ -1,7 +1,7 @@ // --------------------------------------------------------------------- // $Id: 3d_refinement_01.cc 31349 2013-10-20 19:07:06Z maier $ // -// Copyright (C) 2008 - 2013 by the deal.II authors +// Copyright (C) 2008 - 2013, 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -82,7 +82,7 @@ void test() deallog << std::endl;*/ deallog << "subdomains: "; - typename parallel::distributed::Triangulation::active_cell_iterator it=tr.begin_active(); + typename parallel::shared::Triangulation::active_cell_iterator it=tr.begin_active(); for (; it!=tr.end(); ++it) { deallog << it->subdomain_id() << " "; diff --git a/tests/trilinos/assemble_matrix_parallel_02.cc b/tests/trilinos/assemble_matrix_parallel_02.cc index 91f22c606c..93cd62a9ce 100644 --- a/tests/trilinos/assemble_matrix_parallel_02.cc +++ b/tests/trilinos/assemble_matrix_parallel_02.cc @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include diff --git a/tests/trilinos/assemble_matrix_parallel_03.cc b/tests/trilinos/assemble_matrix_parallel_03.cc index 7f431280e4..6fe53fe6f3 100644 --- a/tests/trilinos/assemble_matrix_parallel_03.cc +++ b/tests/trilinos/assemble_matrix_parallel_03.cc @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include diff --git a/tests/trilinos/assemble_matrix_parallel_04.cc b/tests/trilinos/assemble_matrix_parallel_04.cc index 2ccb578a59..d359982fa5 100644 --- a/tests/trilinos/assemble_matrix_parallel_04.cc +++ b/tests/trilinos/assemble_matrix_parallel_04.cc @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include diff --git a/tests/trilinos/assemble_matrix_parallel_05.cc b/tests/trilinos/assemble_matrix_parallel_05.cc index 12eb0c1719..79e76156ac 100644 --- a/tests/trilinos/assemble_matrix_parallel_05.cc +++ b/tests/trilinos/assemble_matrix_parallel_05.cc @@ -40,6 +40,7 @@ #include #include #include +#include #include #include #include diff --git a/tests/trilinos/assemble_matrix_parallel_06.cc b/tests/trilinos/assemble_matrix_parallel_06.cc index 11412b685e..183e713c7a 100644 --- a/tests/trilinos/assemble_matrix_parallel_06.cc +++ b/tests/trilinos/assemble_matrix_parallel_06.cc @@ -39,6 +39,7 @@ #include #include #include +#include #include #include #include diff --git a/tests/trilinos/assemble_matrix_parallel_07.cc b/tests/trilinos/assemble_matrix_parallel_07.cc index 290f0b7805..909ee0f21a 100644 --- a/tests/trilinos/assemble_matrix_parallel_07.cc +++ b/tests/trilinos/assemble_matrix_parallel_07.cc @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include diff --git a/tests/trilinos/mg_transfer_prebuilt_01.cc b/tests/trilinos/mg_transfer_prebuilt_01.cc index 97f692439c..85846155a7 100644 --- a/tests/trilinos/mg_transfer_prebuilt_01.cc +++ b/tests/trilinos/mg_transfer_prebuilt_01.cc @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/tests/trilinos/trilinos_sparsity_pattern_02.cc b/tests/trilinos/trilinos_sparsity_pattern_02.cc index 5f0e2a3c93..84422ec5d9 100644 --- a/tests/trilinos/trilinos_sparsity_pattern_02.cc +++ b/tests/trilinos/trilinos_sparsity_pattern_02.cc @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include -- 2.39.5