From 559d059373d84e6637ed4cb410e1585650f93571 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 8 Nov 2017 10:31:47 -0700 Subject: [PATCH] Convert DOS to Unix line endings. --- tests/mpi/subdomain_ids_parallel_08.cc | 104 ++++++++++++------------- 1 file changed, 52 insertions(+), 52 deletions(-) diff --git a/tests/mpi/subdomain_ids_parallel_08.cc b/tests/mpi/subdomain_ids_parallel_08.cc index ffcdec162d..a433ec3223 100644 --- a/tests/mpi/subdomain_ids_parallel_08.cc +++ b/tests/mpi/subdomain_ids_parallel_08.cc @@ -1,52 +1,52 @@ -// --------------------------------------------------------------------- -// -// Copyright (C) 2015 - 2017 by the deal.II Authors -// -// This file is part of the deal.II library. -// -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE at -// the top level of the deal.II distribution. -// -// --------------------------------------------------------------------- - -// test DoFRenumbering::subdomain_wise with parallel::shared::Triangulation - -#include "../tests.h" - -// all include files you need here -#include -#include -#include -#include -#include - -template -void test() -{ - parallel::shared::Triangulation tria(MPI_COMM_WORLD); - GridGenerator::hyper_cube(tria); - tria.refine_global(3); - - FE_Q fe(1); - DoFHandler dof_handler(tria); - dof_handler.distribute_dofs(fe); - DoFRenumbering::subdomain_wise(dof_handler); - - if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) - deallog << "OK for " << dim << "d" << std::endl; -} - -int main (int argc, char *argv[]) -{ - Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, 1); - MPILogInitAll log; - - test<2>(); - test<3>(); - - return 0; -} +// --------------------------------------------------------------------- +// +// Copyright (C) 2015 - 2017 by the deal.II Authors +// +// This file is part of the deal.II library. +// +// The deal.II library is free software; you can use it, redistribute +// it, and/or modify it under the terms of the GNU Lesser General +// Public License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// The full text of the license can be found in the file LICENSE at +// the top level of the deal.II distribution. +// +// --------------------------------------------------------------------- + +// test DoFRenumbering::subdomain_wise with parallel::shared::Triangulation + +#include "../tests.h" + +// all include files you need here +#include +#include +#include +#include +#include + +template +void test() +{ + parallel::shared::Triangulation tria(MPI_COMM_WORLD); + GridGenerator::hyper_cube(tria); + tria.refine_global(3); + + FE_Q fe(1); + DoFHandler dof_handler(tria); + dof_handler.distribute_dofs(fe); + DoFRenumbering::subdomain_wise(dof_handler); + + if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0) + deallog << "OK for " << dim << "d" << std::endl; +} + +int main (int argc, char *argv[]) +{ + Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, 1); + MPILogInitAll log; + + test<2>(); + test<3>(); + + return 0; +} -- 2.39.5