New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor matrices #721
Refactor matrices #721
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You've been busy. Well done. I've added a few optional ways to clean things up.
I ran pylint over pysparseMatrix.py and there is a lot of trailing whitespace and the like. Might want to deal with that since you're making quite a lot of changes to it.
Sorry about Pylint. I wish I hadn't mentioned it now. The commit history looks like it's torturing you. Maybe rebase after @tkphd is done. |
- Enable having parallel, ghosted matrices for things other than meshed DoF. - Refactor conversions between meshes and matrices - Add alii for sparse matrices associated with meshes
Return local matrix representation as lists or ndarrays
Pysparse isn't parallel, but it can be invoked in parallel when building Trilinos matrices
This reverts commit a864064.
This reverts commit 737a6d0.
[Cannot mix add values and insert values](https://lists.mcs.anl.gov/pipermail/petsc-users/2014-September/022873.html)
Reference cycles can cause deadlock on garbage collection
Store weak reference to matrix to prevent reference cycles and faulty garbage collection in parallel.
Failure to import desired mesh matrices should provoke fail-over
This reverts commit 4c16484.
a676ec4
to
b289a7e
Compare
This reverts commit b289a7e.
Just not worth fighting spellchecker
Needed for interprocess communication when writing parallel meshes (#132), but generally beneficial