From: bangerth Date: Mon, 7 Jan 2013 03:07:02 +0000 (+0000) Subject: Avoid use of deprecated function. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb10f359414685c60d42e1a59c73fd5a0b383e43;p=dealii-svn.git Avoid use of deprecated function. git-svn-id: https://svn.dealii.org/trunk@27952 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/tests.h b/tests/tests.h index da13c9d04e..f912da7ea9 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2004, 2005, 2006, 2009, 2010, 2011 by the deal.II authors +// Copyright (C) 2004, 2005, 2006, 2009, 2010, 2011, 2013 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -54,7 +54,7 @@ initlog(const char* filename, bool console=false) if (!console) deallog.depth_console(0); -//TODO: Remove this line and replace by test_mode() +//TODO: Remove this line and replace by test_mode() deallog.threshold_float(1.e-8); } @@ -182,7 +182,7 @@ std::string output_file_for_mpi (const std::string &directory) { #ifdef DEAL_II_COMPILER_SUPPORTS_MPI return (directory + "/ncpu_" + - Utilities::int_to_string (Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD)) + + Utilities::int_to_string (Utilities::MPI::n_mpi_processes (MPI_COMM_WORLD)) + "/output"); #else return (directory + "/ncpu_1/output");