From: Stefano Zampini Date: Thu, 10 Nov 2022 16:53:40 +0000 (+0100) Subject: PETScWrappers::MatrixFree remove improper usage of MPI_COMM_WORLD X-Git-Tag: v9.5.0-rc1~717^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=228fb89536ada614522391d8f5bd9a4ff3ab5ef5;p=dealii.git PETScWrappers::MatrixFree remove improper usage of MPI_COMM_WORLD --- 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,