]> https://gitweb.dealii.org/ - dealii.git/commitdiff
reindent 1809/head
authorMatthias Maier <tamiko@43-1.org>
Thu, 29 Oct 2015 22:24:16 +0000 (17:24 -0500)
committerMatthias Maier <tamiko@43-1.org>
Thu, 29 Oct 2015 22:24:16 +0000 (17:24 -0500)
tests/lac/block_linear_operator_01.cc
tests/lac/block_linear_operator_02.cc

index 75d622e0e91121f7eee80bf29e78855d2dd0ccec..e36dd13e73380f10d87a50f36eaa018a553dabb8 100644 (file)
@@ -107,8 +107,10 @@ int main()
   auto op_b10 = linear_operator(a.block(1, 0));
   auto op_b11 = linear_operator(a.block(1, 1));
 
-  std::array<std::array<decltype(op_b00), 2>, 2> temp{
-      {op_b00, op_b01, op_b10, op_b11}};
+  std::array<std::array<decltype(op_b00), 2>, 2> temp
+  {
+    {op_b00, op_b01, op_b10, op_b11}
+  };
   auto op_b = block_operator<2, 2, BlockVector<double>>(temp);
 
   {
@@ -184,8 +186,10 @@ int main()
 
   // And finally complicated block structures:
 
-  std::array<std::array<decltype(op_b00), 3>, 3> temp2{
-      {op_b00, op_b01, op_b00, op_b10, op_b11, op_b10, op_b10, op_b11, op_b10}};
+  std::array<std::array<decltype(op_b00), 3>, 3> temp2
+  {
+    {op_b00, op_b01, op_b00, op_b10, op_b11, op_b10, op_b10, op_b11, op_b10}
+  };
   auto op_upp_x_upu = block_operator<3, 3, BlockVector<double>>(temp2);
 
   op_upp_x_upu.reinit_domain_vector(u, false);
@@ -203,12 +207,16 @@ int main()
   op_upp_x_upu.vmult_add(v, u);
   PRINTME("v", v);
 
-  std::array<std::array<decltype(op_b01), 1>, 3> temp3{
-      {op_b01, op_b11, op_b11}};
+  std::array<std::array<decltype(op_b01), 1>, 3> temp3
+  {
+    {op_b01, op_b11, op_b11}
+  };
   auto op_upp_x_p = block_operator<3, 1, BlockVector<double>>(temp3);
 
-  std::array<std::array<decltype(op_b01), 3>, 1> temp4{
-      {op_b00, op_b01, op_b00}};
+  std::array<std::array<decltype(op_b01), 3>, 1> temp4
+  {
+    {op_b00, op_b01, op_b00}
+  };
   auto op_u_x_upu = block_operator<1, 3, BlockVector<double>>(temp4);
 
   auto op_long = op_u_x_upu * transpose_operator(op_upp_x_upu) * op_upp_x_p;
index 55cacb8641cd2983bf8b336221820675c5af90a1..2f64327c685c4d64d1118c180dc23e617a8f7685 100644 (file)
@@ -84,7 +84,7 @@ int main()
   auto op_b1 = linear_operator(a.block(1, 1));
   auto op_b2 = linear_operator(a.block(2, 2));
 
-  std::array<decltype(op_b0), 3> temp{{op_b0, op_b1, op_b2}};
+  std::array<decltype(op_b0), 3> temp {{op_b0, op_b1, op_b2}};
   auto op_b = block_diagonal_operator<3, BlockVector<double>>(temp);
 
 
@@ -156,7 +156,7 @@ int main()
 
   // And finally the other block_diagonal_operator variant:
 
-  std::array<decltype(op_b0), 5> temp2{{op_b0, op_b0, op_b0, op_b0, op_b0}};
+  std::array<decltype(op_b0), 5> temp2 {{op_b0, op_b0, op_b0, op_b0, op_b0}};
   auto op_c = block_diagonal_operator<5, BlockVector<double>>(temp2);
 
   auto op_d = block_diagonal_operator<5, BlockVector<double>>(op_b0);

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.