From a778c827819979826742e9eeceefecbaae91b88f Mon Sep 17 00:00:00 2001
From: Jonathan Lambrechts <jonathan.lambrechts@uclouvain.be>
Date: Tue, 18 Sep 2012 12:28:43 +0000
Subject: [PATCH] m

---
 Solver/linearSystemPETSc.cpp | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/Solver/linearSystemPETSc.cpp b/Solver/linearSystemPETSc.cpp
index dad32f0721..cfadd327c0 100644
--- a/Solver/linearSystemPETSc.cpp
+++ b/Solver/linearSystemPETSc.cpp
@@ -262,8 +262,6 @@ void linearSystemPETScBlockDouble::preAllocateEntries()
 void linearSystemPETScBlockDouble::zeroMatrix()
 {
   if (_isAllocated && _entriesPreAllocated) {
-    MatAssemblyBegin(_a, MAT_FINAL_ASSEMBLY);
-    MatAssemblyEnd(_a, MAT_FINAL_ASSEMBLY);
     MatZeroEntries(_a);
   }
 }
@@ -271,8 +269,6 @@ void linearSystemPETScBlockDouble::zeroMatrix()
 void linearSystemPETScBlockDouble::zeroRightHandSide()
 {
   if (_isAllocated) {
-    VecAssemblyBegin(_b);
-    VecAssemblyEnd(_b);
     VecZeroEntries(_b);
   }
 }
@@ -280,8 +276,6 @@ void linearSystemPETScBlockDouble::zeroRightHandSide()
 void linearSystemPETScBlockDouble::zeroSolution()
 {
   if (_isAllocated) {
-    VecAssemblyBegin(_x);
-    VecAssemblyEnd(_x);
     VecZeroEntries(_x);
   }
 }
-- 
GitLab