Skip to content
Snippets Groups Projects
Commit 438e95cf authored by Gauthier Becker's avatar Gauthier Becker
Browse files

Try to compute the matrix sparsity pattern in the nonLinearMechSolver

(without waranties...)
parent 0be9212f
Branches
Tags
No related merge requests found
...@@ -18,6 +18,7 @@ class linearSystemBase { ...@@ -18,6 +18,7 @@ class linearSystemBase {
virtual ~linearSystemBase(){} virtual ~linearSystemBase(){}
virtual bool isAllocated() const = 0; virtual bool isAllocated() const = 0;
virtual void allocate(int nbRows) = 0; virtual void allocate(int nbRows) = 0;
virtual void preAllocateEntries(){};
virtual void clear() = 0; virtual void clear() = 0;
virtual void zeroMatrix() = 0; virtual void zeroMatrix() = 0;
virtual void zeroRightHandSide() = 0; virtual void zeroRightHandSide() = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment