Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
554 commits
Select commit Hold shift + click to select a range
b41ea08
Merged with feature/fes-preallocate
drreynolds Feb 27, 2026
500392c
Updated SSP(s,2) logging output
drreynolds Feb 27, 2026
77d5d5a
Reverted RKC and RKL to use pointer swaps and a temporary vector for …
drreynolds Feb 27, 2026
4244e0e
Merge branch 'feature/fes-lsrk-cleanup' into feature/fes-ycur-rhs
drreynolds Feb 27, 2026
1012fcb
Merged with feature/fes-ycur-rhs
drreynolds Feb 27, 2026
d962dd8
Merged with feature/fes-preallocate
drreynolds Feb 27, 2026
44bce06
Updated comments
drreynolds Mar 1, 2026
33380c2
Removed extraneous RHS call from RKC and RKL at the end of a fixed st…
drreynolds Mar 2, 2026
7c088c5
Revert "Removed extraneous RHS call from RKC and RKL at the end of a …
drreynolds Mar 2, 2026
f9b311e
Apply suggestions from code review
drreynolds Mar 3, 2026
75590c0
Additional fix for bad merge
drreynolds Mar 3, 2026
603c9d1
Formatting
drreynolds Mar 3, 2026
b0f6a4a
Merging feature/stageprocessing-updates (#853)
gardner48 Mar 4, 2026
d23c70d
Apply suggestions from code review
drreynolds Mar 4, 2026
f428000
Formatting
drreynolds Mar 4, 2026
93be86d
Updated PR to remove the 'promise' that we call user routines with yc…
drreynolds Mar 4, 2026
800956e
Merge branch 'feature/fes-yout-copy' into feature/fes-lsrk-cleanup
drreynolds Mar 4, 2026
db848c9
Updated logging output to reflect stage index shift
drreynolds Mar 4, 2026
770b95e
Merge branch 'feature/fes-lsrk-cleanup' into feature/fes-ycur-rhs
drreynolds Mar 4, 2026
1dfde7e
Merged with feature/fes-ycur-rhs
drreynolds Mar 4, 2026
2aacc71
Formatting
drreynolds Mar 4, 2026
b8fccc8
Merged with feature/fes-ycur-rhs
drreynolds Mar 4, 2026
3ee331d
Merged with feature/fes-preallocate
drreynolds Mar 4, 2026
a734e02
Fixed misplaced stage index update in SSP-10-4
drreynolds Mar 4, 2026
0a90f00
Merge branch 'feature/fes-staging' into feature/stageprocessing
drreynolds Mar 6, 2026
31d9397
Merge branch 'feature/stageprocessing' into feature/fes-yout-copy
drreynolds Mar 6, 2026
d74c8d9
Re-enabled Python CI
drreynolds Mar 6, 2026
f9041ff
Merge branch 'feature/stageprocessing' into feature/fes-yout-copy
drreynolds Mar 6, 2026
85dc943
Python
drreynolds Mar 6, 2026
71f0e90
Merge branch 'feature/stageprocessing' into feature/fes-yout-copy
drreynolds Mar 6, 2026
0acd336
Merge branch 'feature/fes-staging' into feature/stageprocessing
drreynolds Mar 7, 2026
8330626
Merge branch 'feature/stageprocessing' into feature/fes-yout-copy
drreynolds Mar 7, 2026
98156a2
Merged with feature/fes-yout-copy
drreynolds Mar 7, 2026
51bfcc4
Formatting
drreynolds Mar 7, 2026
82fb71b
Fixed merge error
drreynolds Mar 7, 2026
563ced0
Merge branch 'feature/fes-lsrk-cleanup' into feature/fes-ycur-rhs
drreynolds Mar 7, 2026
d90dfb2
Fixed logging output for Jenkins
drreynolds Mar 11, 2026
ad950d9
Merge branch 'feature/fes-staging' into feature/stageprocessing
drreynolds Mar 11, 2026
3fa09bc
Merge branch 'feature/stageprocessing' into feature/fes-yout-copy
drreynolds Mar 11, 2026
f225e39
Merge branch 'feature/fes-yout-copy' into feature/fes-lsrk-cleanup
drreynolds Mar 11, 2026
9a3343f
Merge branch 'feature/fes-lsrk-cleanup' into feature/fes-ycur-rhs
drreynolds Mar 11, 2026
3a7216a
Merge branch 'feature/fes-ycur-rhs' into feature/fes-preallocate
drreynolds Mar 11, 2026
91a8f9a
Merged with feature/fes-preallocate
drreynolds Mar 11, 2026
3f0df27
Updated new unit tests based on upstream changes from feature/stagepr…
drreynolds Mar 11, 2026
2a909bd
Formatting
drreynolds Mar 11, 2026
749d629
Converting extended precision CI tests to build-only
drreynolds Mar 11, 2026
733a101
Added missing space
drreynolds Mar 11, 2026
58073cf
Merge branch 'feature/stageprocessing' into feature/fes-yout-copy
drreynolds Mar 11, 2026
d00d3b7
Merge branch 'feature/fes-yout-copy' into feature/fes-lsrk-cleanup
drreynolds Mar 11, 2026
0322df6
Merge branch 'feature/fes-lsrk-cleanup' into feature/fes-ycur-rhs
drreynolds Mar 11, 2026
b5d4259
Merge branch 'feature/fes-ycur-rhs' into feature/fes-preallocate
drreynolds Mar 11, 2026
a16bee2
Merge branch 'feature/fes-preallocate' into feature/fes-get-stage-index
drreynolds Mar 11, 2026
5b37908
Updated answers submodule commit
drreynolds Mar 12, 2026
44ffbc6
Updated new output files based on upstream changes from feature/stage…
drreynolds Mar 12, 2026
39ecd60
Updated documentation to capture upstream changes in stageprocessing …
drreynolds Mar 12, 2026
63145ee
Minor cleanup to step flow in docs
drreynolds Mar 13, 2026
c4929da
Fixed CHANGELOG and RecentChanges files
drreynolds Mar 13, 2026
cbba76d
Fixed minor typos
drreynolds Mar 13, 2026
47a9566
Merge branch 'feature/fes-get-stage-index' of github.com:LLNL/sundial…
drreynolds Mar 13, 2026
d70df42
Fixed capitalization
drreynolds Mar 13, 2026
a4e900f
Fixed capitalization
drreynolds Mar 13, 2026
3f7ffa9
add space
gardner48 Mar 15, 2026
a47a9ff
update documentation for new functions
gardner48 Mar 15, 2026
0e6f175
update constants table
gardner48 Mar 15, 2026
41fd559
note behavior change, fix typo
gardner48 Mar 15, 2026
e8a0415
fix typo
gardner48 Mar 15, 2026
5745115
Revert "fix typo"
gardner48 Mar 15, 2026
178b9ea
fix typo
gardner48 Mar 16, 2026
1691829
Added set routine to disregard tstop-limited time steps from adaptivi…
drreynolds Mar 16, 2026
80fecf5
Updated documentation that David inserted to match with what I'd put …
drreynolds Mar 16, 2026
66148e6
Updated documentation that David inserted to match with what I'd put …
drreynolds Mar 16, 2026
4aa1560
Minor update
drreynolds Mar 16, 2026
840bfa1
fix PostProcessStepFn calls
gardner48 Mar 16, 2026
bbde52b
remove duplicate documentation, revise postprocesses stage timing des…
gardner48 Mar 16, 2026
b295325
fix links, follow user-suppled function doc style
gardner48 Mar 16, 2026
4be9839
add pre-rhs to section title
gardner48 Mar 16, 2026
699d393
Temporarily unraveled the yn -> ycur copy in arkode.c
drreynolds Mar 18, 2026
f61d93e
Merge branch 'feature/stageprocessing' of github.com:LLNL/sundials in…
drreynolds Mar 20, 2026
4e250a8
Cleaned up commented code from last commit
drreynolds Mar 20, 2026
b0b0b72
Merge branch 'feature/stageprocessing' into feature/fes-yout-copy
drreynolds Mar 20, 2026
749182c
Merge branch 'feature/fes-yout-copy' into feature/fes-lsrk-cleanup
drreynolds Mar 20, 2026
6c8b6b3
Formatting
drreynolds Mar 20, 2026
3ebe826
Merge branch 'feature/stageprocessing' into feature/fes-yout-copy
drreynolds Mar 20, 2026
fec8c11
Merge branch 'feature/fes-yout-copy' into feature/fes-lsrk-cleanup
drreynolds Mar 20, 2026
528e33e
Updated to accommodate removal of yn -> ycur copy in arkode.c
drreynolds Mar 20, 2026
49875ea
Formatting
drreynolds Mar 20, 2026
9e1243a
Merged with feature/fes-lsrk-cleanup
drreynolds Mar 20, 2026
dbd0e6f
Reverting most of the changes in this PR
drreynolds Mar 20, 2026
a8e4e68
Unraveled more yn -> ycur changes
drreynolds Mar 20, 2026
f532213
Merged with feature/fes-ycur-rhs
drreynolds Mar 20, 2026
fb8fe25
Merged with feature/fes-preallocate
drreynolds Mar 20, 2026
52c123a
Merge branch 'feature/fes-get-stage-index' into feature/fes-tstop-ada…
drreynolds Mar 20, 2026
cd0528b
Formatting
drreynolds Mar 20, 2026
e0fa4e7
Added internal arkode flag to signal whether the time-stepping module…
drreynolds Mar 21, 2026
3841481
Formatting
drreynolds Mar 21, 2026
fde643d
Merge branch 'feature/stageprocessing' into feature/fes-yout-copy
drreynolds Mar 21, 2026
95548e0
Merge branch 'feature/fes-yout-copy' into feature/fes-lsrk-cleanup
drreynolds Mar 21, 2026
fbb74ff
Merged with feature/fes-lsrk-cleanup
drreynolds Mar 21, 2026
fe6eeef
Formatting
drreynolds Mar 21, 2026
0324d2d
Merge branch 'feature/fes-ycur-rhs' into feature/fes-preallocate
drreynolds Mar 21, 2026
0cbad64
Merge branch 'feature/fes-preallocate' into feature/fes-get-stage-index
drreynolds Mar 21, 2026
05ff165
Merge branch 'feature/fes-get-stage-index' into feature/fes-tstop-ada…
drreynolds Mar 21, 2026
ac13084
Updated MRIGARK to consistently use ycur at the start of the step
drreynolds Mar 21, 2026
a30facc
Merge branch 'feature/stageprocessing' into feature/fes-yout-copy
drreynolds Mar 21, 2026
648958b
Merge branch 'feature/fes-yout-copy' into feature/fes-lsrk-cleanup
drreynolds Mar 21, 2026
4ebd73f
Merge branch 'feature/fes-lsrk-cleanup' into feature/fes-ycur-rhs
drreynolds Mar 21, 2026
0449c75
Merge branch 'feature/fes-ycur-rhs' into feature/fes-preallocate
drreynolds Mar 21, 2026
9ab394b
Merge branch 'feature/fes-preallocate' into feature/fes-get-stage-index
drreynolds Mar 21, 2026
b7c89ab
Merge branch 'feature/fes-get-stage-index' into feature/fes-tstop-ada…
drreynolds Mar 21, 2026
b0292eb
Updated answers submodule commit
drreynolds Mar 21, 2026
978a1ad
Merge branch 'feature/fes-get-stage-index' into feature/fes-tstop-ada…
drreynolds Mar 21, 2026
89ff94d
Updated stageinfo output files due to upstream changes
drreynolds Mar 21, 2026
3899df2
Updated MRISR and MERK methods to leverage ensure_ycur flag
drreynolds Mar 21, 2026
598f55a
Formatting
drreynolds Mar 21, 2026
9c99d83
Merge branch 'feature/stageprocessing' into feature/fes-yout-copy
drreynolds Mar 21, 2026
77d605c
Merge branch 'feature/fes-yout-copy' into feature/fes-lsrk-cleanup
drreynolds Mar 21, 2026
1e445eb
Merged with feature/fes-lsrk-cleanup
drreynolds Mar 21, 2026
043b1a6
Merge branch 'feature/fes-ycur-rhs' into feature/fes-preallocate
drreynolds Mar 21, 2026
521cd68
Merge branch 'feature/fes-preallocate' into feature/fes-get-stage-index
drreynolds Mar 21, 2026
bfd3a0d
Merge branch 'feature/fes-get-stage-index' into feature/fes-tstop-ada…
drreynolds Mar 21, 2026
28b938e
Fixed merge error
drreynolds Mar 22, 2026
ac91c22
Merge branch 'feature/fes-ycur-rhs' into feature/fes-preallocate
drreynolds Mar 22, 2026
76d5692
Merge branch 'feature/fes-preallocate' into feature/fes-get-stage-index
drreynolds Mar 22, 2026
0ef8a54
Merge branch 'feature/fes-get-stage-index' into feature/fes-tstop-ada…
drreynolds Mar 22, 2026
e1141fe
Manually added Python interface callbacks for new user-supplied funct…
drreynolds Mar 22, 2026
833b32f
Formatting
drreynolds Mar 22, 2026
8fdc5fb
Merged with develop
drreynolds Mar 22, 2026
20d59ad
Merge branch 'feature/stageprocessing' into feature/fes-yout-copy
drreynolds Mar 22, 2026
fed0675
Merge branch 'feature/fes-yout-copy' into feature/fes-lsrk-cleanup
drreynolds Mar 22, 2026
a8618fd
Merge branch 'feature/fes-lsrk-cleanup' into feature/fes-preallocate
drreynolds Mar 22, 2026
e927fe9
Merge branch 'feature/fes-preallocate' into feature/fes-get-stage-index
drreynolds Mar 22, 2026
d1195c5
Merge branch 'feature/fes-get-stage-index' into feature/fes-tstop-ada…
drreynolds Mar 22, 2026
6688af6
fix ERK call order docs, note FASL case behavior
gardner48 Mar 22, 2026
16d6bf9
add note to versionadded for postprocess step function
gardner48 Mar 22, 2026
8d74eea
shorten link text
gardner48 Mar 22, 2026
a9ab85b
note step index starts at 0
gardner48 Mar 22, 2026
3177a6e
use double ticks
gardner48 Mar 22, 2026
b47a0a4
fix typo
gardner48 Mar 22, 2026
ebc8e9a
fix typo
gardner48 Mar 22, 2026
59549dc
use tn when using yn
gardner48 Mar 22, 2026
827607e
note adjoint checkpoint fix
gardner48 Mar 22, 2026
64a4158
Merge branch 'feature/stageprocessing' into feature/fes-yout-copy
drreynolds Mar 23, 2026
b6c4a47
Merge branch 'feature/fes-yout-copy' into feature/fes-lsrk-cleanup
drreynolds Mar 23, 2026
273674d
Merge branch 'feature/fes-lsrk-cleanup' into feature/fes-preallocate
drreynolds Mar 23, 2026
762bd6d
Merged with feature/fes-preallocate
drreynolds Mar 23, 2026
38f155a
Merge branch 'feature/fes-get-stage-index' into feature/fes-tstop-ada…
drreynolds Mar 23, 2026
ec8a306
note additional bugs fixed in this PR
gardner48 Mar 23, 2026
e03a3d5
Accepted suggestions from code review
drreynolds Mar 23, 2026
80c097b
Merge branch 'feature/stageprocessing' of github.com:LLNL/sundials in…
drreynolds Mar 23, 2026
bef26de
Merge branch 'feature/stageprocessing' into feature/fes-yout-copy
drreynolds Mar 23, 2026
b8d75a5
Accepted suggestions from code review
drreynolds Mar 23, 2026
fb6b587
Accepted suggestions from code review
drreynolds Mar 23, 2026
d299584
Merged with feature/fes-yout-copy
drreynolds Mar 23, 2026
a80e6f3
Merge branch 'feature/fes-lsrk-cleanup' into feature/fes-preallocate
drreynolds Mar 23, 2026
6db8052
Applied suggestions from PR review
drreynolds Mar 23, 2026
3aba919
ARKodeGetStageIndex returns an error if it is not supported by the ti…
drreynolds Mar 23, 2026
3ee192b
Updated splittingStep_GetStageIndex to return an error if step_mem->c…
drreynolds Mar 23, 2026
14b9820
Applied suggestions from PR review
drreynolds Mar 23, 2026
068a66f
Applied suggestions from PR review
drreynolds Mar 23, 2026
2b72fce
More updates from code review; added documentation comment that RKC a…
drreynolds Mar 23, 2026
378d827
Applied suggestions from PR review
drreynolds Mar 23, 2026
889d05d
Applied suggestions from PR review
drreynolds Mar 24, 2026
43f53ee
Applied suggestions from PR review
drreynolds Mar 24, 2026
9bbce39
Formatting
drreynolds Mar 24, 2026
a9f77a9
Fixed braces from previous commit
drreynolds Mar 24, 2026
1d1839f
Merge branch 'feature/stageprocessing' into feature/fes-yout-copy
drreynolds Mar 24, 2026
029c771
Merge branch 'feature/fes-staging' into feature/fes-yout-copy
gardner48 Mar 24, 2026
30261df
Merge branch 'feature/fes-yout-copy' of github.com:LLNL/sundials into…
drreynolds Mar 24, 2026
f777240
Merged with feature/fes-yout-copy
drreynolds Mar 24, 2026
73e5956
Merge branch 'feature/fes-lsrk-cleanup' into feature/fes-preallocate
drreynolds Mar 24, 2026
8105a80
Merge branch 'feature/fes-preallocate' into feature/fes-get-stage-index
drreynolds Mar 24, 2026
7d269ad
Merge branch 'feature/fes-get-stage-index' into feature/fes-tstop-ada…
drreynolds Mar 24, 2026
226d603
Formatting
drreynolds Mar 24, 2026
340f526
Merge branch 'feature/fes-get-stage-index' into feature/fes-tstop-ada…
drreynolds Mar 24, 2026
802a5d7
Renamed ARKodeAllocateInternalData to ARKodeInit, to match naming con…
drreynolds Mar 26, 2026
ffd637d
Renamed ARKodeAllocateInternalData to ARKodeInit, to match naming con…
drreynolds Mar 26, 2026
9782320
Minor cleanup
drreynolds Mar 26, 2026
c5ee9f6
Applied suggestions from PR review
drreynolds Mar 26, 2026
bb73508
Applied suggestions from PR review
drreynolds Mar 26, 2026
e2a34e0
Forgot to 'save' before commit/push
drreynolds Mar 26, 2026
4bb0032
Formatting
drreynolds Mar 26, 2026
e88f941
Created optional time-stepper routine to provide the initial step siz…
drreynolds Mar 26, 2026
e8e427d
Formatting
drreynolds Mar 27, 2026
945be32
Swig and Python bindings
drreynolds Mar 27, 2026
630d849
Removed unused variable
drreynolds Mar 27, 2026
47e6037
Added SUNDIALS_MAYBE_UNUSED
drreynolds Mar 27, 2026
0677689
Removed tout from the internal ARKTimestepInitFn type
drreynolds Mar 27, 2026
2e232ae
Updated answer and .out files after fix to automated slow MRI initial…
drreynolds Mar 27, 2026
4514ec7
Updated CHANGELOG and RecentChanges files to note the H0 estimation b…
drreynolds Mar 27, 2026
48db512
Merge branch 'feature/fes-preallocate' of github.com:LLNL/sundials in…
drreynolds Mar 27, 2026
f8521fb
Moved 'preallocated' flag to ARKODE level; investigating a fix for in…
drreynolds Mar 28, 2026
25c6e30
Formatting
drreynolds Mar 28, 2026
e0b9f10
Removed commented-out code
drreynolds Mar 29, 2026
ca304ec
Fixed documentation reference
drreynolds Mar 29, 2026
4472cf6
Merged with develop
drreynolds Mar 29, 2026
ec9b006
Merged with fes-staging
drreynolds Mar 29, 2026
e766b63
Merged with feature/fes-preallocate
drreynolds Mar 29, 2026
b4a6f29
Merged with feature/fes-get-stage-index
drreynolds Mar 29, 2026
f47091c
Removed unused variable
drreynolds Mar 29, 2026
789dc09
Updated answers submodule commit
drreynolds Mar 29, 2026
7fcc307
Updated answers submodule commit
drreynolds Mar 29, 2026
e35230e
Merge branch 'feature/fes-get-stage-index' into feature/fes-tstop-ada…
drreynolds Mar 29, 2026
1400077
update jenkins .out files
gardner48 Mar 29, 2026
512e7f7
update jenkins int64 .out files
gardner48 Mar 29, 2026
0fda0ef
Merge branch 'feature/fes-preallocate' into feature/fes-get-stage-index
drreynolds Mar 29, 2026
b90aa17
Merge branch 'feature/fes-get-stage-index' into feature/fes-tstop-ada…
drreynolds Mar 29, 2026
983c226
Updated mathematical description of RKL and RKC to use 1-based stage …
drreynolds Mar 30, 2026
44af67c
Applied changes from PR review
drreynolds Mar 30, 2026
acbb61d
Applied changes from PR review
drreynolds Mar 30, 2026
e461660
Finished updates to stage indexing; updated lsrkStep_GetStageIndex ma…
drreynolds Mar 30, 2026
02bc602
Formatting
drreynolds Mar 30, 2026
e242563
Formatting
drreynolds Mar 30, 2026
7361287
minor reversions to upstream
drreynolds Mar 30, 2026
264d10f
Fixed location for setting tcur
drreynolds Mar 30, 2026
619d3ca
additional bugfix related to PR revisions
drreynolds Mar 30, 2026
3ee39a1
Updated stageinfo output files based on PR updates
drreynolds Mar 30, 2026
9c8502f
Updated logging output files based on PR updates
drreynolds Mar 30, 2026
00d2618
One more logging output file
drreynolds Mar 31, 2026
de1f518
Merge branch 'feature/fes-get-stage-index' into feature/fes-tstop-ada…
drreynolds Mar 31, 2026
0aaef02
Applied suggestions from PR review
drreynolds Apr 2, 2026
74bf45d
Merge branch 'feature/fes-preallocate' into feature/fes-get-stage-index
drreynolds Apr 2, 2026
3d329f7
Applied suggestions from PR review
drreynolds Apr 2, 2026
a559042
One more suggestion from PR review, and formatting
drreynolds Apr 2, 2026
e4a52e0
One final revision based on the last PR review
drreynolds Apr 2, 2026
36b6598
Merge pull request #886 from feature/fes-preallocate
drreynolds Apr 2, 2026
daf1b81
Updating logging output due to PR revision
drreynolds Apr 2, 2026
72e3e6c
Merge branch 'feature/fes-get-stage-index' into feature/fes-tstop-ada…
drreynolds Apr 2, 2026
8a1ff29
Applied suggestions from PR review
drreynolds Apr 2, 2026
468e83b
Updating logging output due to PR revision
drreynolds Apr 2, 2026
9234c32
Minor change to initiate CI tests (I'd forgotten to push a change to …
drreynolds Apr 2, 2026
914e98e
Merged with develop
drreynolds Apr 2, 2026
950e1bc
Merge branch 'feature/fes-staging' into feature/fes-get-stage-index
gardner48 Apr 2, 2026
2f5f8bf
Merge branch 'feature/fes-staging' into feature/fes-tstop-adaptivity
drreynolds Apr 3, 2026
e5cf40b
Merged with develop
drreynolds Apr 8, 2026
85d5daa
Merged with develop
drreynolds Apr 16, 2026
d31720d
Formatting
drreynolds Apr 16, 2026
87f4ec7
Formatting
drreynolds Apr 16, 2026
02c0c01
Added CVodeSkipAdaptStopTime to CVODE
drreynolds Apr 16, 2026
0cf0b72
Added CVodeSkipAdaptStopTime to CVODES
drreynolds Apr 16, 2026
b5cc38a
Added IDASkipAdaptStopTime to IDA
drreynolds Apr 16, 2026
b2dd3aa
Added IDASkipAdaptStopTime to IDAS
drreynolds Apr 16, 2026
1de734b
Swig
drreynolds Apr 17, 2026
5bfe31b
Fixed submodule commit to match develop branch
drreynolds Apr 17, 2026
1dac3be
Formatting
drreynolds Apr 17, 2026
0b441f0
Python interfaces
drreynolds Apr 17, 2026
272660e
Minor updates to .out files due to new line in ARKodeWriteParameters
drreynolds Apr 20, 2026
4cc4367
Merge branch 'feature/fes-tstop-adaptivity' of github.com:llnl/sundia…
drreynolds Apr 20, 2026
d4a1aac
Added missing .out file
drreynolds Apr 20, 2026
acd161c
Updated two .out files to include additional line printed in ARKodeWr…
drreynolds Apr 20, 2026
98a0afb
Updated .out file in answers repository due to added line in ARKodeWr…
drreynolds Apr 20, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 39 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

Updated `examples/cvode/petsc/cv_petsc_ex7.c` to support PETSc 3.25.0.

Added the function `ARKodeSkipAdaptStopTime` to specify that
stop-time-limited steps should be disregarded when selecting step sizes
for time step adaptivity. Added the functions `CVodeSkipAdaptStopTime`
and `IDASkipAdaptStopTime` to specify that stop-time-limited steps should
be disregarded when adapting the step size and method order for CVODE(S)
and IDA(S), respectively.

### Bug Fixes

Fixed memory leaks in CVODES, IDAS, and KINSOL in the unlikely event of a failed
Expand Down Expand Up @@ -108,6 +115,37 @@ Fixed a bug where passing an empty string to
corresponding logging stream ([Issue
#844](https://github.com/llnl/sundials/issues/844)).

Fixed a bug in logging output from ARKODE, where for some time stepping modules,
the current "time" output in the logger was incorrect.

Fixed a bug in the ARKODE discrete adjoint checkpointing where an incorrect
state would be stored on the first step if the output vector passed to
`ARKodeEvolve` did not contain the initial condition on the first call.

Fixed a bug in MRIStep when using a custom inner integrator that relies on the
input state being the initial condition for the fast integration rather than
retaining the result from the last inner integration or most recent reset call
and the output vector passed to `ARKodeEvolve` does not contain the initial
condition on the first call or the last returned solution on subsequent calls.

Removed an extraneous copy of the output vector in each step with SplittingStep.

Added a missing call to `SUNNonlinSolSetup` in MRIStep when using an
IMEX-MRI-SR method.

Fixed a potential bug in LSRKStep's `ARKODE_LSRK_SSP_S_3` method, where a real
number was used instead of an integer, potentially resulting in a rounding error.

Fixed a bug in LSRKStep where an incorrect state vector could be passed to a
user-supplied dominant eigenvalue function on the first step unless the output
vector passed to `ARKodeEvolve` contained the initial condition and when an
eigenvalue estimate is requested on the first step in a subsequent call to
`ARKodeEvolve` unless the output vector passed contained the most recently returned
solution.

Fixed a bug in MRIStep for estimating the first "slow" time step in an adaptive
multirate calculation.

### Deprecation Notices

The `CVodeSetMonitorFn` and `CVodeSetMonitorFrequency` functions have been
Expand All @@ -117,7 +155,7 @@ Several CMake options have been deprecated in favor of namespaced versions
prefixed with `SUNDIALS_` to avoid naming collisions in applications that
include SUNDIALS directly within their CMake builds. Additionally, a consistent
naming convention (`SUNDIALS_ENABLE`) is now used for all boolean options. The
table below lists the old CMake option names and the new replacements.
Removed an extraneous copy of the output vector in each step with SplittingStep.

| Old Option | New Option |
|-----------------------------------------|------------------------------------------------|
Expand Down
3 changes: 3 additions & 0 deletions bindings/sundials4py/arkode/arkode_generated.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ m.def("ARKodeSetStopTime", ARKodeSetStopTime, nb::arg("arkode_mem"),

m.def("ARKodeClearStopTime", ARKodeClearStopTime, nb::arg("arkode_mem"));

m.def("ARKodeSkipAdaptStopTime", ARKodeSkipAdaptStopTime, nb::arg("arkode_mem"),
nb::arg("skipadapttstop"));

m.def("ARKodeSetFixedStep", ARKodeSetFixedStep, nb::arg("arkode_mem"),
nb::arg("hfixed"));

Expand Down
3 changes: 3 additions & 0 deletions bindings/sundials4py/cvodes/cvodes_generated.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ m.def("CVodeSetInterpolateStopTime", CVodeSetInterpolateStopTime,

m.def("CVodeClearStopTime", CVodeClearStopTime, nb::arg("cvode_mem"));

m.def("CVodeSkipAdaptStopTime", CVodeSkipAdaptStopTime, nb::arg("cvode_mem"),
nb::arg("skipadapttstop"));

m.def("CVodeSetEtaFixedStepBounds", CVodeSetEtaFixedStepBounds,
nb::arg("cvode_mem"), nb::arg("eta_min_fx"), nb::arg("eta_max_fx"));

Expand Down
3 changes: 3 additions & 0 deletions bindings/sundials4py/idas/idas_generated.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ m.def("IDASetStopTime", IDASetStopTime, nb::arg("ida_mem"), nb::arg("tstop"));

m.def("IDAClearStopTime", IDAClearStopTime, nb::arg("ida_mem"));

m.def("IDASkipAdaptStopTime", IDASkipAdaptStopTime, nb::arg("ida_mem"),
nb::arg("skipadapttstop"));

m.def("IDASetMaxErrTestFails", IDASetMaxErrTestFails, nb::arg("ida_mem"),
nb::arg("maxnef"));

Expand Down
25 changes: 25 additions & 0 deletions doc/arkode/guide/source/Usage/User_callable.rst
Original file line number Diff line number Diff line change
Expand Up @@ -905,6 +905,7 @@ Minimum absolute step size :c:func:`ARKodeSetMinStep`
Set a value for :math:`t_{stop}` :c:func:`ARKodeSetStopTime` undefined
Interpolate at :math:`t_{stop}` :c:func:`ARKodeSetInterpolateStopTime` ``SUNFALSE``
Disable the stop time :c:func:`ARKodeClearStopTime` N/A
Disregard stop time limited steps in adaptivity :c:func:`ARKodeSkipAdaptStopTime` ``SUNFALSE``
Supply a pointer for user data :c:func:`ARKodeSetUserData` ``NULL``
Maximum no. of ARKODE error test failures :c:func:`ARKodeSetMaxErrTestFails` 7
Set inequality constraints on solution :c:func:`ARKodeSetConstraints` ``NULL``
Expand Down Expand Up @@ -1466,6 +1467,30 @@ Use compensated summation for accumulating time :c:func:`ARKodeSetUseCompensa
.. versionadded:: 6.1.0


.. c:function:: int ARKodeSkipAdaptStopTime(void* arkode_mem, sunbooleantype skip)

Specifies whether stop-time-limited steps should be disregarded
when selecting step sizes for time step adaptivity.

:param arkode_mem: pointer to the ARKODE memory block.
:param skip: flag indicating to disregard (1) or retain (0) stop time
limited steps from the temporal adaptivity algorithm.

:retval ARK_SUCCESS: the function exited successfully.
:retval ARK_MEM_NULL: ``arkode_mem`` was ``NULL``.

.. note::

The default behavior is to use all successful time steps
(including stop-time-limited steps) when determining an
adapted time step size.

This routine will be called by :c:func:`ARKodeSetOptions`
when using the key "arkid.skip_adapt_stop_time".

.. versionadded:: x.y.z


.. c:function:: int ARKodeSetUserData(void* arkode_mem, void* user_data)

Specifies the user data block *user_data* and
Expand Down
25 changes: 25 additions & 0 deletions doc/cvode/guide/source/Usage/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,9 @@ Main solver optional input functions
+-------------------------------+---------------------------------------------+----------------+
| Disable the stop time | :c:func:`CVodeClearStopTime` | N/A |
+-------------------------------+---------------------------------------------+----------------+
| Disregard stop time limited | :c:func:`CVodeSkipAdaptStopTime` | ``SUNFALSE`` |
| steps in adaptivity | | |
+-------------------------------+---------------------------------------------+----------------+
| Maximum no. of error test | :c:func:`CVodeSetMaxErrTestFails` | 7 |
| failures | | |
+-------------------------------+---------------------------------------------+----------------+
Expand Down Expand Up @@ -1207,6 +1210,28 @@ Main solver optional input functions

.. versionadded:: 6.5.1

.. c:function:: int CVodeSkipAdaptStopTime(void* cvode_mem, sunbooleantype skip)

Specifies whether stop-time-limited steps should be disregarded
when adapting step sizes and method order.

**Arguments:**
* ``cvode_mem`` -- pointer to the CVODE memory block.
* ``skip`` -- flag indicating to disregard (1) or retain (0) stop time limited steps from the temporal adaptivity algorithm.

**Return value:**
* ``CV_SUCCESS`` if successful
* ``CV_MEM_NULL`` if the CVODE memory is ``NULL``

**Notes:**
The default behavior is to use all successful time steps
(including stop-time-limited steps) when performing adaptivity.

This routine will be called by :c:func:`CVodeSetOptions`
when using the key "cvid.skip_adapt_stop_time".

.. versionadded:: x.y.z

.. c:function:: int CVodeSetMaxErrTestFails(void* cvode_mem, int maxnef)

The function ``CVodeSetMaxErrTestFails`` specifies the maximum number of error test failures permitted in attempting one step.
Expand Down
25 changes: 25 additions & 0 deletions doc/cvodes/guide/source/Usage/SIM.rst
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,9 @@ Main solver optional input functions
+-------------------------------+---------------------------------------------+----------------+
| Disable the stop time | :c:func:`CVodeClearStopTime` | N/A |
+-------------------------------+---------------------------------------------+----------------+
| Disregard stop time limited | :c:func:`CVodeSkipAdaptStopTime` | ``SUNFALSE`` |
| steps in adaptivity | | |
+-------------------------------+---------------------------------------------+----------------+
| Maximum no. of error test | :c:func:`CVodeSetMaxErrTestFails` | 7 |
| failures | | |
+-------------------------------+---------------------------------------------+----------------+
Expand Down Expand Up @@ -1213,6 +1216,28 @@ Main solver optional input functions

.. versionadded:: 6.5.1

.. c:function:: int CVodeSkipAdaptStopTime(void* cvode_mem, sunbooleantype skip)

Specifies whether stop-time-limited steps should be disregarded
when adapting step sizes and method order.

**Arguments:**
* ``cvode_mem`` -- pointer to the CVODE memory block.
* ``skip`` -- flag indicating to disregard (1) or retain (0) stop time limited steps from the temporal adaptivity algorithm.

**Return value:**
* ``CV_SUCCESS`` if successful
* ``CV_MEM_NULL`` if the CVODE memory is ``NULL``

**Notes:**
The default behavior is to use all successful time steps
(including stop-time-limited steps) when performing adaptivity.

This routine will be called by :c:func:`CVodeSetOptions`
when using the key "cvid.skip_adapt_stop_time".

.. versionadded:: x.y.z

.. c:function:: int CVodeSetMaxErrTestFails(void* cvode_mem, int maxnef)

The function ``CVodeSetMaxErrTestFails`` specifies the maximum number of error test failures permitted in attempting one step.
Expand Down
24 changes: 24 additions & 0 deletions doc/ida/guide/source/Usage/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,8 @@ Main solver optional input functions
+--------------------------------------------------------------------+---------------------------------------+----------------+
| Disable the stop time | :c:func:`IDAClearStopTime` | N/A |
+--------------------------------------------------------------------+---------------------------------------+----------------+
| Disregard stop time limited steps in adaptivity | :c:func:`IDASkipAdaptStopTime` | ``SUNFALSE`` |
+--------------------------------------------------------------------+---------------------------------------+----------------+
| Maximum no. of error test failures | :c:func:`IDASetMaxErrTestFails` | 10 |
+--------------------------------------------------------------------+---------------------------------------+----------------+
| Suppress alg. vars. from error test | :c:func:`IDASetSuppressAlg` | ``SUNFALSE`` |
Expand Down Expand Up @@ -1189,6 +1191,28 @@ Main solver optional input functions

.. versionadded:: 6.5.1

.. c:function:: int IDASkipAdaptStopTime(void* ida_mem, sunbooleantype skip)

Specifies whether stop-time-limited steps should be disregarded
when adapting step sizes and method order.

**Arguments:**
* ``ida_mem`` -- pointer to the IDA memory block.
* ``skip`` -- flag indicating to disregard (1) or retain (0) stop time limited steps from the temporal adaptivity algorithm.

**Return value:**
* ``IDA_SUCCESS`` if successful
* ``IDA_MEM_NULL`` if the IDA memory is ``NULL``

**Notes:**
The default behavior is to use all successful time steps
(including stop-time-limited steps) when performing adaptivity.

This routine will be called by :c:func:`IDASetOptions`
when using the key "idaid.skip_adapt_stop_time".

.. versionadded:: x.y.z

.. c:function:: int IDASetMaxErrTestFails(void * ida_mem, int maxnef)

The function ``IDASetMaxErrTestFails`` specifies the maximum number of error
Expand Down
24 changes: 24 additions & 0 deletions doc/idas/guide/source/Usage/SIM.rst
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,8 @@ Main solver optional input functions
+--------------------------------------------------------------------+---------------------------------------+----------------+
| Disable the stop time | :c:func:`IDAClearStopTime` | N/A |
+--------------------------------------------------------------------+---------------------------------------+----------------+
| Disregard stop time limited steps in adaptivity | :c:func:`IDASkipAdaptStopTime` | ``SUNFALSE`` |
+--------------------------------------------------------------------+---------------------------------------+----------------+
| Maximum no. of error test failures | :c:func:`IDASetMaxErrTestFails` | 10 |
+--------------------------------------------------------------------+---------------------------------------+----------------+
| Suppress alg. vars. from error test | :c:func:`IDASetSuppressAlg` | ``SUNFALSE`` |
Expand Down Expand Up @@ -1194,6 +1196,28 @@ Main solver optional input functions

.. versionadded:: 6.5.1

.. c:function:: int IDASkipAdaptStopTime(void* ida_mem, sunbooleantype skip)

Specifies whether stop-time-limited steps should be disregarded
when adapting step sizes and method order.

**Arguments:**
* ``ida_mem`` -- pointer to the IDA memory block.
* ``skip`` -- flag indicating to disregard (1) or retain (0) stop time limited steps from the temporal adaptivity algorithm.

**Return value:**
* ``IDA_SUCCESS`` if successful
* ``IDA_MEM_NULL`` if the IDA memory is ``NULL``

**Notes:**
The default behavior is to use all successful time steps
(including stop-time-limited steps) when performing adaptivity.

This routine will be called by :c:func:`IDASetOptions`
when using the key "idaid.skip_adapt_stop_time".

.. versionadded:: x.y.z

.. c:function:: int IDASetMaxErrTestFails(void * ida_mem, int maxnef)

The function :c:func:`IDASetMaxErrTestFails` specifies the maximum number of error
Expand Down
7 changes: 7 additions & 0 deletions doc/shared/RecentChanges.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@

Updated ``examples/cvode/petsc/cv_petsc_ex7.c`` to support PETSc 3.25.0.

Added the function :c:func:`ARKodeSkipAdaptStopTime` to specify that
stop-time-limited steps should be disregarded when selecting step sizes
for time step adaptivity. Added the functions
:c:func:`CVodeSkipAdaptStopTime` and :c:func:`IDASkipAdaptStopTime`
to specify that stop-time-limited steps should be disregarded when
adapting the step size and method order for CVODE(S) and IDA(S), respectively.

**Bug Fixes**

Fixed memory leaks in CVODES, IDAS, and KINSOL in the unlikely event of a failed
Expand Down
1 change: 1 addition & 0 deletions examples/arkode/CXX_serial/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ set(ARKODE_examples
"ark_kpr_Mt.cpp\;0 4 0 -10 1 10 1\;develop"
"ark_kpr_Mt.cpp\;0 4 0 -10 0 10 1\;develop"
"ark_kpr_nestedmri.cpp\;\;exclude-single"
"ark_kpr_nestedmri.cpp\;arkfast.skip_adapt_stop_time 1 arkmod.skip_adapt_stop_time 1\;exclude-single"
"ark_pendulum.cpp\;\;develop")

# Header files to install
Expand Down
6 changes: 6 additions & 0 deletions examples/arkode/CXX_serial/ark_kpr_nestedmri.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,8 @@ int main(int argc, char* argv[])
if (check_flag(retval, "ARKodeSetMaxNumSteps")) return 1;
retval = ARKodeSetUserData(inner_arkode_mem, (void*)&opts);
if (check_flag(retval, "ARKodeSetUserData")) return 1;
retval = ARKodeSetOptions(inner_arkode_mem, "arkfast", nullptr, argc, argv);
if (check_flag(retval, "ARKodeSetOptions")) return 1;

// Create inner stepper
MRIStepInnerStepper inner_stepper = nullptr;
Expand Down Expand Up @@ -873,6 +875,8 @@ int main(int argc, char* argv[])
retval = ARKodeSetFixedStep(mid_arkode_mem, opts.hm);
if (check_flag(retval, "ARKodeSetFixedStep")) return 1;
}
retval = ARKodeSetOptions(mid_arkode_mem, "arkmid", nullptr, argc, argv);
if (check_flag(retval, "ARKodeSetOptions")) return 1;

// Create intermediate stepper
MRIStepInnerStepper intermediate_stepper = nullptr;
Expand Down Expand Up @@ -931,6 +935,8 @@ int main(int argc, char* argv[])
retval = ARKodeSetFixedStep(arkode_mem, opts.hs);
if (check_flag(retval, "ARKodeSetFixedStep")) return 1;
}
retval = ARKodeSetOptions(arkode_mem, "arkslow", nullptr, argc, argv);
if (check_flag(retval, "ARKodeSetOptions")) return 1;

//
// Integrate ODE
Expand Down
1 change: 1 addition & 0 deletions examples/arkode/C_serial/ark_analytic.out
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Soderlind SUNAdaptController module:
previous-previous step = 1
firststeps = 0
historysize = 0
Skip tstop-limited steps from affecting temporal adaptivity = 0
Maximum number of error test failures = 7
Maximum number of convergence test failures = 10
ARKStep time step module parameters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Soderlind SUNAdaptController module:
previous-previous step = 1
firststeps = 0
historysize = 0
Skip tstop-limited steps from affecting temporal adaptivity = 0
Maximum number of error test failures = 7
Maximum number of convergence test failures = 10
ARKStep time step module parameters:
Expand Down
6 changes: 6 additions & 0 deletions examples/cvode/CXX_serial/cv_kpr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,12 @@ int main(int argc, char* argv[])
// Advance in time
for (int i = 0; i < opts.nout; i++)
{
if (opts.use_tstop)
{
flag = CVodeSetStopTime(cvode_mem, tout);
if (check_flag(flag, "CVodeSetStopTime")) { return 1; }
}

flag = CVode(cvode_mem, tout, y, &tret, CV_NORMAL);
if (check_flag(flag, "CVode")) { return 1; }

Expand Down
5 changes: 5 additions & 0 deletions examples/cvode/CXX_serial/cv_kpr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ struct Options
// Finite difference Jacobian
bool fd_jac = false;

// Enforce stop time exactly (instead of interpolating)
bool use_tstop = false;

// Output options
sunrealtype dtout = ONE; // output interval
int nout = 10; // number of outputs
Expand Down Expand Up @@ -99,6 +102,7 @@ static void InputHelp()
std::cout << " --fdjac : finite-difference Jacobian\n";
std::cout << " --dtout : output interval\n";
std::cout << " --nout : number of outputs\n";
std::cout << " --tstop : enforce stop time exactly\n";
}

static int ReadInputs(std::vector<std::string>& args, Options& opts,
Expand All @@ -116,6 +120,7 @@ static int ReadInputs(std::vector<std::string>& args, Options& opts,
find_arg(args, "--fdjac", opts.fd_jac);
find_arg(args, "--dtout", opts.dtout);
find_arg(args, "--nout", opts.nout);
find_arg(args, "--tstop", opts.use_tstop);

return 0;
}
Expand Down
2 changes: 2 additions & 0 deletions include/arkode/arkode.h
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,8 @@ SUNDIALS_EXPORT int ARKodeSetInterpolateStopTime(void* arkode_mem,
sunbooleantype interp);
SUNDIALS_EXPORT int ARKodeSetStopTime(void* arkode_mem, sunrealtype tstop);
SUNDIALS_EXPORT int ARKodeClearStopTime(void* arkode_mem);
SUNDIALS_EXPORT int ARKodeSkipAdaptStopTime(void* arkode_mem,
sunbooleantype skipadapttstop);
SUNDIALS_EXPORT int ARKodeSetFixedStep(void* arkode_mem, sunrealtype hfixed);
SUNDIALS_EXPORT int ARKodeSetStepDirection(void* arkode_mem, sunrealtype stepdir);
SUNDIALS_EXPORT int ARKodeSetUserData(void* arkode_mem, void* user_data);
Expand Down
Loading
Loading