-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing refinement issue on DisplacedMesh.
The issue is that mesh refinement is always followed by partitioning, which requires recomputation of the Hilbert indices. Since the DisplacedSystem mesh is displaced inconsistently on different processors, this can lead to inconsistent Hilbert keys being computed on different processors, and ultimately an error during partitioning. I tried several more or less complicated fixes for this, but the simplest approach seems to be to simply 'undisplace' the DisplacedSystem mesh prior to performing adaptive refinement, and then let it be naturally 're-displaced' when the DisplacedSystem is reinitialized. This seems to work fairly well, and fixes the PF_displaced_mesh_test in MARMOT, which was not working in parallel. We can also undisplace the mesh using threads to help speed things up. Refs #4404
- Loading branch information
1 parent
6f9718b
commit f956133
Showing
5 changed files
with
74 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters