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 8 commits into
base: main
Choose a base branch
from
Open

Conversation

nstarman
Copy link
Contributor

@nstarman nstarman commented Dec 3, 2023

No description provided.

@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))

@jnibauer jnibauer enabled auto-merge (squash) December 11, 2023 13:05
Required for STnlm parameters

Signed-off-by: nstarman <[email protected]>
Signed-off-by: nstarman <[email protected]>
Signed-off-by: nstarman <[email protected]>

test utils

Signed-off-by: nstarman <[email protected]>
Signed-off-by: nstarman <[email protected]>
Signed-off-by: nstarman <[email protected]>
Signed-off-by: nstarman <[email protected]>
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.

None yet

2 participants