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

[WIP] SCF Potential #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

nstarman
Copy link
Contributor

@nstarman nstarman commented Dec 3, 2023

No description provided.

@nstarman nstarman requested a review from jnibauer December 3, 2023 06:46
@nstarman
Copy link
Contributor Author

nstarman commented Dec 4, 2023

Still needs tests. I sorted out why the Snlm weren't matching, it was due to my GSL.

This framework makes having interpolated SCF potentials via particle snapshots super easy! See STnlmSnapshotParameter. You can pass it an interpolation function taking the time and returning particle positions and masses. STnlmSnapshotParameter handles the conversion from the n-body snapshot to S/Tnlm. Super fast.

SCFPotential(Snlm=STnlmSnapshotParameter(snapshot_interpolation), Tnlm=STnlmSnapshotParameter(snapshot_interpolation))

@nstarman nstarman force-pushed the scf branch 10 times, most recently from 8a31515 to e422b6a Compare December 8, 2023 22:13
@jnibauer jnibauer enabled auto-merge (squash) December 11, 2023 13:05
@nstarman nstarman force-pushed the scf branch 3 times, most recently from 979b995 to 3bf4cf3 Compare December 14, 2023 00:36
@nstarman nstarman added this to the v0.2 milestone Mar 6, 2024
@adrn adrn mentioned this pull request Aug 24, 2024
86 tasks
Signed-off-by: nstarman <[email protected]>
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