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

Ml forces #1

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Ml forces #1

wants to merge 5 commits into from

Conversation

marjanalbooyeh
Copy link
Owner

This pull request focuses on the implementation of machine learning models for coarse-graining simulations. The changes include adding new utility functions, creating a custom force class, defining a neural network model, and providing a tutorial notebook.

Changes:

  • Introduced IsotropicCustomForce in flowermd/library/ml_forces.py to integrate a PyTorch model with the simulation framework.

  • Defined LennardJonesNeighborModel and its configuration in flowermd/modules/coarse_graining_ML/isotropic_coarse_graining.py for predicting forces based on neighbor distances.

  • Added functions adjust_periodic_boundary, find_neighbors, and neighbors_dr to flowermd/internal/box_neighbors_utils.py for handling periodic boundary conditions and neighbor calculations.

  • Added a new Jupyter notebook tutorials/6-flowermd-ML-coarse-graining.ipynb to demonstrate the usage of the pre-trained machine learning model for coarse-graining simulations.

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

Successfully merging this pull request may close these issues.

2 participants