Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pt): pass mapping from LAMMPS to PT (#4351)
As discussed, this PR passes mapping from LAMMPS to the PT C++ interface, which is helpful for the external GNN models. The mapping interface is synced from #4307. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes - **New Features** - Introduced a new function `DP_NlistSetMapping` for setting mappings in neighbor lists. - Added `set_mapping` method to `InputNlist` for mapping atoms to real atoms. - Enhanced `compute` methods in `DeepPotPT`, `PairDeepMD`, and `FixDPLR` classes to support new mapping functionalities. - **Bug Fixes** - Improved error handling in various classes to ensure robustness during execution. - **Documentation** - Updated and added comments for clarity and consistency in new and existing functions. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Jinzhe Zeng <[email protected]>
- Loading branch information