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

Bugfix: RHS eval logic with certain IMEX methods #627

Merged
merged 4 commits into from
Dec 19, 2024

Conversation

gardner48
Copy link
Member

@gardner48 gardner48 commented Dec 19, 2024

Fix a bug in ARKStep where an extra right-hand side evaluation occurs each time step when enabling the ARKodeSetAutonomous option and using an IMEX method where the DIRK table has an implicit first and is not stiffly accurate. Fix a bug in counting the number of explicit RHS evaluations in the ARKStep Dahlquist unit test.

@gardner48
Copy link
Member Author

gardner48 commented Dec 19, 2024

This did not impact any of the methods currently in ARKODE but would effect user supplied tables. The methods @drreynolds added in the feature/ssptables branch uncovered this issue.

Copy link
Collaborator

@drreynolds drreynolds left a comment

Choose a reason for hiding this comment

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

A couple of minor wording typos, but otherwise this is perfect (and fixes my tests from that other branch).

CHANGELOG.md Outdated Show resolved Hide resolved
doc/shared/RecentChanges.rst Outdated Show resolved Hide resolved
Fix typos in recent changes

Co-authored-by: Daniel R. Reynolds <[email protected]>
@balos1 balos1 merged commit 6a615a9 into develop Dec 19, 2024
34 checks passed
@balos1 balos1 deleted the bugfix/rhs-eval-logic branch December 19, 2024 16:40
@balos1 balos1 modified the milestones: SUNDIALS Next, SUNDIALS 7.2.1 Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants