-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This introduces a global index numbering and rank labelling for DMSwarm points. Note that we can't use the in-build DMSwarm numbering in the field named 'DMSwarmField_pid' because there's a bug in petsc4py which makes it inaccessible (it uses PETSC_INT64 which is not in petsc4py). At the moment we leave halos empty to match existing behaviour and fix the case where we were getting point duplication. This also adds point redistribution which fixes #2178. See code for how the algorithm works Also includes tests
- Loading branch information
1 parent
daf4c91
commit 5ce664d
Showing
7 changed files
with
491 additions
and
181 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
Oops, something went wrong.