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

Prevent temp steps less than timestep #437

Merged
merged 3 commits into from
Feb 21, 2025

Conversation

k-harris27
Copy link
Contributor

Fixes #436

Adds a check to raise an error if the temperature step time is shorter than 1 timestep. Also prints a debug message if the temperature step time is rounded significantly.

Tests have been added to verify the error is raised correctly, and existing tests using temperature step times shorter than 1 timestep have been updated.

@ElliottKasoar ElliottKasoar added the bug Something isn't working label Feb 20, 2025
Co-authored-by: ElliottKasoar <[email protected]>
@ElliottKasoar ElliottKasoar merged commit b4f4146 into stfc:main Feb 21, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Temperature ramp step time shorter than 1 timestep allowed
2 participants