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

New ASPH H update algorithm #302

Open
wants to merge 141 commits into
base: develop
Choose a base branch
from
Open

New ASPH H update algorithm #302

wants to merge 141 commits into from

Conversation

jmikeowen
Copy link
Collaborator

@jmikeowen jmikeowen commented Aug 22, 2024

Summary

  • This PR is a feature updating how we update the smoothing scales
  • It does the following:
    • Introduces a new method for updating the ASPH ideal H
    • Splits the H update algorithms into their own physics packages, removing them (and their needed data) from all hydro packages.
    • Updates how the Voronoi-like geometry is computed, making it its own service physics package akin to how the RK corrections package is handled.
    • Introduces a new experimental general hourglass control for all hydro algorithms.
    • Cleans up all Clang compiler warnings, and sets the Clang CI jobs to use Warnings as Errors to keep those builds warning free.

ToDo :

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

scale udpate rules.  Also a few minor fixes for generating ratio
spheres in 2D.
for looking up nperh information for ideal H estimation.  Preparing
for adding new interpolators based on the second moment for our new
ASPH approach.
applying limits to the allowed nperh lookup range to ensure there's
something to sample from.  Brody's TestIntegrator function is failing
now for reasons I don't understand, so leaving that alone 'til I
figure out why.
zeroth, first, and 2 second moments be passed in.  Also updated all
the hydros that call these methods to compute those moments (untested still).
functionality into the ordinary ASPH algorithm object now.
our current second moment does not reliably work
@ptsuji
Copy link
Collaborator

ptsuji commented Aug 29, 2024

@jmikeowen when I built this branch with SpheralC tests, the Taylor impact tests will croak in the call to spheral_initialize_boundaries_and_physics() (or initializeBoundariesAndPhysics() in SpheralPseudoScript). It seems the DataBase pointer is trying to reinitialize neighbors and getting the smoothing kernel extent runs into a segfault.

@jmikeowen
Copy link
Collaborator Author

jmikeowen commented Aug 29, 2024 via email

- Making ASPH only require Voronoi cells when using IdealH. Potentially pretty big time savings for pure IntegrateH mode.
- Adding an optional function hook to modify the final ideal H calculation from user scripts.
… all GCC builds to avoid symbols overflows during compilation
…nments which is explicitly what we want for PYB11 targets
specialized user-overridable functor for the ASPH ideal H user
filter.  I've also excluded surface points from the ideal H
replacement as well.  With these changes we can now run 2D slab
ablation problems well using IntegrateH or IdealH.
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.

2 participants