]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix timing_step_37.cc 15791/head
authorDaniel Arndt <arndtd@ornl.gov>
Tue, 25 Jul 2023 19:53:05 +0000 (15:53 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Tue, 25 Jul 2023 19:53:05 +0000 (15:53 -0400)
tests/performance/timing_step_37.cc

index bbfd99a1d312fff1deb3081b73ac3b34487d88c7..784ec0e1f0268ee6140074a547451bf44347cee5 100644 (file)
@@ -308,8 +308,7 @@ private:
   LinearAlgebra::distributed::Vector<double> solution;
   LinearAlgebra::distributed::Vector<double> system_rhs;
 
-  MGTransferMatrixFree<dim, LinearAlgebra::distributed::Vector<float>>
-    mg_transfer;
+  MGTransferMatrixFree<dim, float> mg_transfer;
 
   using SmootherType =
     PreconditionChebyshev<LevelMatrixType,
@@ -567,10 +566,9 @@ LaplaceProblem<dim>::solve()
     mg_matrix, mg_coarse, mg_transfer, mg_smoother, mg_smoother);
   mg.set_edge_matrices(mg_interface, mg_interface);
 
-  PreconditionMG<
-    dim,
-    LinearAlgebra::distributed::Vector<float>,
-    MGTransferMatrixFree<dim, LinearAlgebra::distributed::Vector<float>>>
+  PreconditionMG<dim,
+                 LinearAlgebra::distributed::Vector<float>,
+                 MGTransferMatrixFree<dim, float>>
     preconditioner(dof_handler, mg, mg_transfer);
 
 

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.