Skip to content

#70 resize-method for BCRSMatrix

Metadata

Property Value
Reported by Oliver Sander (oliver.sander@tu-dresden.de)
Reported at Dec 30, 2005 15:11
Type Feature Request
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Closed by Markus Blatt (markus@dr-blatt.de)
Closed at Nov 3, 2006 15:06
Closed in version Unknown
Resolution Implemented
Comment Method is called setSize(int rows, int column, int nnz=0)

There is also a method to set the build mode needed for setting up the sparsity pattern.

Implemented in revision 666, but after Helloween. |

Description

The BCRSMatrix should have a method resize(int,int) which sets the matrix dimensions. This would allow the reuse of matrix objects. Also, you can then have arrays of matrices. In my opinion it is okay if resizing a matrix must be followed by a complete rebuild.