From 438e95cf7905004058d8fd7121cf624e85da31d2 Mon Sep 17 00:00:00 2001
From: Gauthier Becker <gauthierbecker@gmail.com>
Date: Tue, 11 Mar 2014 02:21:34 +0000
Subject: [PATCH] Try to compute the matrix sparsity pattern in the
 nonLinearMechSolver (without waranties...)

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

diff --git a/Solver/linearSystem.h b/Solver/linearSystem.h
index 5075170cee..fbce5c3cd5 100644
--- a/Solver/linearSystem.h
+++ b/Solver/linearSystem.h
@@ -18,6 +18,7 @@ class linearSystemBase {
   virtual ~linearSystemBase(){}
   virtual bool isAllocated() const = 0;
   virtual void allocate(int nbRows) = 0;
+  virtual void preAllocateEntries(){};
   virtual void clear() = 0;
   virtual void zeroMatrix() = 0;
   virtual void zeroRightHandSide() = 0;
-- 
GitLab