You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The format 'qe/pw/scf' does not give correct atomic coordinate when the input 'ATOMIC_POSITIONS' is written in 'crystal' and the lattice matrix 'cell' is not equal to its transpose 'cell.T'.
The 'cell' matrix is not supposed to be transposed when converting the fractional coordinate to cartesian coordinate.
I have checked the code and I think it should be coord = np.matmul(coord, cell) rather than coord = np.matmul(coord, cell.T)? I will fix it in the next pr.
Summary
The format 'qe/pw/scf' does not give correct atomic coordinate when the input 'ATOMIC_POSITIONS' is written in 'crystal' and the lattice matrix 'cell' is not equal to its transpose 'cell.T'.
The 'cell' matrix is not supposed to be transposed when converting the fractional coordinate to cartesian coordinate.
dpdata Version
0.2.5
Links
https://github.com/deepmodeling/dpdata/blob/master/dpdata/qe/scf.py#L73
The text was updated successfully, but these errors were encountered: