Skip to content

Minor suggestions to SUNDIALS interface #111

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

Merged
merged 2 commits into from
May 22, 2025

Conversation

pelesh
Copy link
Collaborator

@pelesh pelesh commented May 22, 2025

Description

  • Create "symmetric" functions for creating and deleting SUNDIALS objects.
  • Modify RL example to test Ida destructor.

Proposed changes

Minor suggestion to include in #105 to give user more flexibility for creating and deleting IDA components.

Checklist

  • All tests pass.
  • Code compiles cleanly with flags -Wall -Wpedantic -Wconversion -Wextra.
  • The new code follows GridKit™ style guidelines.
  • N/A There are unit tests for the new code.
  • N/A The new code is documented.
  • The feature branch is rebased with respect to the target branch.

Further comments

- Create "symmetric" functions for creating and deleting SUNDIALS objects.
- Modify RL example to test Ida destructor.
@pelesh pelesh requested a review from Steven-Roberts May 22, 2025 14:46
@pelesh pelesh self-assigned this May 22, 2025
@pelesh pelesh added the enhancement New feature or request label May 22, 2025
@pelesh pelesh mentioned this pull request May 22, 2025
6 tasks
@pelesh pelesh merged commit 46774cf into sundials-updates May 22, 2025
pelesh added a commit that referenced this pull request May 22, 2025
* Improvements for IDA and KINSOL

* Remove N_VGetArrayPointer_Serial calls

* Resolve t_init_ issue

* Add missing N_VDestroy

* Apply pre-commmit fixes

* Fix some adjoint memory leaks

* Remove unused function

* Minor suggestions to SUNDIALS interface (#111)

- Create "symmetric" functions for creating and deleting SUNDIALS objects.
- Modify RL example to test Ida destructor.


---------

Co-authored-by: pelesh <pelesh@users.noreply.github.com>

---------

Co-authored-by: Steven-Roberts <Steven-Roberts@users.noreply.github.com>
Co-authored-by: pelesh <peless@ornl.gov>
Co-authored-by: Nicholson Koukpaizan <koukpaizannk@ornl.gov>
Co-authored-by: pelesh <pelesh@users.noreply.github.com>
@pelesh pelesh deleted the slaven/sundials-updates branch June 10, 2025 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants