Skip to content

Commit df00e45

Browse files
author
davidcorteso
committed
Updated DMI D_2d vector
1 parent b9ced35 commit df00e45

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

fidimag/micro/dmi.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ def compute_field(self, t=0, spin=None):
136136
])
137137

138138
elif self.dmi_type == 'D_2d':
139-
dmi_vector = np.array([0, 1., 0, # -x
140-
0, -1., 0, # +x
141-
1., 0, 0, # -y
142-
-1., 0, 0, # +y
139+
dmi_vector = np.array([1., 0, 0, # -x
140+
-1., 0, 0, # +x
141+
0, -1., 0, # -y
142+
0, 1., 0, # +y
143143
0, 0, 0, # -z
144144
0, 0, 0 # +z
145145
])

0 commit comments

Comments
 (0)