-// ---------------------------------------------------------------------\r
-//\r
-// Copyright (C) 2015 - 2017 by the deal.II Authors\r
-//\r
-// This file is part of the deal.II library.\r
-//\r
-// The deal.II library is free software; you can use it, redistribute\r
-// it, and/or modify it under the terms of the GNU Lesser General\r
-// Public License as published by the Free Software Foundation; either\r
-// version 2.1 of the License, or (at your option) any later version.\r
-// The full text of the license can be found in the file LICENSE at\r
-// the top level of the deal.II distribution.\r
-//\r
-// ---------------------------------------------------------------------\r
-\r
-// test DoFRenumbering::subdomain_wise with parallel::shared::Triangulation\r
-\r
-#include "../tests.h"\r
-\r
-// all include files you need here\r
-#include <deal.II/distributed/shared_tria.h>\r
-#include <deal.II/grid/grid_generator.h>\r
-#include <deal.II/fe/fe_q.h>\r
-#include <deal.II/dofs/dof_handler.h>\r
-#include <deal.II/dofs/dof_renumbering.h>\r
-\r
-template<int dim>\r
-void test()\r
-{\r
- parallel::shared::Triangulation<dim> tria(MPI_COMM_WORLD);\r
- GridGenerator::hyper_cube(tria);\r
- tria.refine_global(3);\r
-\r
- FE_Q<dim> fe(1);\r
- DoFHandler<dim> dof_handler(tria);\r
- dof_handler.distribute_dofs(fe);\r
- DoFRenumbering::subdomain_wise(dof_handler);\r
-\r
- if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0)\r
- deallog << "OK for " << dim << "d" << std::endl;\r
-}\r
-\r
-int main (int argc, char *argv[])\r
-{\r
- Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, 1);\r
- MPILogInitAll log;\r
-\r
- test<2>();\r
- test<3>();\r
-\r
- return 0;\r
-}\r
+// ---------------------------------------------------------------------
+//
+// 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 <deal.II/distributed/shared_tria.h>
+#include <deal.II/grid/grid_generator.h>
+#include <deal.II/fe/fe_q.h>
+#include <deal.II/dofs/dof_handler.h>
+#include <deal.II/dofs/dof_renumbering.h>
+
+template<int dim>
+void test()
+{
+ parallel::shared::Triangulation<dim> tria(MPI_COMM_WORLD);
+ GridGenerator::hyper_cube(tria);
+ tria.refine_global(3);
+
+ FE_Q<dim> fe(1);
+ DoFHandler<dim> 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;
+}