Latest working version - seemingly reproduces Blair Blakie results.

This commit is contained in:
Karthik 2024-11-20 23:24:45 +01:00
parent 61107fd043
commit 9577bafff4
3 changed files with 11 additions and 12 deletions

View File

@ -122,6 +122,7 @@ SaveDirectory = './Data_StripePhase';
JobNumber = 2;
% Plotter.visualizeGSWavefunction2D(SaveDirectory, JobNumber)
Scripts.analyzeRun2D(SaveDirectory, JobNumber)
%% - Cluster Runs - Analysis
SaveDirectory = './Data_HoneycombPhase';
JobNumber = 3;

View File

@ -9,7 +9,7 @@
% as = ((as/add)*Params.add)/Params.a0
% Critical point: 102.5133; Triangular phase: 98.0676; Stripe phase: 100.0289; Honeycomb phase: 101.9903
%{
%% - Create Variational2D and Calculator object with specified options
OptionsStruct = struct;
@ -24,7 +24,7 @@ OptionsStruct.TrapPotentialType = 'None';
OptionsStruct.NumberOfGridPoints = [256, 256];
OptionsStruct.Dimensions = [100, 100];
OptionsStruct.TimeStepSize = 500E-6; % in s
OptionsStruct.TimeStepSize = 100E-6; % in s
OptionsStruct.MinimumTimeStepSize = 1E-5; % in s
OptionsStruct.TimeCutOff = 2E6; % in s
OptionsStruct.EnergyTolerance = 5E-10;
@ -34,8 +34,8 @@ OptionsStruct.NoiseScaleFactor = 4;
OptionsStruct.MaxIterations = 20;
OptionsStruct.VariationalWidth = 5.7;
OptionsStruct.WidthLowerBound = 0.2;
OptionsStruct.WidthUpperBound = 12;
OptionsStruct.WidthCutoff = 1e-2;
OptionsStruct.WidthUpperBound = 20;
OptionsStruct.WidthCutoff = 1e-3;
OptionsStruct.PlotLive = false;
OptionsStruct.JobNumber = 1;
@ -51,7 +51,6 @@ solver.Potential = pot.trap();
%-% Run Solver %-%
[Params, Transf, psi, V, VDk] = solver.run();
%}
%% - Create Variational2D and Calculator object with specified options
@ -94,7 +93,7 @@ solver.Potential = pot.trap();
%-% Run Solver %-%
[Params, Transf, psi, V, VDk] = solver.run();
%{
%% - Create Variational2D and Calculator object with specified options
OptionsStruct = struct;
@ -109,7 +108,7 @@ OptionsStruct.TrapPotentialType = 'None';
OptionsStruct.NumberOfGridPoints = [256, 256];
OptionsStruct.Dimensions = [100, 100];
OptionsStruct.TimeStepSize = 500E-6; % in s
OptionsStruct.TimeStepSize = 100E-6; % in s
OptionsStruct.MinimumTimeStepSize = 1E-5; % in s
OptionsStruct.TimeCutOff = 2E6; % in s
OptionsStruct.EnergyTolerance = 5E-10;
@ -119,8 +118,8 @@ OptionsStruct.NoiseScaleFactor = 4;
OptionsStruct.MaxIterations = 20;
OptionsStruct.VariationalWidth = 5.7;
OptionsStruct.WidthLowerBound = 0.2;
OptionsStruct.WidthUpperBound = 12;
OptionsStruct.WidthCutoff = 1e-2;
OptionsStruct.WidthUpperBound = 20;
OptionsStruct.WidthCutoff = 1e-3;
OptionsStruct.PlotLive = false;
OptionsStruct.JobNumber = 3;
@ -135,5 +134,4 @@ pot = VariationalSolver2D.Potentials(options{:
solver.Potential = pot.trap();
%-% Run Solver %-%
[Params, Transf, psi, V, VDk] = solver.run();
%}
[Params, Transf, psi, V, VDk] = solver.run();

View File

@ -8,7 +8,7 @@
#SBATCH --gres=gpu:A100:1
#SBATCH --mem=8G
# Estimated wallclock time for job
#SBATCH --time=5:00:00
#SBATCH --time=16:00:00
#SBATCH --job-name=simulation
#SBATCH --error=simulation.err
#SBATCH --output=simulation.out