-
Notifications
You must be signed in to change notification settings - Fork 64
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
Improve the implementation of three-body interactions in M3GNet #282
Conversation
Signed-off-by: Tsz Wai Ko <[email protected]>
WalkthroughThe Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant ThreeBodyInteractions
participant ExternalModule
User->>+ThreeBodyInteractions: Initialize(update_network_atom, update_network_bond, **kwargs)
loop Process Data
User->>+ThreeBodyInteractions: forward(graph, line_graph, three_basis, three_cutoff, node_feat, edge_feat)
ThreeBodyInteractions->>+ExternalModule: Perform calculations
ExternalModule-->>-ThreeBodyInteractions: Return results
ThreeBodyInteractions->>User: Update node and edge features
end
Tip AI model upgrade
|
Summary
Improve the implementation of three-body interactions in M3GNet
Checklist
ruff
.mypy
.duecredit
@due.dcite
decorators to reference relevant papers by DOI (example)Tip: Install
pre-commit
hooks to auto-check types and linting before every commit: