Skip to content

Adding implicit time integrators for general use in Spheral #339

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 103 commits into from
Apr 24, 2025

Conversation

jmikeowen
Copy link
Collaborator

@jmikeowen jmikeowen commented Apr 9, 2025

Summary

  • This PR is a feature
  • It does the following:
    • Adds new implicit time integration options to Spheral.
      • This requires additions to the Physics interface: Physics::dtImplicit and Physics::maxResidual. Packages that we want to use with implicit time advancement must provide these methods.
    • Also added Sundials as an optional TPL for Spheral, and a Spheral interface to the KINSOL solver in Sundials.
    • There are several bugfixes in this commit as well, such as fixing the deviatoric evolution in 1D/2D for FSISPH.

ToDo :

  • Annotate RELEASE_NOTES.md with notable changes.
  • Create LLNLSpheral PR pointing at this branch. (PR#132)
  • LLNLSpheral PR has passed all tests.

…ancement. Also cleaned up some stuff in the Integrator package.
cleaned up a few details (int->size_t for sizes of arrays handed back
a few places, and DataBase Python interface for getting NodeList
arrays), and these had wide ranging impact in terms of touching a lot
of files.  No substantive changes to most of these files however.
change. In the process I removed some inline headers which resulted in
including fewer headers across other classes.  This cascaded into
touching a lot of files to include those where necessary, which is
most of the files touched in this commit. It's still worthwhile
getting unnecessary includes out of headers so I went with it.
use with implicit integration and packing the solution vector. Our
logic for picking the independent state to be packed though needs to
be improved.
PYB11Generator, and updated our use of this in Spheral accordingly
@jmikeowen jmikeowen marked this pull request as draft April 10, 2025 00:01
@jmikeowen jmikeowen marked this pull request as ready for review April 16, 2025 21:24
of the deviatoric stress trace in 3D -- fixed
jmpearl
jmpearl previously approved these changes Apr 23, 2025
Copy link
Collaborator

@jmpearl jmpearl left a comment

Choose a reason for hiding this comment

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

Everything I looked at looks good to me, I got through ~ 1/3 of the files focusing on the hydros, and update policies

@jmikeowen jmikeowen merged commit 8103e15 into develop Apr 24, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants