]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix MueLu periodicity test 9512/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 11 Feb 2020 17:35:17 +0000 (18:35 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 11 Feb 2020 17:35:17 +0000 (18:35 +0100)
tests/mpi/muelu_periodicity.cc
tests/mpi/muelu_periodicity.with_trilinos_with_muelu=on.with_64bit_indices=off.mpirun=3.output
tests/mpi/muelu_periodicity.with_trilinos_with_muelu=on.with_64bit_indices=off.mpirun=5.output
tests/mpi/muelu_periodicity.with_trilinos_with_muelu=on.with_64bit_indices=off.mpirun=7.output

index b70717adf0275b8848be79843d276c678a0d1acc..5050cec96396042a03a3b6bd6ca70c43bbed79f7 100644 (file)
@@ -323,10 +323,8 @@ namespace Step22
     block_component[dim] = 1;
     DoFRenumbering::component_wise(dof_handler, block_component);
 
-    std::vector<types::global_dof_index> dofs_per_block(2);
-    DoFTools::count_dofs_per_fe_block(dof_handler,
-                                      dofs_per_block,
-                                      block_component);
+    std::vector<types::global_dof_index> dofs_per_block =
+      DoFTools::count_dofs_per_fe_block(dof_handler, block_component);
     const unsigned int n_u = dofs_per_block[0], n_p = dofs_per_block[1];
 
     {
@@ -387,8 +385,10 @@ namespace Step22
         dof_handler, 2, 3, 1, periodicity_vector, Tensor<1, dim>(), matrix);
 
       DoFTools::make_periodicity_constraints<DoFHandler<dim>>(
-        periodicity_vector, constraints, fe.component_mask(velocities)),
-        first_vector_components;
+        periodicity_vector,
+        constraints,
+        fe.component_mask(velocities),
+        first_vector_components);
 #endif
     }
 
index aa60359f7aa061484456e712bf8e90707a08e058..28a69ac1547e7e02ed6b7916a534470e41c5ef8a 100644 (file)
@@ -13,8 +13,8 @@ Refinement cycle 1
 0.00000 0.562500       -1.77778        0.00000
 0.00000 0.625000       -1.60000        0.00000
 0.00000 0.687500       -1.45455        0.00000
-0.00000 0.750000       -1.33333        5.49010e-13
-0.00000 0.812500       -1.23077        2.80537e-13
+0.00000 0.750000       -1.33333        0.00000
+0.00000 0.812500       -1.23077        0.00000
 0.00000 0.875000       -1.14286        0.00000
 0.00000 0.937500       -1.06667        0.00000
 
@@ -28,13 +28,13 @@ Refinement cycle 2
 0.00000 0.625000       -1.60000        0.00000
 0.00000 0.656250       -1.52381        0.00000
 0.00000 0.687500       -1.45455        0.00000
-0.00000 0.718750       -1.39130        1.95566e-17
-0.00000 0.750000       -1.33333        5.49063e-13
+0.00000 0.718750       -1.39130        0.00000
+0.00000 0.750000       -1.33333        0.00000
 0.00000 0.781250       -1.28000        0.00000
-0.00000 0.812500       -1.23077        2.80586e-13
-0.00000 0.843750       -1.18519        1.69980e-17
+0.00000 0.812500       -1.23077        0.00000
+0.00000 0.843750       -1.18519        0.00000
 0.00000 0.875000       -1.14286        0.00000
-0.00000 0.906250       -1.10357        0.00000
+0.00000 0.906250       -1.10345        0.00000
 0.00000 0.937500       -1.06667        0.00000
-0.00000 0.968750       -1.03214        0.00000
+0.00000 0.968750       -1.03226        0.00000
 
index aa60359f7aa061484456e712bf8e90707a08e058..28a69ac1547e7e02ed6b7916a534470e41c5ef8a 100644 (file)
@@ -13,8 +13,8 @@ Refinement cycle 1
 0.00000 0.562500       -1.77778        0.00000
 0.00000 0.625000       -1.60000        0.00000
 0.00000 0.687500       -1.45455        0.00000
-0.00000 0.750000       -1.33333        5.49010e-13
-0.00000 0.812500       -1.23077        2.80537e-13
+0.00000 0.750000       -1.33333        0.00000
+0.00000 0.812500       -1.23077        0.00000
 0.00000 0.875000       -1.14286        0.00000
 0.00000 0.937500       -1.06667        0.00000
 
@@ -28,13 +28,13 @@ Refinement cycle 2
 0.00000 0.625000       -1.60000        0.00000
 0.00000 0.656250       -1.52381        0.00000
 0.00000 0.687500       -1.45455        0.00000
-0.00000 0.718750       -1.39130        1.95566e-17
-0.00000 0.750000       -1.33333        5.49063e-13
+0.00000 0.718750       -1.39130        0.00000
+0.00000 0.750000       -1.33333        0.00000
 0.00000 0.781250       -1.28000        0.00000
-0.00000 0.812500       -1.23077        2.80586e-13
-0.00000 0.843750       -1.18519        1.69980e-17
+0.00000 0.812500       -1.23077        0.00000
+0.00000 0.843750       -1.18519        0.00000
 0.00000 0.875000       -1.14286        0.00000
-0.00000 0.906250       -1.10357        0.00000
+0.00000 0.906250       -1.10345        0.00000
 0.00000 0.937500       -1.06667        0.00000
-0.00000 0.968750       -1.03214        0.00000
+0.00000 0.968750       -1.03226        0.00000
 
index aa60359f7aa061484456e712bf8e90707a08e058..28a69ac1547e7e02ed6b7916a534470e41c5ef8a 100644 (file)
@@ -13,8 +13,8 @@ Refinement cycle 1
 0.00000 0.562500       -1.77778        0.00000
 0.00000 0.625000       -1.60000        0.00000
 0.00000 0.687500       -1.45455        0.00000
-0.00000 0.750000       -1.33333        5.49010e-13
-0.00000 0.812500       -1.23077        2.80537e-13
+0.00000 0.750000       -1.33333        0.00000
+0.00000 0.812500       -1.23077        0.00000
 0.00000 0.875000       -1.14286        0.00000
 0.00000 0.937500       -1.06667        0.00000
 
@@ -28,13 +28,13 @@ Refinement cycle 2
 0.00000 0.625000       -1.60000        0.00000
 0.00000 0.656250       -1.52381        0.00000
 0.00000 0.687500       -1.45455        0.00000
-0.00000 0.718750       -1.39130        1.95566e-17
-0.00000 0.750000       -1.33333        5.49063e-13
+0.00000 0.718750       -1.39130        0.00000
+0.00000 0.750000       -1.33333        0.00000
 0.00000 0.781250       -1.28000        0.00000
-0.00000 0.812500       -1.23077        2.80586e-13
-0.00000 0.843750       -1.18519        1.69980e-17
+0.00000 0.812500       -1.23077        0.00000
+0.00000 0.843750       -1.18519        0.00000
 0.00000 0.875000       -1.14286        0.00000
-0.00000 0.906250       -1.10357        0.00000
+0.00000 0.906250       -1.10345        0.00000
 0.00000 0.937500       -1.06667        0.00000
-0.00000 0.968750       -1.03214        0.00000
+0.00000 0.968750       -1.03226        0.00000
 

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.