Skip to content

Commit a5d3409

Browse files
committed
Update tutorials to Models repo
Remote content used in tutorials is now to be found at https://github.com/SpinW/Models Former-commit-id: 6412bfa
1 parent 254515d commit a5d3409

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed
File renamed without changes.

tutorials/publish/tutorial21.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
% We get the crystal structure of YIG from a .cif file stored online. SpinW
1717
% is able to download the file from a given link and create the crystal
1818
% structure.
19-
20-
yig = spinw('https://goo.gl/kQO0FJ');
19+
yig = spinw('https://raw.githubusercontent.com/SpinW/Models/master/cif/YIG_10K.cif');
2120

2221
% The imported .cif file contains all symmetry operators of its space
2322
% group. SpinW will determine the generators of the space group and stores

tutorials/publish/tutorial31.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
% Where does all the data comes from? edit atom.dat
66
%
77

8-
licro = spinw('https://goo.gl/do6oTh');
8+
licro = spinw('https://raw.githubusercontent.com/SpinW/Models/master/cif/licro2.cif');
99

1010
licro.formula
1111

tutorials/publish/tutorial35.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
% can check the resulting matrices using the spinw.table method.
6161

6262
x1 = [4.24 5.95 -0.46 -0.48];
63-
luvo.matparser('param',x1,'mat',{'Jab' 'Jc' 'K(2,2)' 'K(3,3)'},'init',true)
63+
luvo.matparser('param',x1,'mat',{'Jab' 'Jc' 'K(2,2)' 'K(3,3)'},'init',truehttps://goo.gl/8guwPF)
6464

6565
luvo.table('matrix')
6666

@@ -74,7 +74,7 @@
7474
% input of spinw.matparser, fitting K(1,1) and K(2,2) and restricting them
7575
% to positive values. This ensures that the magnetic structure (parallel to
7676
% c-axis) is always the right ground state. The data file is stored here:
77-
% https://goo.gl/8guwPF
77+
% https://raw.githubusercontent.com/SpinW/spinw/master/tutorials/publish/LuVO3_fitted_modes.txt
7878
% Please save it with the name LuVO3_fitted_modes.txt into a location that
7979
% is visible to Matlab.
8080
perf = swpref;

tutorials/publish/tutorial38.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
% atom is the second in position, the corresponding spin quantum number can
1515
% be changed directly.
1616

17-
ca2ruo4 = spinw('https://goo.gl/SYoJVS');
17+
ca2ruo4 = spinw('https://github.com/SpinW/Models/raw/master/cif/Ca2RuO4.cif');
1818

1919
ca2ruo4.unit_cell.S(2) = 1;
2020
plot(ca2ruo4)
@@ -72,7 +72,7 @@
7272
% within the crystallographic cell.
7373

7474
ca2ruo4.genmagstr('mode','random','S',[1 0 0]','k',[0 0 0])
75-
magRes = ca2ruo4.optmagsteep('nRun',1e4);
75+
magRes = ca2ruo4.optmagsteep('nRun', 1e4);
7676
ca2ruo4.energy
7777

7878
%% Calculate spin wave dispersion

0 commit comments

Comments
 (0)