From: kronbichler Date: Mon, 22 Jul 2013 12:15:19 +0000 (+0000) Subject: Adjust output X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09233b27ebd58a78f9989030df397800cd550315;p=dealii-svn.git Adjust output git-svn-id: https://svn.dealii.org/trunk@30091 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/lac/parallel_vector.templates.h b/deal.II/include/deal.II/lac/parallel_vector.templates.h index 57827114ee..23f0734d03 100644 --- a/deal.II/include/deal.II/lac/parallel_vector.templates.h +++ b/deal.II/include/deal.II/lac/parallel_vector.templates.h @@ -584,7 +584,7 @@ namespace parallel #endif out << "Process #" << partitioner->this_mpi_process() << std::endl - << "Local range: [" << partitioner->local_range().first << "/" + << "Local range: [" << partitioner->local_range().first << ", " << partitioner->local_range().second << "), global size: " << partitioner->size() << std::endl << "Vector data:" << std::endl; diff --git a/tests/mpi/constraint_matrix_set_zero_02/ncpu_1/cmp/generic b/tests/mpi/constraint_matrix_set_zero_02/ncpu_1/cmp/generic index 25f1bf07f9..316d28bd78 100644 --- a/tests/mpi/constraint_matrix_set_zero_02/ncpu_1/cmp/generic +++ b/tests/mpi/constraint_matrix_set_zero_02/ncpu_1/cmp/generic @@ -1,13 +1,13 @@ DEAL:0::vector before: Process #0 -Local range: [0/1], global size: 1 +Local range: [0, 1), global size: 1 Vector data: 1.000e+00 Ghost entries (global index / value): Process #0 -Local range: [0/2], global size: 2 +Local range: [0, 2), global size: 2 Vector data: 2.000e+00 3.000e+00 Ghost entries (global index / value): @@ -17,13 +17,13 @@ DEAL:0::CM: 1 = 0 DEAL:0::vector after: Process #0 -Local range: [0/1], global size: 1 +Local range: [0, 1), global size: 1 Vector data: 1.000e+00 Ghost entries (global index / value): Process #0 -Local range: [0/2], global size: 2 +Local range: [0, 2), global size: 2 Vector data: 0.000e+00 3.000e+00 Ghost entries (global index / value): diff --git a/tests/mpi/constraint_matrix_set_zero_02/ncpu_2/cmp/generic b/tests/mpi/constraint_matrix_set_zero_02/ncpu_2/cmp/generic index ca88ff9448..23ef859928 100644 --- a/tests/mpi/constraint_matrix_set_zero_02/ncpu_2/cmp/generic +++ b/tests/mpi/constraint_matrix_set_zero_02/ncpu_2/cmp/generic @@ -1,13 +1,13 @@ DEAL:0::vector before: Process #0 -Local range: [0/1], global size: 2 +Local range: [0, 1), global size: 2 Vector data: 1.000e+00 Ghost entries (global index / value): (1/0.000e+00) Process #0 -Local range: [0/2], global size: 4 +Local range: [0, 2), global size: 4 Vector data: 3.000e+00 4.000e+00 Ghost entries (global index / value): @@ -17,13 +17,13 @@ DEAL:0::CM: 2 = 0 DEAL:0::vector after: Process #0 -Local range: [0/1], global size: 2 +Local range: [0, 1), global size: 2 Vector data: 1.000e+00 Ghost entries (global index / value): (1/0.000e+00) Process #0 -Local range: [0/2], global size: 4 +Local range: [0, 2), global size: 4 Vector data: 0.000e+00 4.000e+00 Ghost entries (global index / value): @@ -32,13 +32,13 @@ DEAL:0::OK DEAL:1::vector before: Process #1 -Local range: [1/2], global size: 2 +Local range: [1, 2), global size: 2 Vector data: 2.000e+00 Ghost entries (global index / value): (0/0.000e+00) Process #1 -Local range: [2/4], global size: 4 +Local range: [2, 4), global size: 4 Vector data: 5.000e+00 6.000e+00 Ghost entries (global index / value): @@ -48,13 +48,13 @@ DEAL:1::CM: 4 = 0 DEAL:1::vector after: Process #1 -Local range: [1/2], global size: 2 +Local range: [1, 2), global size: 2 Vector data: 2.000e+00 Ghost entries (global index / value): (0/0.000e+00) Process #1 -Local range: [2/4], global size: 4 +Local range: [2, 4), global size: 4 Vector data: 0.000e+00 6.000e+00 Ghost entries (global index / value):