From 58214b514cf2a0d991447485816ecdbd89c32b1a Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 29 Sep 2011 21:00:10 +0000 Subject: [PATCH] Use Utilities::MPI::this_mpi_process instead of Utilities::System::get_this_mpi_process. git-svn-id: https://svn.dealii.org/trunk@24475 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-32/step-32.cc | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/deal.II/examples/step-32/step-32.cc b/deal.II/examples/step-32/step-32.cc index b42a568080..8917fca317 100644 --- a/deal.II/examples/step-32/step-32.cc +++ b/deal.II/examples/step-32/step-32.cc @@ -1507,8 +1507,7 @@ namespace Step32 : parameters (parameters_), pcout (std::cout, - (Utilities::System:: - get_this_mpi_process(MPI_COMM_WORLD) + (Utilities::MPI::this_mpi_process(MPI_COMM_WORLD) == 0)), triangulation (MPI_COMM_WORLD, @@ -2224,8 +2223,8 @@ namespace Step32 DoFTools::make_sparsity_pattern (stokes_dof_handler, coupling, sp, stokes_constraints, false, - Utilities::System:: - get_this_mpi_process(MPI_COMM_WORLD)); + Utilities::MPI:: + this_mpi_process(MPI_COMM_WORLD)); sp.compress(); stokes_matrix.reinit (sp); @@ -2256,8 +2255,8 @@ namespace Step32 DoFTools::make_sparsity_pattern (stokes_dof_handler, coupling, sp, stokes_constraints, false, - Utilities::System:: - get_this_mpi_process(MPI_COMM_WORLD)); + Utilities::MPI:: + this_mpi_process(MPI_COMM_WORLD)); sp.compress(); stokes_preconditioner_matrix.reinit (sp); @@ -2277,8 +2276,8 @@ namespace Step32 MPI_COMM_WORLD); DoFTools::make_sparsity_pattern (temperature_dof_handler, sp, temperature_constraints, false, - Utilities::System:: - get_this_mpi_process(MPI_COMM_WORLD)); + Utilities::MPI:: + this_mpi_process(MPI_COMM_WORLD)); sp.compress(); temperature_matrix.reinit (sp); @@ -2363,7 +2362,7 @@ namespace Step32 // have had to guard every access to that // stream by something like if // (Utilities:: System:: -// get_this_mpi_process +// this_mpi_process // (MPI_COMM_WORLD) == 0), // hardly a pretty solution. template @@ -3804,8 +3803,7 @@ namespace Step32 locally_relevant_joint_solution.reinit (locally_relevant_joint_dofs, MPI_COMM_WORLD); locally_relevant_joint_solution = joint_solution; - Postprocessor postprocessor (Utilities::System:: - get_this_mpi_process(MPI_COMM_WORLD), + Postprocessor postprocessor (Utilities::MPI::this_mpi_process(MPI_COMM_WORLD), stokes_solution.block(1).minimal_value()); DataOut data_out; -- 2.39.5