awslabs / palace

3D finite element solver for computational electromagnetics
https://awslabs.github.io/palace/dev
Apache License 2.0
224 stars 50 forks source link

Fix mesh partitioning bug when domain elements are cleaned from the original mesh #210

Closed sebastiangrimberg closed 3 months ago

sebastiangrimberg commented 3 months ago

The previous behavior where the mesh partitioning is computed before calling CheckMesh, which could remove mesh elements, leads to a bug since the partitioning is no longer valid.