Skip to content

Feature/fes tstop adaptivity#914

Open
drreynolds wants to merge 554 commits intodevelopfrom
feature/fes-tstop-adaptivity
Open

Feature/fes tstop adaptivity#914
drreynolds wants to merge 554 commits intodevelopfrom
feature/fes-tstop-adaptivity

Conversation

@drreynolds
Copy link
Copy Markdown
Collaborator

@drreynolds drreynolds commented Apr 16, 2026

This PR adds optional routines to the SUNDIALS time integrators so that time steps which are shortened to adhere to "stop time" requests will be disregarded from the time step and method order adaptivity processes.

This feature is disabled by default; if after extensive testing we wish to enable this by default, I recommend that this wait until the next major release.

drreynolds and others added 30 commits February 27, 2026 15:51
…the evolving stage solution, as requested during PR review
…ep and when 'Reset' will be called thereafter
…fixed step and when 'Reset' will be called thereafter"

This reverts commit 33380c2.
Co-authored-by: David Gardner <gardner48@llnl.gov>
This PR
* Replaces `PreProcessStep` with `PreStepFn` -- removes "process" from the name, adds the current step and attempt index as inputs, and always call before a step attempt
* Removes `PostProcessStepFail` -- users can handle this case by checking the attempt index in `PreProcessStep`
* Replaces `PostProcessStep` call in `arkCompleteStep` with a `PostStepFn`
* Replaces `PostProcessStage` calls on the new state in `TakeStep` functions with `PostProcessStep` calls and account cases where the last stage is the new state
* Replaces `PreRHSProcess` with `PreRhsFn` to remove the idea of processing from the name
Co-authored-by: Mustafa Ağgül <33010171+maggul@users.noreply.github.com>
@gardner48 gardner48 added this to the SUNDIALS v7.8.0 milestone Apr 20, 2026
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.

2 participants