You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the Metadynamics method only supports static number of gaussians (code) as the length of the states are determined at the initialization. In cases where a metadynamics simulation has been restarted, no new gaussians will be recorded. Furthermore, such error will fail silently. Given that creating arrays with variable length is hard in Jax, I think there can be several ways to make it compatible:
Asks user to give a larger ngaussians when initializing the Metadynamics object. No more code is required in such cases, but the docstring needs to be edited to make it compatible to current design.
When reloading the state from a previous result during the restart, add an additional function that edits the result. For the metadynamic case, this function should enlarge the size of the array by the number of ngaussians that is provided by the user, and return it as the new state.
The text was updated successfully, but these errors were encountered:
Thanks @yzjin! We could handle this as a documentation issue for the time being, so let's try to get a fix for the first option. But, I do agree that it would be nice to handle the second case as well.
Currently the
Metadynamics
method only supports static number of gaussians (code) as the length of the states are determined at the initialization. In cases where a metadynamics simulation has been restarted, no new gaussians will be recorded. Furthermore, such error will fail silently. Given that creating arrays with variable length is hard in Jax, I think there can be several ways to make it compatible:ngaussians
when initializing theMetadynamics
object. No more code is required in such cases, but the docstring needs to be edited to make it compatible to current design.ngaussians
that is provided by the user, and return it as the new state.The text was updated successfully, but these errors were encountered: