]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix tests/mpi/step-39 467/head
authorTimo Heister <timo.heister@gmail.com>
Fri, 23 Jan 2015 14:34:01 +0000 (09:34 -0500)
committerTimo Heister <timo.heister@gmail.com>
Fri, 23 Jan 2015 14:34:01 +0000 (09:34 -0500)
And yes, making a copy of the matrix was indeed a mistake here.

tests/mpi/step-39.cc

index f9ee1d0ee1f38b53a3f23e0597936128ef1230c2..9180b959cf797362d412f8a90292d2d0b51c689c 100644 (file)
@@ -563,7 +563,7 @@ namespace Step39
     SolverControl coarse_solver_control (1000, 1e-10, false, false);
     SolverCG<TrilinosWrappers::MPI::Vector> coarse_solver(coarse_solver_control);
     PreconditionIdentity identity;
-    TrilinosWrappers::SparseMatrix coarse_matrix = mg_matrix[0];
+    TrilinosWrappers::SparseMatrix coarse_matrix = mg_matrix[0];
     MGCoarseGridLACIteration<SolverCG<TrilinosWrappers::MPI::Vector>,TrilinosWrappers::MPI::Vector>
     coarse_grid_solver(coarse_solver, coarse_matrix, identity);
 

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.