deepmd.pt.utils.region
Module Contents
Functions
| Convert physical coordinates to internal(direct) coordinates. |
| Convert internal(direct) coordinates to physical coordinates. |
| Compute the to-face-distance of the simulation cell. |
| |
| |
| Apply PBC according to the atomic coordinates. |
- deepmd.pt.utils.region.phys2inter(coord: torch.Tensor, cell: torch.Tensor) torch.Tensor [source]
Convert physical coordinates to internal(direct) coordinates.
- deepmd.pt.utils.region.inter2phys(coord: torch.Tensor, cell: torch.Tensor) torch.Tensor [source]
Convert internal(direct) coordinates to physical coordinates.