Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pt): keep mapping not none during lmp steps when nghost == 0 (dee…
…pmodeling#4209) enhancement on deepmodeling#4144 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced tensor mapping capabilities with the addition of a new `mapping_tensor` variable. - Updated `compute` method to handle ghost atoms and support improved tensor creation logic. - Overloaded `computew` methods to support both double and float types. - **Bug Fixes** - Improved error handling in the `translate_error` method for better exception management. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information