1- from fidimag .common .skyrmion_number import skyrmion_number_at_centre
1+ from fidimag .common .skyrmion_number import skyrmion_number_centre_slice
22from fidimag .common .skyrmion_number import skyrmion_number_lee
33import copy
44import fidimag
@@ -177,7 +177,7 @@ def test_skyrmion_number_monolayer():
177177 clibSk = testCase .microSim .skyrmion_number ()
178178 print ("CLib calculates the skyrmion number as: {:1.2f}." .format (clibSk ))
179179
180- centreSk = testCase .microSim .skyrmion_number_centre ()
180+ centreSk = testCase .microSim .skyrmion_number_centre_slice ()
181181 print ("I calculate the skyrmion number at the centre as: {:1.2f}."
182182 .format (centreSk ))
183183
@@ -195,7 +195,7 @@ def test_skyrmion_number_monolayer():
195195 clibSk = testCase .atomSim .skyrmion_number ()
196196 print ("CLib calculates the skyrmion number as: {:1.2f}." .format (clibSk ))
197197
198- centreSk = testCase .atomSim .skyrmion_number_centre ()
198+ centreSk = testCase .atomSim .skyrmion_number_centre_slice ()
199199 print ("I calculate the skyrmion number at the centre as: {:1.2f}."
200200 .format (centreSk ))
201201
@@ -229,7 +229,7 @@ def test_skyrmion_number_multilayer():
229229 clibSk = testCase .microSim .skyrmion_number ()
230230 print ("CLib calculates the skyrmion number as: {:1.2f}." .format (clibSk ))
231231
232- centreSk = testCase .microSim .skyrmion_number_centre ()
232+ centreSk = testCase .microSim .skyrmion_number_centre_slice ()
233233 print ("I calculate the skyrmion number at the centre as: {:1.2f}."
234234 .format (centreSk ))
235235
@@ -247,7 +247,7 @@ def test_skyrmion_number_multilayer():
247247 clibSk = testCase .atomSim .skyrmion_number ()
248248 print ("CLib calculates the skyrmion number as: {:1.2f}." .format (clibSk ))
249249
250- centreSk = testCase .atomSim .skyrmion_number_centre ()
250+ centreSk = testCase .atomSim .skyrmion_number_centre_slice ()
251251 print ("I calculate the skyrmion number at the centre as: {:1.2f}."
252252 .format (centreSk ))
253253
0 commit comments