Skip to content

Commit

Permalink
tweak to list_near_atoms
Browse files Browse the repository at this point in the history
  • Loading branch information
aoterodelaroza committed Mar 26, 2024
1 parent e21b682 commit 73cdde7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ module subroutine list_near_atoms(c,xp,icrd,sorted,nat,eid,dist,lvec,ishell0,up2
else
ib = (/modulo(ithis(1),c%nblock(1)), modulo(ithis(2),c%nblock(2)), modulo(ithis(3),c%nblock(3))/)
lvecx = real((ithis - ib) / c%nblock,8)
lvecx = matmul(c%m_xr2c,real((ithis - ib) / c%nblock,8))
lvecx = matmul(c%m_xr2c,lvecx)
xdif = lvecx - xorigc
end if

Expand Down

0 comments on commit 73cdde7

Please sign in to comment.