From 6acc26d26eb89a90e3788abb50a925149164b317 Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 28 Mar 2013 01:39:39 +0000 Subject: [PATCH] Make work. git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@29097 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/trilinos/parallel_sparse_matrix_01.cc | 32 +++++++++++---------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/tests/trilinos/parallel_sparse_matrix_01.cc b/tests/trilinos/parallel_sparse_matrix_01.cc index cfd78a1c8a..4ebf5cd0a1 100644 --- a/tests/trilinos/parallel_sparse_matrix_01.cc +++ b/tests/trilinos/parallel_sparse_matrix_01.cc @@ -1,8 +1,8 @@ //---------------------------- trilinos_sparse_matrix_01.cc --------------------------- // $Id$ -// Version: $Name$ +// Version: $Name$ // -// Copyright (C) 2004, 2005, 2008 by the deal.II authors +// Copyright (C) 2004, 2005, 2008, 2013 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -23,7 +23,7 @@ // and with the option -log_info. All the output should say that no additional // malloc calls have been performed -#include "../tests.h" +#include "../tests.h" #include #include #include @@ -37,12 +37,12 @@ void test () // process has 10 rows, the second one 20, // the third one 30, and so on unsigned int N = 0; - std::vector local_rows_per_process + std::vector local_rows_per_process (Utilities::Trilinos::get_n_mpi_processes(Utilities::Trilinos::comm_world())); - std::vector start_row + std::vector start_row (Utilities::Trilinos::get_n_mpi_processes(Utilities::Trilinos::comm_world())); - for (unsigned int i=0; - i