Minor bug fixes - works fully on Helix.

This commit is contained in:
Karthik 2025-03-26 17:35:26 +01:00
parent 488c6c9f0b
commit db804b0117
2 changed files with 4 additions and 4 deletions

View File

@ -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), '.', '_'));

View File

@ -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,...