Skip to content

Commit

Permalink
Changed parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Jabir Ali Ouassou committed May 17, 2015
1 parent 3278602 commit 0fdbbad
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 13 deletions.
14 changes: 9 additions & 5 deletions Classes/Metal.m
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,11 @@ function plot_dos_left(self)
% Plot the results
plot(erg, dos);
xlabel('\epsilon/\Delta_0')
ylabel('N/N_0')
ylabel('D(\epsilon)')
set(gca, 'XTick', -20:20);
set(gca, 'YTick', -20:20);
set(gca, 'YLim', [0 2]);
set(gca, 'XLim', [-2 2]);
set(gca, 'YLim', [ 0 2]);
end

function plot_dos_right(self)
Expand All @@ -284,9 +285,10 @@ function plot_dos_right(self)
% Plot the results
plot(erg, dos);
xlabel('\epsilon/\Delta_0')
ylabel('N/N_0')
ylabel('D(\epsilon)')
set(gca, 'XTick', -20:20);
set(gca, 'YTick', -20:20);
set(gca, 'XLim', [-2 2]);
set(gca, 'YLim', [0 2]);
end

Expand All @@ -311,9 +313,10 @@ function plot_dos_center(self)
% Plot the results
plot(erg, dos);
xlabel('\epsilon/\Delta_0')
ylabel('N/N_0')
ylabel('D(\epsilon)')
set(gca, 'XTick', -20:20);
set(gca, 'YTick', -20:20);
set(gca, 'XLim', [-2 2]);
set(gca, 'YLim', [0 2]);
end

Expand Down Expand Up @@ -343,7 +346,8 @@ function plot_dos_surf(self)
set(gca, 'XTick', -20:20);
set(gca, 'YTick', -20:20);
set(gca, 'ZTick', -20:20);
set(gca, 'ZLim', [0 2]);
set(gca, 'XLim', [-2 2 ]);
set(gca, 'ZLim', [ 0 2 ]);
end

function plot_dist(self)
Expand Down
4 changes: 2 additions & 2 deletions simulate_bilayer.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function simulate_bilayer()

% Vectors of positions and energies that will be used in the simulation
positions = linspace(0.0, 1.0, 50);
energies = linspace(0.0, 2.0, 100);
energies = linspace(0.0, 2.0, 50);

% Filename where results will be stored
output = 'simulate_bilayer.dat';
Expand Down Expand Up @@ -47,7 +47,7 @@ function simulate_bilayer()
figure;
m.plot_dos_surf;
figure;
m.plot_dos_left;
m.plot_dos_center;

% Save the results of the simulation
save(output);
Expand Down
4 changes: 3 additions & 1 deletion simulate_bilayer_spinactive.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function simulate_bilayer_spinactive(interface_polarization, interface_phase)

% Vectors of positions and energies that will be used in the simulation
positions = linspace(0.0, 1.0, 100);
energies = linspace(0.0, 1.5, 26);
energies = linspace(0.0, 2.0, 50);

% Filename where results will be stored
output = 'simulate_bilayer_spinactive.dat';
Expand Down Expand Up @@ -50,6 +50,8 @@ function simulate_bilayer_spinactive(interface_polarization, interface_phase)
% Plot the results
figure;
m.plot_dos_surf;
figure;
m.plot_dos_center;

% Save the results of the simulation
save(output);
Expand Down
4 changes: 3 additions & 1 deletion simulate_bilayer_spinorbit.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function simulate_bilayer_spinorbit(exchange_strength, exchange_angle, spinorbit

% Vectors of positions and energies that will be used in the simulation
positions = linspace(0.0, 1.0, 100);
energies = linspace(0.0, 1.5, 26);
energies = linspace(0.0, 2.0, 50);

% Filename where results will be stored
output = 'simulate_bilayer_spinorbit.dat';
Expand Down Expand Up @@ -46,6 +46,8 @@ function simulate_bilayer_spinorbit(exchange_strength, exchange_angle, spinorbit
% Plot the results
figure;
m.plot_dos_surf;
figure;
m.plot_dos_center;

% Save the results of the simulation
save(output);
Expand Down
6 changes: 4 additions & 2 deletions simulate_josephson.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ function simulate_josephson(phase_difference)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Vectors of positions and energies that will be used in the simulation
positions = linspace(0.0, 1.0, 100);
energies = linspace(0.0, 1.5, 25);
positions = linspace(0.0, 1.0, 50);
energies = linspace(0.0, 2.0, 50);

% Filename where results will be stored
output = 'simulate_josephson.dat';
Expand Down Expand Up @@ -55,6 +55,8 @@ function simulate_josephson(phase_difference)
% Plot the results
figure;
m.plot_dos_surf;
figure;
m.plot_dos_center;

% Save the results of the simulation
save(output);
Expand Down
4 changes: 3 additions & 1 deletion simulate_josephson_spinactive.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function simulate_josephson_spinactive(phase_difference, interface_polarization,

% Vectors of positions and energies that will be used in the simulation
positions = linspace(0.0, 1.0, 100);
energies = linspace(0.0, 1.5, 25);
energies = linspace(0.0, 2.0, 50);

% Filename where results will be stored
output = 'simulate_josephson_spinactive.dat';
Expand Down Expand Up @@ -62,6 +62,8 @@ function simulate_josephson_spinactive(phase_difference, interface_polarization,
% Plot the results
figure;
m.plot_dos_surf;
figure;
m.plot_dos_center;

% Save the results of the simulation
save(output);
Expand Down
4 changes: 3 additions & 1 deletion simulate_josephson_spinorbit.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function simulate_josephson_spinorbit(phase_difference, exchange_strength, excha

% Vectors of positions and energies that will be used in the simulation
positions = linspace(0.0, 1.0, 100);
energies = linspace(0.0, 1.5, 25);
energies = linspace(0.0, 2.0, 50);

% Filename where results will be stored
output = 'simulate_josephson_spinorbit.dat';
Expand Down Expand Up @@ -55,6 +55,8 @@ function simulate_josephson_spinorbit(phase_difference, exchange_strength, excha
% Plot the results
figure;
m.plot_dos_surf;
figure;
m.plot_dos_center;

% Save the results of the simulation
save(output);
Expand Down

0 comments on commit 0fdbbad

Please sign in to comment.