Skip to content

Commit

Permalink
Added definition of identity matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
antelmor committed Jan 30, 2024
1 parent 3c50096 commit d6a8bcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TB2J/io_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from itertools import product
from TB2J.io_exchange import SpinIO

I = np.eye(3)
uz = np.array([[0.0, 0.0, 1.0]])

def get_rotation_matrix(magmoms):
Expand Down

0 comments on commit d6a8bcd

Please sign in to comment.