From 228fb89536ada614522391d8f5bd9a4ff3ab5ef5 Mon Sep 17 00:00:00 2001 From: Stefano Zampini Date: Thu, 10 Nov 2022 17:53:40 +0100 Subject: [PATCH] PETScWrappers::MatrixFree remove improper usage of MPI_COMM_WORLD --- source/lac/petsc_matrix_free.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/lac/petsc_matrix_free.cc b/source/lac/petsc_matrix_free.cc index bb4f86528a..751d64d464 100644 --- a/source/lac/petsc_matrix_free.cc +++ b/source/lac/petsc_matrix_free.cc @@ -149,7 +149,7 @@ namespace PETScWrappers const unsigned int local_rows, const unsigned int local_columns) { - reinit(MPI_COMM_WORLD, m, n, local_rows, local_columns); + reinit(this->communicator, m, n, local_rows, local_columns); } @@ -161,7 +161,7 @@ namespace PETScWrappers const std::vector &local_columns_per_process, const unsigned int this_process) { - reinit(MPI_COMM_WORLD, + reinit(this->communicator, m, n, local_rows_per_process, -- 2.39.5