-
Notifications
You must be signed in to change notification settings - Fork 18
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
add positions_relative
or similar?
#124
Comments
As I understand it you mean fractional coordinates? I could see the advantage of having that, especially since there is a sensible fallback. |
Yes, that's what I meant, thanks for clarifying! |
I have no opinion on introducing a relative coordinates interface. I can see it being useful. But I don't think this solves the dimensionless systems request, it would feel like a hack - using a framework outside of the scope for which it was intended - with unpredictable consequences. |
I think the main argument that has been put on the table against this has always been: What to do for isolated systems ( |
throw an error |
Ok, but my point is if this is part of the interface and I write my package against it than implicitly I am assuming that the cell is |
Now we go back down the proliferating type parameters rabbit hole I suppose...though I could see an argument for it in this case... |
Just use PeriodicCell(FFF). I don't really understand the need for the |
The workshop discussion on dimensionless systems yesterday was inconclusive at best, but a related thing that occurred to me that might also at least partially address the whole Unitful + AD potential snarl while hopefully avoiding some of the ambiguity issues we're concerned about could be an explicit way to get relative coordinates of particles (i.e. in terms of the lattice vectors of the bounding box).
What do people think about this? And if we were to add it, do folks have thoughts about whether it should be a separate function vs. e.g. a separate dispatch of the
positions
function, e.g. via a flag that could be passed or something?The text was updated successfully, but these errors were encountered: