]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make run again in parallel.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 4 Oct 2013 19:58:21 +0000 (19:58 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 4 Oct 2013 19:58:21 +0000 (19:58 +0000)
git-svn-id: https://svn.dealii.org/trunk@31125 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-42/step-42.cc

index 2e3d207e6b8d9e2be1403cde4db6a1ef82ea48ea..d67041358e16f5ac2a51a6718b161eb4955924e5 100644 (file)
@@ -1020,8 +1020,8 @@ namespace Step42
       TimerOutput::Scope t(computing_timer, "Setup: vectors");
       solution.reinit(locally_relevant_dofs, mpi_communicator);
       newton_rhs.reinit(locally_owned_dofs, mpi_communicator);
-      newton_rhs_uncondensed.reinit(locally_relevant_dofs, mpi_communicator);
-      diag_mass_matrix_vector.reinit(locally_relevant_dofs, mpi_communicator);
+      newton_rhs_uncondensed.reinit(locally_owned_dofs, mpi_communicator);
+      diag_mass_matrix_vector.reinit(locally_owned_dofs, mpi_communicator);
       fraction_of_plastic_q_points_per_cell.reinit(triangulation.n_active_cells());
       active_set.clear();
       active_set.set_size(locally_relevant_dofs.size());

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.