From d3db12c84eb130e7f49576c2b9f721ff5b62618e Mon Sep 17 00:00:00 2001 From: Karthik Chandrashekara Date: Fri, 15 Nov 2024 19:54:26 +0100 Subject: [PATCH] Modified the amount of noise added to psi. --- Dipolar-Gas-Simulator/+Scripts/run_locally.m | 4 ++-- Dipolar-Gas-Simulator/+VariationalSolver2D/@DipolarGas/run.m | 2 +- Dipolar-Gas-Simulator/bwhpc_matlab_gpe_sim_gpu.slurm | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dipolar-Gas-Simulator/+Scripts/run_locally.m b/Dipolar-Gas-Simulator/+Scripts/run_locally.m index 35ff4e0..34e5aef 100644 --- a/Dipolar-Gas-Simulator/+Scripts/run_locally.m +++ b/Dipolar-Gas-Simulator/+Scripts/run_locally.m @@ -6,12 +6,12 @@ OptionsStruct = struct; -OptionsStruct.NumberOfAtoms = 1.24E5; +OptionsStruct.NumberOfAtoms = 1E5; OptionsStruct.DipolarPolarAngle = 0; OptionsStruct.DipolarAzimuthAngle = 0; OptionsStruct.ScatteringLength = 86; -OptionsStruct.TrapFrequencies = [44.97, 10.4, 126.3]; +OptionsStruct.TrapFrequencies = [10, 10, 72.4]; OptionsStruct.TrapDepth = 5; OptionsStruct.BoxSize = 15; OptionsStruct.TrapPotentialType = 'Harmonic'; diff --git a/Dipolar-Gas-Simulator/+VariationalSolver2D/@DipolarGas/run.m b/Dipolar-Gas-Simulator/+VariationalSolver2D/@DipolarGas/run.m index 28fbe09..44e8464 100644 --- a/Dipolar-Gas-Simulator/+VariationalSolver2D/@DipolarGas/run.m +++ b/Dipolar-Gas-Simulator/+VariationalSolver2D/@DipolarGas/run.m @@ -47,7 +47,7 @@ function [Params, Transf, psi, V, VDk] = run(this) r = normrnd(0,1,size(psi)); theta = rand(size(psi)); noise = r.*exp(2*pi*1i*theta); - psi = psi + 4*noise; + psi = psi + 0.25*noise; % --- Run --- [psi] = this.propagateWavefunction(psi, Params, VParams, Transf, VDk, V, t_idx, Observ); diff --git a/Dipolar-Gas-Simulator/bwhpc_matlab_gpe_sim_gpu.slurm b/Dipolar-Gas-Simulator/bwhpc_matlab_gpe_sim_gpu.slurm index f5d9985..9ba4467 100644 --- a/Dipolar-Gas-Simulator/bwhpc_matlab_gpe_sim_gpu.slurm +++ b/Dipolar-Gas-Simulator/bwhpc_matlab_gpe_sim_gpu.slurm @@ -8,7 +8,7 @@ #SBATCH --gres=gpu:1 #SBATCH --mem=4G # Estimated wallclock time for job -#SBATCH --time=02:00:00 +#SBATCH --time=04:00:00 #SBATCH --job-name=simulation #SBATCH --error=simulation.err #SBATCH --output=simulation.out