Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce tolerances for triggering dt related warnings #312

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

davidscn
Copy link
Member

See #311 for details. preCICE v3 operates now with a higher precision for handling time-step sizes (by default e-14), such that the comparisons up to machine precision are triggered unintentionally. With this changes, we have now a comparison with tolerances.

Resolves #311

Copy link
Member

@MakisH MakisH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. I think we only need a comment and a changelog entry.

This only affects the warnings and has nothing to do with detecting the end of the simulation, correct?

Adapter.C Outdated Show resolved Hide resolved
@davidscn davidscn merged commit fa6f48f into precice:develop Jan 24, 2024
4 checks passed
@davidscn davidscn deleted the tolerances branch January 24, 2024 16:18
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.

Adapter autodetecs subcycling erroneously
2 participants