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

Support for multivariate collective variable #129

Open
ShashankSule opened this issue Jan 21, 2024 · 1 comment
Open

Support for multivariate collective variable #129

ShashankSule opened this issue Jan 21, 2024 · 1 comment

Comments

@ShashankSule
Copy link

Does openmm-torch support multivariate collective variables? I would like to do metadynamics along an NN collective variable in 3 dimensions, and the current openmm-torch documentation involves only univariate examples. Can this be done simply by changing the number of output dimensions of the NN, or is a more elaborate scheme required?

@peastman
Copy link
Member

The model needs to return a single number, which gets interpreted as the energy. You can include three TorchForces, each calculating a single number, and use them as your collective variables.

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