From f0063eb18585fa378248645bc4910e2e516a4e65 Mon Sep 17 00:00:00 2001
From: Van Dung Nguyen <vandung.nguyen@ulg.ac.be>
Date: Wed, 13 Mar 2013 16:09:21 +0000
Subject: [PATCH] add getComm function

---
 Solver/linearSystemPETSc.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Solver/linearSystemPETSc.h b/Solver/linearSystemPETSc.h
index e1229bd6ec..c2ed187e37 100644
--- a/Solver/linearSystemPETSc.h
+++ b/Solver/linearSystemPETSc.h
@@ -79,6 +79,7 @@ class linearSystemPETSc : public linearSystem<scalar> {
   std::vector<scalar> getData();
   std::vector<int> getRowPointers();
   std::vector<int> getColumnsIndices();
+  MPI_Comm& getComm() {return _comm;}
 };
 
 class linearSystemPETScBlockDouble : public linearSystem<fullMatrix<double> > {
-- 
GitLab