]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix test 13486/head
authorTimo Heister <timo.heister@gmail.com>
Sun, 27 Feb 2022 19:46:07 +0000 (14:46 -0500)
committerTimo Heister <timo.heister@gmail.com>
Thu, 3 Mar 2022 16:29:29 +0000 (11:29 -0500)
tests/trilinos/precondition.cc

index a743b706452f2ed54de8c11cc542bb2c42b02d66..3dd988e35ee09e908c14b76f26821d8f036c041d 100644 (file)
@@ -228,7 +228,7 @@ Step4<dim>::solve(int cycle)
 
   {
     deallog.push("Jacobi");
-    static constexpr std::array<unsigned int, 2> lower{49, 100};
+    static constexpr std::array<unsigned int, 2> lower{{49, 100}};
     TrilinosWrappers::PreconditionJacobi         preconditioner;
     solution = 0;
     SolverControl solver_control(1000, 1e-10);
@@ -244,7 +244,7 @@ Step4<dim>::solve(int cycle)
 
   {
     deallog.push("SSOR");
-    static constexpr std::array<unsigned int, 2> lower{40, 77};
+    static constexpr std::array<unsigned int, 2> lower{{40, 77}};
     TrilinosWrappers::PreconditionSSOR           preconditioner;
     solution = 0;
     SolverControl solver_control(1000, 1e-10);
@@ -260,7 +260,7 @@ Step4<dim>::solve(int cycle)
 
   {
     deallog.push("SOR");
-    static constexpr std::array<unsigned int, 2> lower{31, 62};
+    static constexpr std::array<unsigned int, 2> lower{{31, 62}};
     TrilinosWrappers::PreconditionSOR            preconditioner;
     solution = 0;
     SolverControl    solver_control(1000, 1e-5);
@@ -276,7 +276,7 @@ Step4<dim>::solve(int cycle)
 
   {
     deallog.push("BlockJacobi");
-    static constexpr std::array<unsigned int, 2>              lower{73, 145};
+    static constexpr std::array<unsigned int, 2>              lower{{73, 145}};
     TrilinosWrappers::PreconditionBlockJacobi                 preconditioner;
     TrilinosWrappers::PreconditionBlockJacobi::AdditionalData data;
     data.block_size = 16;
@@ -294,7 +294,7 @@ Step4<dim>::solve(int cycle)
 
   {
     deallog.push("BlockSSOR");
-    static constexpr std::array<unsigned int, 2>            lower{30, 59};
+    static constexpr std::array<unsigned int, 2>            lower{{30, 59}};
     TrilinosWrappers::PreconditionBlockSSOR                 preconditioner;
     TrilinosWrappers::PreconditionBlockSSOR::AdditionalData data;
     data.block_size = 16;
@@ -313,7 +313,7 @@ Step4<dim>::solve(int cycle)
 
   {
     deallog.push("BlockSOR");
-    static constexpr std::array<unsigned int, 2>           lower{18, 37};
+    static constexpr std::array<unsigned int, 2>           lower{{18, 37}};
     TrilinosWrappers::PreconditionBlockSOR                 preconditioner;
     TrilinosWrappers::PreconditionBlockSOR::AdditionalData data;
     data.block_size = 16;
@@ -332,7 +332,7 @@ Step4<dim>::solve(int cycle)
 
   {
     deallog.push("IC");
-    static constexpr std::array<unsigned int, 2> lower{48, 67};
+    static constexpr std::array<unsigned int, 2> lower{{48, 67}};
     TrilinosWrappers::PreconditionIC             preconditioner;
     solution = 0;
     SolverControl solver_control(1000, 1e-10);
@@ -347,7 +347,7 @@ Step4<dim>::solve(int cycle)
   }
 
   {
-    static constexpr std::array<unsigned int, 2> lower{30, 56};
+    static constexpr std::array<unsigned int, 2> lower{{30, 56}};
     deallog.push("ILU");
     TrilinosWrappers::PreconditionILU preconditioner;
     solution = 0;
@@ -364,7 +364,7 @@ Step4<dim>::solve(int cycle)
 
   {
     deallog.push("ILUT");
-    static constexpr std::array<unsigned int, 2>       lower{11, 19};
+    static constexpr std::array<unsigned int, 2>       lower{{11, 19}};
     TrilinosWrappers::PreconditionILUT                 preconditioner;
     TrilinosWrappers::PreconditionILUT::AdditionalData data;
     data.ilut_drop = 1e-6;
@@ -383,7 +383,7 @@ Step4<dim>::solve(int cycle)
 
   {
     deallog.push("Chebyshev");
-    static constexpr std::array<unsigned int, 2>            lower{23, 46};
+    static constexpr std::array<unsigned int, 2>            lower{{23, 46}};
     TrilinosWrappers::PreconditionChebyshev                 preconditioner;
     TrilinosWrappers::PreconditionChebyshev::AdditionalData data;
     data.max_eigenvalue = 2.5;

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.