diff --git a/Dipolar-Gas-Simulator/+Scripts/run_on_cluster.m b/Dipolar-Gas-Simulator/+Scripts/run_on_cluster.m index ffa5568..5f558fd 100644 --- a/Dipolar-Gas-Simulator/+Scripts/run_on_cluster.m +++ b/Dipolar-Gas-Simulator/+Scripts/run_on_cluster.m @@ -50,7 +50,7 @@ OptionsStruct.ScatteringLength = 85; AspectRatio = 3.7; HorizontalTrapFrequency = 125; -VerticalTrapFrequency = 125; +VerticalTrapFrequency = AspectRatio * HorizontalTrapFrequency; OptionsStruct.TrapFrequencies = [HorizontalTrapFrequency, HorizontalTrapFrequency, VerticalTrapFrequency]; OptionsStruct.TrapPotentialType = 'Harmonic'; @@ -66,7 +66,7 @@ OptionsStruct.ResidualTolerance = 1E-05; OptionsStruct.NoiseScaleFactor = 0.05; OptionsStruct.PlotLive = false; -OptionsStruct.JobNumber = 0; +OptionsStruct.JobNumber = 1; OptionsStruct.RunOnGPU = true; OptionsStruct.SaveData = true; OptionsStruct.SaveDirectory = sprintf('./Results/Data_3D/AspectRatio%s', strrep(num2str(AspectRatio), '.', '_')); diff --git a/Dipolar-Gas-Simulator/+Simulator/@DipolarGas/DipolarGas.m b/Dipolar-Gas-Simulator/+Simulator/@DipolarGas/DipolarGas.m index e565889..f3b8693 100644 --- a/Dipolar-Gas-Simulator/+Simulator/@DipolarGas/DipolarGas.m +++ b/Dipolar-Gas-Simulator/+Simulator/@DipolarGas/DipolarGas.m @@ -73,8 +73,8 @@ classdef DipolarGas < handle & matlab.mixin.Copyable @islogical); addParameter(p, 'PlotLive', false,... @islogical); - addParameter(p, 'JobNumber', 1,... - @(x) assert(isnumeric(x) && isscalar(x) && (x > 0))); + addParameter(p, 'JobNumber', 0,... + @(x) assert(isnumeric(x) && isscalar(x) && (x >= 0))); addParameter(p, 'RunOnGPU', false,... @islogical); addParameter(p, 'DebugMode', false,...