Closed federicobetti99 closed 11 months ago
Ciao Federico @federicobetti99, can you give us more context about what you are trying to do?
Closing this due to inactivity, feel free to get in touch with me in case this feature is something that you need and can provide more details about your needs.
Hello,
In the following file https://github.com/FEniCS/dolfinx/blob/main/cpp/dolfinx/la/petsc.cpp#L232, moving lines 290-300 to line 342 would allow to call the setting of the local to global mapping before preallocation of the space for the matrix, which becomes handy in a lot of situations, including the ones which I am currently working on.
As it is not clear to me how to contribute myself, I decided to open this issue.