Closed GoogleCodeExporter closed 9 years ago
The bug should be fixed now.
One argument was added:
dmig_data = mesh.dmigs['MAAX'].getMatrix(isSparse=False, applySymmetry=True)
applySymmetry is only relevant for matricies with ifo=6. If it's False, the
matrix will be an upper triangular matrix and is intended to be used with
symmetric matrix operations.
In terms of your question "Am I right that getMatrix should return a numpy
array (plus metadata)?"
getMatrix returns:
(matrix, row_indices, column_indicies) which is necessary because the
rows/columns are not identified as 1, 2, 3, etc. They are identified with a
(grid, component). If the matrix is not symmetric, the rows and columns can be
different.
If you want ifo or the raw data, it's part of mesh.dmigs['MAAX'].
Original comment by mesheb82
on 10 May 2014 at 2:18
closed due to inactivity and no further complaints
Original comment by mesheb82
on 20 Jun 2014 at 4:19
Original issue reported on code.google.com by
jeffrey....@gmail.com
on 9 May 2014 at 6:55Attachments: