2025-01-23 20:50:06 +01:00
|
|
|
%% Tilting of the dipoles
|
|
|
|
% Atom Number = 1.00e+05
|
2025-01-30 22:50:50 +01:00
|
|
|
% System size = [5 * l_rot, 5 * l_rot]
|
2024-11-19 16:11:16 +01:00
|
|
|
|
2025-01-23 20:50:06 +01:00
|
|
|
%% v_z = 500, theta = 0: a_s = 76.41
|
2025-01-30 22:50:50 +01:00
|
|
|
|
2024-11-19 16:11:16 +01:00
|
|
|
OptionsStruct = struct;
|
|
|
|
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.NumberOfAtoms = 101250;
|
2024-11-19 16:11:16 +01:00
|
|
|
OptionsStruct.DipolarPolarAngle = 0;
|
|
|
|
OptionsStruct.DipolarAzimuthAngle = 0;
|
2025-01-23 20:50:06 +01:00
|
|
|
OptionsStruct.ScatteringLength = 76.41;
|
2024-11-19 16:11:16 +01:00
|
|
|
|
2025-01-23 20:50:06 +01:00
|
|
|
OptionsStruct.TrapFrequencies = [0, 0, 500];
|
2024-11-19 16:11:16 +01:00
|
|
|
OptionsStruct.TrapPotentialType = 'None';
|
|
|
|
|
2025-01-23 01:19:31 +01:00
|
|
|
OptionsStruct.NumberOfGridPoints = [128, 128];
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.Dimensions = [9, 9];
|
2025-01-23 01:19:31 +01:00
|
|
|
OptionsStruct.TimeStepSize = 0.005; % in s
|
2024-11-19 16:11:16 +01:00
|
|
|
OptionsStruct.MinimumTimeStepSize = 1E-5; % in s
|
|
|
|
OptionsStruct.TimeCutOff = 2E6; % in s
|
|
|
|
OptionsStruct.EnergyTolerance = 5E-10;
|
2025-01-20 01:11:03 +01:00
|
|
|
OptionsStruct.ResidualTolerance = 1E-05;
|
|
|
|
OptionsStruct.NoiseScaleFactor = 0.05;
|
2024-11-19 16:11:16 +01:00
|
|
|
|
2025-01-20 01:11:03 +01:00
|
|
|
OptionsStruct.MaxIterations = 10;
|
2025-01-23 20:50:06 +01:00
|
|
|
OptionsStruct.VariationalWidth = 2;
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.WidthLowerBound = 0.01;
|
2024-11-22 00:04:27 +01:00
|
|
|
OptionsStruct.WidthUpperBound = 12;
|
2025-01-20 01:11:03 +01:00
|
|
|
OptionsStruct.WidthCutoff = 5e-3;
|
2024-11-19 16:11:16 +01:00
|
|
|
|
|
|
|
OptionsStruct.PlotLive = false;
|
|
|
|
OptionsStruct.JobNumber = 1;
|
|
|
|
OptionsStruct.RunOnGPU = true;
|
|
|
|
OptionsStruct.SaveData = true;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.SaveDirectory = './Results/Data_TiltingOfDipoles/AdjustedSystemSize/Hz500';
|
2024-06-18 19:01:35 +02:00
|
|
|
options = Helper.convertstruct2cell(OptionsStruct);
|
|
|
|
clear OptionsStruct
|
|
|
|
|
2024-11-15 14:33:46 +01:00
|
|
|
solver = VariationalSolver2D.DipolarGas(options{:});
|
2024-11-15 23:36:59 +01:00
|
|
|
pot = VariationalSolver2D.Potentials(options{:});
|
|
|
|
solver.Potential = pot.trap();
|
2024-06-18 19:01:35 +02:00
|
|
|
|
2024-11-14 15:33:54 +01:00
|
|
|
%-% Run Solver %-%
|
2024-11-22 00:04:27 +01:00
|
|
|
[Params, Transf, psi, V, VDk] = solver.run();
|
2025-01-28 18:05:37 +01:00
|
|
|
|
|
|
|
%% v_z = 500, theta = 15: a_s = 77.45
|
|
|
|
|
|
|
|
OptionsStruct = struct;
|
|
|
|
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.NumberOfAtoms = 101250;
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.DipolarPolarAngle = deg2rad(15);
|
|
|
|
OptionsStruct.DipolarAzimuthAngle = 0;
|
|
|
|
OptionsStruct.ScatteringLength = 77.45;
|
|
|
|
|
|
|
|
OptionsStruct.TrapFrequencies = [0, 0, 500];
|
|
|
|
OptionsStruct.TrapPotentialType = 'None';
|
|
|
|
|
|
|
|
OptionsStruct.NumberOfGridPoints = [128, 128];
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.Dimensions = [9, 9];
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.TimeStepSize = 0.005; % in s
|
|
|
|
OptionsStruct.MinimumTimeStepSize = 1E-5; % in s
|
|
|
|
OptionsStruct.TimeCutOff = 2E6; % in s
|
|
|
|
OptionsStruct.EnergyTolerance = 5E-10;
|
|
|
|
OptionsStruct.ResidualTolerance = 1E-05;
|
|
|
|
OptionsStruct.NoiseScaleFactor = 0.05;
|
|
|
|
|
|
|
|
OptionsStruct.MaxIterations = 10;
|
|
|
|
OptionsStruct.VariationalWidth = 2;
|
|
|
|
OptionsStruct.WidthLowerBound = 0.01;
|
|
|
|
OptionsStruct.WidthUpperBound = 12;
|
|
|
|
OptionsStruct.WidthCutoff = 5e-3;
|
|
|
|
|
|
|
|
OptionsStruct.PlotLive = false;
|
|
|
|
OptionsStruct.JobNumber = 2;
|
|
|
|
OptionsStruct.RunOnGPU = true;
|
|
|
|
OptionsStruct.SaveData = true;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.SaveDirectory = './Results/Data_TiltingOfDipoles/AdjustedSystemSize/Hz500';
|
2025-01-28 18:05:37 +01:00
|
|
|
options = Helper.convertstruct2cell(OptionsStruct);
|
|
|
|
clear OptionsStruct
|
|
|
|
|
|
|
|
solver = VariationalSolver2D.DipolarGas(options{:});
|
|
|
|
pot = VariationalSolver2D.Potentials(options{:});
|
|
|
|
solver.Potential = pot.trap();
|
|
|
|
|
|
|
|
%-% Run Solver %-%
|
|
|
|
[Params, Transf, psi, V, VDk] = solver.run();
|
|
|
|
|
2025-01-30 22:50:50 +01:00
|
|
|
%% v_z = 750, theta = 0: a_s = 70.5
|
2025-01-28 18:05:37 +01:00
|
|
|
|
|
|
|
OptionsStruct = struct;
|
|
|
|
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.NumberOfAtoms = 61250;
|
|
|
|
OptionsStruct.DipolarPolarAngle = 0;
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.DipolarAzimuthAngle = 0;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.ScatteringLength = 70.5;
|
2025-01-28 18:05:37 +01:00
|
|
|
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.TrapFrequencies = [0, 0, 750];
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.TrapPotentialType = 'None';
|
|
|
|
|
|
|
|
OptionsStruct.NumberOfGridPoints = [128, 128];
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.Dimensions = [7, 7];
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.TimeStepSize = 0.005; % in s
|
|
|
|
OptionsStruct.MinimumTimeStepSize = 1E-5; % in s
|
|
|
|
OptionsStruct.TimeCutOff = 2E6; % in s
|
|
|
|
OptionsStruct.EnergyTolerance = 5E-10;
|
|
|
|
OptionsStruct.ResidualTolerance = 1E-05;
|
|
|
|
OptionsStruct.NoiseScaleFactor = 0.05;
|
|
|
|
|
|
|
|
OptionsStruct.MaxIterations = 10;
|
|
|
|
OptionsStruct.VariationalWidth = 2;
|
|
|
|
OptionsStruct.WidthLowerBound = 0.01;
|
|
|
|
OptionsStruct.WidthUpperBound = 12;
|
|
|
|
OptionsStruct.WidthCutoff = 5e-3;
|
|
|
|
|
|
|
|
OptionsStruct.PlotLive = false;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.JobNumber = 1;
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.RunOnGPU = true;
|
|
|
|
OptionsStruct.SaveData = true;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.SaveDirectory = './Results/Data_TiltingOfDipoles/AdjustedSystemSize/Hz750';
|
2025-01-28 18:05:37 +01:00
|
|
|
options = Helper.convertstruct2cell(OptionsStruct);
|
|
|
|
clear OptionsStruct
|
|
|
|
|
|
|
|
solver = VariationalSolver2D.DipolarGas(options{:});
|
|
|
|
pot = VariationalSolver2D.Potentials(options{:});
|
|
|
|
solver.Potential = pot.trap();
|
|
|
|
|
|
|
|
%-% Run Solver %-%
|
|
|
|
[Params, Transf, psi, V, VDk] = solver.run();
|
|
|
|
|
2025-01-30 22:50:50 +01:00
|
|
|
%% v_z = 750, theta = 15: a_s = 72.5
|
2025-01-28 18:05:37 +01:00
|
|
|
|
|
|
|
OptionsStruct = struct;
|
|
|
|
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.NumberOfAtoms = 61250;
|
|
|
|
OptionsStruct.DipolarPolarAngle = deg2rad(15);
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.DipolarAzimuthAngle = 0;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.ScatteringLength = 72.5;
|
2025-01-28 18:05:37 +01:00
|
|
|
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.TrapFrequencies = [0, 0, 750];
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.TrapPotentialType = 'None';
|
|
|
|
|
|
|
|
OptionsStruct.NumberOfGridPoints = [128, 128];
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.Dimensions = [7, 7];
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.TimeStepSize = 0.005; % in s
|
|
|
|
OptionsStruct.MinimumTimeStepSize = 1E-5; % in s
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.TimeCutOff = 2E6; % in s
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.EnergyTolerance = 5E-10;
|
|
|
|
OptionsStruct.ResidualTolerance = 1E-05;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.NoiseScaleFactor = 0.05;
|
2025-01-28 18:05:37 +01:00
|
|
|
|
|
|
|
OptionsStruct.MaxIterations = 10;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.VariationalWidth = 2;
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.WidthLowerBound = 0.01;
|
|
|
|
OptionsStruct.WidthUpperBound = 12;
|
|
|
|
OptionsStruct.WidthCutoff = 5e-3;
|
|
|
|
|
|
|
|
OptionsStruct.PlotLive = false;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.JobNumber = 2;
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.RunOnGPU = true;
|
|
|
|
OptionsStruct.SaveData = true;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.SaveDirectory = './Results/Data_TiltingOfDipoles/AdjustedSystemSize/Hz750';
|
2025-01-28 18:05:37 +01:00
|
|
|
options = Helper.convertstruct2cell(OptionsStruct);
|
|
|
|
clear OptionsStruct
|
|
|
|
|
|
|
|
solver = VariationalSolver2D.DipolarGas(options{:});
|
|
|
|
pot = VariationalSolver2D.Potentials(options{:});
|
|
|
|
solver.Potential = pot.trap();
|
|
|
|
|
|
|
|
%-% Run Solver %-%
|
|
|
|
[Params, Transf, psi, V, VDk] = solver.run();
|
|
|
|
|
2025-01-30 22:50:50 +01:00
|
|
|
%% v_z = 1000, theta = 0: a_s = 65.95
|
2025-01-28 18:05:37 +01:00
|
|
|
|
|
|
|
OptionsStruct = struct;
|
|
|
|
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.NumberOfAtoms = 45000;
|
|
|
|
OptionsStruct.DipolarPolarAngle = 0;
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.DipolarAzimuthAngle = 0;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.ScatteringLength = 65.95;
|
2025-01-28 18:05:37 +01:00
|
|
|
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.TrapFrequencies = [0, 0, 1000];
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.TrapPotentialType = 'None';
|
|
|
|
|
|
|
|
OptionsStruct.NumberOfGridPoints = [128, 128];
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.Dimensions = [6, 6];
|
|
|
|
OptionsStruct.TimeStepSize = 0.005; % in s
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.MinimumTimeStepSize = 1E-5; % in s
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.TimeCutOff = 2E6; % in s
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.EnergyTolerance = 5E-10;
|
|
|
|
OptionsStruct.ResidualTolerance = 1E-05;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.NoiseScaleFactor = 0.05;
|
2025-01-28 18:05:37 +01:00
|
|
|
|
|
|
|
OptionsStruct.MaxIterations = 10;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.VariationalWidth = 2;
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.WidthLowerBound = 0.01;
|
|
|
|
OptionsStruct.WidthUpperBound = 12;
|
|
|
|
OptionsStruct.WidthCutoff = 5e-3;
|
|
|
|
|
|
|
|
OptionsStruct.PlotLive = false;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.JobNumber = 1;
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.RunOnGPU = true;
|
|
|
|
OptionsStruct.SaveData = true;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.SaveDirectory = './Results/Data_TiltingOfDipoles/AdjustedSystemSize/Hz1000';
|
2025-01-28 18:05:37 +01:00
|
|
|
options = Helper.convertstruct2cell(OptionsStruct);
|
|
|
|
clear OptionsStruct
|
|
|
|
|
|
|
|
solver = VariationalSolver2D.DipolarGas(options{:});
|
|
|
|
pot = VariationalSolver2D.Potentials(options{:});
|
|
|
|
solver.Potential = pot.trap();
|
|
|
|
|
|
|
|
%-% Run Solver %-%
|
|
|
|
[Params, Transf, psi, V, VDk] = solver.run();
|
|
|
|
|
2025-01-30 22:50:50 +01:00
|
|
|
%% v_z = 1000, theta = 15: a_s = 67.25
|
2025-01-28 18:05:37 +01:00
|
|
|
|
|
|
|
OptionsStruct = struct;
|
|
|
|
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.NumberOfAtoms = 45000;
|
|
|
|
OptionsStruct.DipolarPolarAngle = deg2rad(15);
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.DipolarAzimuthAngle = 0;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.ScatteringLength = 67.25;
|
2025-01-28 18:05:37 +01:00
|
|
|
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.TrapFrequencies = [0, 0, 1000];
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.TrapPotentialType = 'None';
|
|
|
|
|
|
|
|
OptionsStruct.NumberOfGridPoints = [128, 128];
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.Dimensions = [6, 6];
|
|
|
|
OptionsStruct.TimeStepSize = 0.005; % in s
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.MinimumTimeStepSize = 1E-5; % in s
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.TimeCutOff = 2E6; % in s
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.EnergyTolerance = 5E-10;
|
|
|
|
OptionsStruct.ResidualTolerance = 1E-05;
|
|
|
|
OptionsStruct.NoiseScaleFactor = 0.05;
|
|
|
|
|
|
|
|
OptionsStruct.MaxIterations = 10;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.VariationalWidth = 2;
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.WidthLowerBound = 0.01;
|
|
|
|
OptionsStruct.WidthUpperBound = 12;
|
|
|
|
OptionsStruct.WidthCutoff = 5e-3;
|
|
|
|
|
|
|
|
OptionsStruct.PlotLive = false;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.JobNumber = 2;
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.RunOnGPU = true;
|
|
|
|
OptionsStruct.SaveData = true;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.SaveDirectory = './Results/Data_TiltingOfDipoles/AdjustedSystemSize/Hz1000';
|
2025-01-28 18:05:37 +01:00
|
|
|
options = Helper.convertstruct2cell(OptionsStruct);
|
|
|
|
clear OptionsStruct
|
|
|
|
|
|
|
|
solver = VariationalSolver2D.DipolarGas(options{:});
|
|
|
|
pot = VariationalSolver2D.Potentials(options{:});
|
|
|
|
solver.Potential = pot.trap();
|
|
|
|
|
|
|
|
%-% Run Solver %-%
|
|
|
|
[Params, Transf, psi, V, VDk] = solver.run();
|
|
|
|
|
2025-01-30 22:50:50 +01:00
|
|
|
%% v_z = 2000, theta = 0: a_s = 54.90
|
2025-01-28 18:05:37 +01:00
|
|
|
|
|
|
|
OptionsStruct = struct;
|
|
|
|
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.NumberOfAtoms = 31250;
|
|
|
|
OptionsStruct.DipolarPolarAngle = 0;
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.DipolarAzimuthAngle = 0;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.ScatteringLength = 54.90;
|
2025-01-28 18:05:37 +01:00
|
|
|
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.TrapFrequencies = [0, 0, 2000];
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.TrapPotentialType = 'None';
|
|
|
|
|
|
|
|
OptionsStruct.NumberOfGridPoints = [128, 128];
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.Dimensions = [5, 5];
|
|
|
|
OptionsStruct.TimeStepSize = 0.005; % in s
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.MinimumTimeStepSize = 1E-5; % in s
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.TimeCutOff = 2E6; % in s
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.EnergyTolerance = 5E-10;
|
|
|
|
OptionsStruct.ResidualTolerance = 1E-05;
|
|
|
|
OptionsStruct.NoiseScaleFactor = 0.05;
|
|
|
|
|
|
|
|
OptionsStruct.MaxIterations = 10;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.VariationalWidth = 2;
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.WidthLowerBound = 0.01;
|
|
|
|
OptionsStruct.WidthUpperBound = 12;
|
|
|
|
OptionsStruct.WidthCutoff = 5e-3;
|
|
|
|
|
|
|
|
OptionsStruct.PlotLive = false;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.JobNumber = 1;
|
|
|
|
OptionsStruct.RunOnGPU = true;
|
|
|
|
OptionsStruct.SaveData = true;
|
|
|
|
OptionsStruct.SaveDirectory = './Results/Data_TiltingOfDipoles/AdjustedSystemSize/Hz2000';
|
|
|
|
options = Helper.convertstruct2cell(OptionsStruct);
|
|
|
|
clear OptionsStruct
|
|
|
|
|
|
|
|
solver = VariationalSolver2D.DipolarGas(options{:});
|
|
|
|
pot = VariationalSolver2D.Potentials(options{:});
|
|
|
|
solver.Potential = pot.trap();
|
|
|
|
|
|
|
|
%-% Run Solver %-%
|
|
|
|
[Params, Transf, psi, V, VDk] = solver.run();
|
|
|
|
|
|
|
|
%% v_z = 2000, theta = 15: a_s = 55.5
|
|
|
|
|
|
|
|
OptionsStruct = struct;
|
|
|
|
|
|
|
|
OptionsStruct.NumberOfAtoms = 31250;
|
|
|
|
OptionsStruct.DipolarPolarAngle = deg2rad(15);
|
|
|
|
OptionsStruct.DipolarAzimuthAngle = 0;
|
|
|
|
OptionsStruct.ScatteringLength = 55.5;
|
|
|
|
|
|
|
|
OptionsStruct.TrapFrequencies = [0, 0, 2000];
|
|
|
|
OptionsStruct.TrapPotentialType = 'None';
|
|
|
|
|
|
|
|
OptionsStruct.NumberOfGridPoints = [128, 128];
|
|
|
|
OptionsStruct.Dimensions = [5, 5];
|
|
|
|
OptionsStruct.TimeStepSize = 0.005; % in s
|
|
|
|
OptionsStruct.MinimumTimeStepSize = 1E-5; % in s
|
|
|
|
OptionsStruct.TimeCutOff = 2E6; % in s
|
|
|
|
OptionsStruct.EnergyTolerance = 5E-10;
|
|
|
|
OptionsStruct.ResidualTolerance = 1E-05;
|
|
|
|
OptionsStruct.NoiseScaleFactor = 0.05;
|
|
|
|
|
|
|
|
OptionsStruct.MaxIterations = 10;
|
|
|
|
OptionsStruct.VariationalWidth = 2;
|
|
|
|
OptionsStruct.WidthLowerBound = 0.01;
|
|
|
|
OptionsStruct.WidthUpperBound = 12;
|
|
|
|
OptionsStruct.WidthCutoff = 5e-3;
|
|
|
|
|
|
|
|
OptionsStruct.PlotLive = false;
|
|
|
|
OptionsStruct.JobNumber = 2;
|
2025-01-28 18:05:37 +01:00
|
|
|
OptionsStruct.RunOnGPU = true;
|
|
|
|
OptionsStruct.SaveData = true;
|
2025-01-30 22:50:50 +01:00
|
|
|
OptionsStruct.SaveDirectory = './Results/Data_TiltingOfDipoles/AdjustedSystemSize/Hz2000';
|
2025-01-28 18:05:37 +01:00
|
|
|
options = Helper.convertstruct2cell(OptionsStruct);
|
|
|
|
clear OptionsStruct
|
|
|
|
|
|
|
|
solver = VariationalSolver2D.DipolarGas(options{:});
|
|
|
|
pot = VariationalSolver2D.Potentials(options{:});
|
|
|
|
solver.Potential = pot.trap();
|
|
|
|
|
|
|
|
%-% Run Solver %-%
|
|
|
|
[Params, Transf, psi, V, VDk] = solver.run();
|