-
Notifications
You must be signed in to change notification settings - Fork 1
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
Non-omm ase #245
Non-omm ase #245
Conversation
I've updated the |
Meaning of simulation switching/reset not quite consistent right now. The ASE dynamics can't really be reset without reconstructing, and we can't do that for arbitrarily provided dynamics -- so the number of steps etc continues to accumulate (maybe this is fine?). ASE OMM always uses a default set of dynamics that can't be overriden, and are replaced each reset. Instead it could continue to reuse provided dynamics or something? |
18bcc9a
to
8234f21
Compare
8234f21
to
1d268c4
Compare
80ed10f
to
6d4aa2f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good! Thanks for sorting these out
"outputs": [], | ||
"source": [ | ||
"from ase.md import Langevin\n", | ||
"import ase.units as ase_units\n", | ||
"dynamics = Langevin(atoms, timestep=1.0 * ase_units.fs, temperature_K=300 * ase_units.kB, friction=1.0e-03)" | ||
"dynamics = Langevin(atoms, timestep=1.0 * ase_units.fs, temperature_K=300, friction=1.0e-03)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When setting the temperature using temperature_K
I think you only need to specify the number in Kelvin, rather than converting to units of kT by multiplying by the Boltzmann constant kB (see the first note on this page - this is all I changed here!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looks good to me, though I haven't checked how everything looks in VR. The main problem I found is that the particle_count
key in FrameData doesn't exist (and probably should for any simulation, even an empty one), and I'm not sure if there are any other keys that should be being set that aren't being set at the moment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have changed latest_frame
to current_frame
and everything seems to work just fine! Nice work!
Fixes #241