Skip to content

Conversation

@fsimonis
Copy link
Member

Main changes of this PR

Based on #214

This PR adds a configurable seed to precice-aste-partition which defaults to the random number 2025.
This seed is then passed on to the metis for topology and scipy kmean2 for meshfree, making them deterministic.

Therefore, to change the partitioning, one now has to manually pass a different seed.

Author's checklist

  • I used the pre-commit hook and used pre-commit run --all to apply all available hooks.
  • I added a test to cover the proposed changes in our test suite.
  • I updated the documentation in docs/README.md.
  • I added a changelog entry in ./changelog-entries/ (create if necessary).
  • I updated potential breaking changes in the tutorial precice/tutorials/aste-turbine.

@fsimonis fsimonis marked this pull request as draft January 28, 2025 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants