From 7ca6055ac17cc5e10451300e126af61b49d4ca3b Mon Sep 17 00:00:00 2001 From: kronbichler Date: Tue, 12 Mar 2013 13:40:10 +0000 Subject: [PATCH] Fix two deprecation warnings. git-svn-id: https://svn.dealii.org/trunk@28869 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-48/step-48.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/deal.II/examples/step-48/step-48.cc b/deal.II/examples/step-48/step-48.cc index 2c0c9f2a58..3b1d4d5acd 100644 --- a/deal.II/examples/step-48/step-48.cc +++ b/deal.II/examples/step-48/step-48.cc @@ -20,13 +20,9 @@ #include #include #include -#include #include #include #include -#include -#include -#include #include #include #include @@ -133,7 +129,7 @@ namespace Step48 fe_eval.distribute_local_to_global (inv_mass_matrix); } - inv_mass_matrix.compress(); + inv_mass_matrix.compress(VectorOperation::add); for (unsigned int k=0; k1e-15) inv_mass_matrix.local_element(k) = 1./inv_mass_matrix.local_element(k); @@ -322,7 +318,7 @@ namespace Step48 SineGordonProblem::SineGordonProblem () : pcout (std::cout, - Utilities::System::get_this_mpi_process(MPI_COMM_WORLD)==0), + Utilities::MPI::this_mpi_process(MPI_COMM_WORLD)==0), #ifdef DEAL_II_WITH_P4EST triangulation (MPI_COMM_WORLD), #endif -- 2.39.5