GPUE  v1.0
GPU Gross-Pitaevskii Equation numerical solver for Bose-Einstein condensates
loadVtx.m File Reference

Go to the source code of this file.

Functions

% Check if a vortex vanishes (goes outside the boundary) over % the course of the simulations. If so
 
else count (ii/1000)
 
 vorts (count(ii/1000), ii/1000).x
 

Variables

 function [vorts]
 
and structures them % into Matlab structs for Vortex position and index % start step and fin are the initial dataset
 
and structures them % into Matlab structs for Vortex position and index % start step and fin are the initial step size
 
and structures them % into Matlab structs for Vortex position and index % start step and fin are the initial step and final % dataset to load for the vortex postions % lostCheck turns on the ability to test for vortex losses and ensure % that these vortices do not contribute to the dataset % The Data should be in the format of [X Y Sign UID IsLost] % vorts =zeros(1,1,2)
 
 a =zeros(2,1)
 
 steps =start:step:fin
 
vtxLost count =0
 
vtxLost idx =[]
 
% Check if a vortex we can choose to discard it % This is indicated by a in the column
 
% Check if a vortex we can choose to discard it % This is indicated by a in the whose UID is then tagged if lostCheck
 
for jj
 
end % Arrange vortices in appropriate ordering and structuring for % trajectory plotting which are return by vorts data structure for ii
 
 f =csvread(strcat(strcat('vort_ord_',int2str(ii)),'.csv'),0,0)
 

Function Documentation

◆ count()

else count ( ii 1000)

◆ vanishes()

% Check if a vortex vanishes ( goes outside the  boundary)

◆ vorts()

vorts ( count(ii/1000)  ,
ii 1000 
)

Variable Documentation

◆ a

a =zeros(2,1)

Definition at line 11 of file loadVtx.m.

◆ column

% Check if a vortex we can choose to discard it % This is indicated by a in the column

Definition at line 19 of file loadVtx.m.

◆ count

end end end vtxLost count =0

Definition at line 14 of file loadVtx.m.

Referenced by main().

◆ dataset

and structures them % into Matlab structs for Vortex position and index % start step and fin are the initial dataset

Definition at line 1 of file loadVtx.m.

◆ f

f =csvread(strcat(strcat('vort_ord_',int2str(ii)),'.csv'),0,0)

Definition at line 36 of file loadVtx.m.

◆ function

function[vorts]
Initial value:
= loadVtx(start, step, fin, lostCheck)
%loads the processed vorts from the output of vort.py
% Check if a vortex we can choose to discard it % This is indicated by a in the whose UID is then tagged if lostCheck
Definition: loadVtx.m:20
Definition: vort.py:1
and structures them % into Matlab structs for Vortex position and index % start step and fin are the initial step and final % dataset to load for the vortex postions % lostCheck turns on the ability to test for vortex losses and ensure % that these vortices do not contribute to the dataset % The Data should be in the format of [X Y Sign UID IsLost] % vorts
Definition: loadVtx.m:10

Definition at line 1 of file loadVtx.m.

◆ idx

vtxLost idx =[]

Definition at line 15 of file loadVtx.m.

◆ ii

end % Arrange vortices in appropriate ordering and structuring for % trajectory plotting which are return by vorts data structure for ii
Initial value:
count((ii/1000))=0
end % Arrange vortices in appropriate ordering and structuring for % trajectory plotting which are return by vorts data structure for ii
Definition: loadVtx.m:34
steps
Definition: loadVtx.m:12
vtxLost count
Definition: loadVtx.m:14

Definition at line 34 of file loadVtx.m.

◆ jj

for jj
Initial value:
=1:size(f,1)
if f(jj,5) == 0
vtxLost.idx = union(vtxLost.idx,f(jj,4))
end if(length(DT.vertexAttachments{ii})==5) if plotit plot(x(ii)
and structures them % into Matlab structs for Vortex position and index % start step and fin are the initial step size
Definition: loadVtx.m:1
vtxLost idx
Definition: loadVtx.m:15
for jj
Definition: loadVtx.m:23
f
Definition: loadVtx.m:36

Definition at line 23 of file loadVtx.m.

◆ lostCheck

% Check if a vortex we can choose to discard it % This is indicated by a in the whose UID is then tagged if lostCheck
Initial value:
==1
for ii=steps
f=csvread(strcat(strcat('vort_ord_',int2str(ii)),'.csv'),0,0)
end % Arrange vortices in appropriate ordering and structuring for % trajectory plotting which are return by vorts data structure for ii
Definition: loadVtx.m:34
steps
Definition: loadVtx.m:12
f
Definition: loadVtx.m:36

Definition at line 20 of file loadVtx.m.

◆ size

and structures them % into Matlab structs for Vortex position and index % start step and fin are the initial step size

Definition at line 1 of file loadVtx.m.

◆ steps

steps =start:step:fin

Definition at line 12 of file loadVtx.m.

◆ vorts

vorts =zeros(1,1,2)

Definition at line 10 of file loadVtx.m.