]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Periodic bc: Adjust tests to new interface
authorMatthias Maier <tamiko@43-1.org>
Fri, 21 Aug 2015 21:24:39 +0000 (16:24 -0500)
committerMatthias Maier <tamiko@43-1.org>
Sun, 23 Aug 2015 01:52:00 +0000 (20:52 -0500)
tests/mpi/muelu_periodicity.cc
tests/mpi/periodicity_02.cc

index 068ba075d77f0423cb3434db4db02be08a57e1fb..899a8aa2dd9ce396173d29030b369b13e745750a 100644 (file)
@@ -362,12 +362,12 @@ namespace Step22
       std::vector<unsigned int> first_vector_components;
       first_vector_components.push_back(0);
 
-      GridTools::collect_periodic_faces
-      (dof_handler, 2, 3, 1, periodicity_vector, Tensor<1,dim>(),
-       matrix, first_vector_components);
+      GridTools::collect_periodic_faces(
+          dof_handler, 2, 3, 1, periodicity_vector, Tensor<1, dim>(), matrix);
 
-      DoFTools::make_periodicity_constraints<DoFHandler<dim> >
-      (periodicity_vector, constraints, fe.component_mask(velocities));
+      DoFTools::make_periodicity_constraints<DoFHandler<dim>>(
+          periodicity_vector, constraints, fe.component_mask(velocities)),
+          first_vector_components;
 #endif
     }
 
@@ -724,9 +724,8 @@ namespace Step22
     std::vector<unsigned int> first_vector_components;
     first_vector_components.push_back(0);
 
-    GridTools::collect_periodic_faces
-    (triangulation, 2, 3, 1, periodicity_vector, Tensor<1,dim>(),
-     matrix, first_vector_components);
+    GridTools::collect_periodic_faces(
+        triangulation, 2, 3, 1, periodicity_vector, Tensor<1, dim>(), matrix);
 
     triangulation.add_periodicity(periodicity_vector);
 #endif
index 5e0bc99c38c29380f812c1b4d1c285f9bd8ae9dc..573408c8d60e54fd6c62edcc2b99368994e132a6 100644 (file)
@@ -1,6 +1,6 @@
 /* ---------------------------------------------------------------------
  *
- * Copyright (C) 2008 - 2014 by the deal.II authors
+ * Copyright (C) 2008 - 2015 by the deal.II authors
  *
  * This file is part of the deal.II library.
  *
@@ -363,12 +363,12 @@ namespace Step22
       std::vector<unsigned int> first_vector_components;
       first_vector_components.push_back(0);
 
-      GridTools::collect_periodic_faces
-      (dof_handler, 2, 3, 1, periodicity_vector, Tensor<1,dim>(),
-       matrix, first_vector_components);
+      GridTools::collect_periodic_faces(
+          dof_handler, 2, 3, 1, periodicity_vector, Tensor<1, dim>(), matrix);
 
-      DoFTools::make_periodicity_constraints<DoFHandler<dim> >
-      (periodicity_vector, constraints, fe.component_mask(velocities));
+      DoFTools::make_periodicity_constraints<DoFHandler<dim>>(
+          periodicity_vector, constraints, fe.component_mask(velocities),
+          first_vector_components);
 #endif
     }
 
@@ -727,9 +727,8 @@ namespace Step22
     std::vector<unsigned int> first_vector_components;
     first_vector_components.push_back(0);
 
-    GridTools::collect_periodic_faces
-    (triangulation, 2, 3, 1, periodicity_vector, Tensor<1,dim>(),
-     matrix, first_vector_components);
+    GridTools::collect_periodic_faces(
+        triangulation, 2, 3, 1, periodicity_vector, Tensor<1, dim>(), matrix);
 
     triangulation.add_periodicity(periodicity_vector);
 #endif

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.