reset_memory -> restore_original_nonzero_pattern#4115
reset_memory -> restore_original_nonzero_pattern#4115lindsayad merged 6 commits intolibMesh:develfrom
Conversation
|
Job Coverage, step Generate coverage on 3b194d9 wanted to post the following: Coverage
Warnings
This comment will be updated on new commits. |
||||||||||||||||||||||||||
Definitely sounds better to me... in my mind for a |
|
Will do. I'm converting this to draft because there are upstream changes to PETSc that I need to make for the work here |
I also added a pretty important comment to the doxygen string. This reflects what happens in the PETSc implementation. I know have some concern about the method name ... a name like reset_memory makes me think that there's no way something like a no-op could happen. Perhaps a name like restore_(original_)nonzero_pattern would be better? Would this still conceptually allow its use for hash table based memory allocation? I think so since resetting/clearing the hash table restores the original sparsity pattern ... that pattern being whatever you want it to be
…ged" This reverts commit 423e417.
…consistent with doc
733f203 to
3b194d9
Compare
|
The Mac ARM test target is pretty obnoxious |
|
We are not going to change the API in PETSc so I can remove the WIP draft label from this. Instead we are going to honor the documentation of |
I also added a pretty important comment to the doxygen string. This reflects what happens in the PETSc implementation. I now have some concern about the method name ... a name like
reset_memorymakes me think that there's no way something like a no-op could happen. Perhaps a name likerestore_(original_)nonzero_patternwould be better? Would this still conceptually allow its use for hash table based memory allocation? I think so since resetting/clearing the hash table restores the original sparsity pattern ... that pattern being whatever you want it to be