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

Feature Request: Time-dependent temperature #40

Closed
ellamichelleking opened this issue Aug 23, 2019 · 1 comment
Closed

Feature Request: Time-dependent temperature #40

ellamichelleking opened this issue Aug 23, 2019 · 1 comment

Comments

@ellamichelleking
Copy link
Contributor

Having the energy be time-dependent is really useful, but it seems like it may not be able to interfacing with temperature changing with time. It would be nice to be able to have temperature schedules be time-dependent in addition to the energy.

@sschoenholz
Copy link
Collaborator

This should already work. If you pass a function to the temperature in any of the simulation environments it will naturally behave correctly.

For example see this colab: https://colab.sandbox.google.com/github/google/jax-md/blob/master/notebooks/nvt_simulation.ipynb and check the fourth cell where it defines a function T_schedule.

Let me know if you run into any issues with this or if it's not behaving as it should!

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

No branches or pull requests

2 participants