Closed fdrmrc closed 6 months ago
Fixes https://github.com/fdrmrc/Polydeal/pull/113#issuecomment-2126968166, only 7001cd130b26fa38dbeb7d87f122659915e5f01f is relevant, the other commits are related to tests.
This PR improves the creation of the sparsity pattern in the distributed case by using the Trilinos version TrilinosWrappers::SparsityPattern. If not running with MPI, the standard DynamicSparsityPattern class is used. The relevant change is:
TrilinosWrappers::SparsityPattern
DynamicSparsityPattern
https://github.com/fdrmrc/Polydeal/blob/79df2257e5a053a86d37b99fb6076330206f5fc9/source/agglomeration_handler.cc#L679-L687
The same reasoning above has to be applied also to the post-processing routine, where we interpolate onto the finer grid.
Tests against latest deal.II master are all passing, so I'm merging.
Fixes https://github.com/fdrmrc/Polydeal/pull/113#issuecomment-2126968166, only 7001cd130b26fa38dbeb7d87f122659915e5f01f is relevant, the other commits are related to tests.
This PR improves the creation of the sparsity pattern in the distributed case by using the Trilinos version
TrilinosWrappers::SparsityPattern
. If not running with MPI, the standardDynamicSparsityPattern
class is used. The relevant change is:https://github.com/fdrmrc/Polydeal/blob/79df2257e5a053a86d37b99fb6076330206f5fc9/source/agglomeration_handler.cc#L679-L687