]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Convert DOS to Unix line endings. 5424/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 8 Nov 2017 17:31:47 +0000 (10:31 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 8 Nov 2017 17:31:47 +0000 (10:31 -0700)
tests/mpi/subdomain_ids_parallel_08.cc

index ffcdec162d5a1a1a3a18a9a2e3c4cc4a2cb5113b..a433ec3223c403e06192aabda850edc62b985ed3 100644 (file)
@@ -1,52 +1,52 @@
-// ---------------------------------------------------------------------\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;
+}

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.