-
Notifications
You must be signed in to change notification settings - Fork 6
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
quantise_diatomic fails for some positions/velocities #292
Labels
bug
Something isn't working
Comments
Somewhat related: |
jamesgardner1421
pushed a commit
that referenced
this issue
Aug 25, 2023
jamesgardner1421
added a commit
that referenced
this issue
Aug 25, 2023
* Correct for periodicity in quantise_diatomic * Split velocity array into slab & molecule as well * Checking for PeriodicCell now type invariant * Partial fix for #292 * Add debug info * More debug info * Possibly translating in the wrong direction * More debug outputs * Fix unrelated typo * Improve accuracy of equilibrium bond length * Fix missing import * Add vectorised version of `quantise_diatomic` `quantise_diatomic` is now able to process a single configuration or a vector of multiple configurations. This improves performance for multiple configurations, as only one potential-specific binding curve is generated to analyse all configurations. * Delay rounding of J values until return * Fix type definition --------- Co-authored-by: Alexander Spears <alexander.spears@warwick.ac.uk> Co-authored-by: James Gardner <james.gardner1421@gmail.com>
@Alexsp32 Shall we close this now? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using
InitialConditions.QuantisedDiatomic.quantise_diatomic
to determine vibrational/rotational quanta of diatomic species, the following error will occur for some combinations of positions and velocities:This appears to be related to the calculation of intersection points between two functions with a bisection algorithm to determine multiple points and occurs more often at low velocities.
The text was updated successfully, but these errors were encountered: