GPUE  v1.0
GPU Gross-Pitaevskii Equation numerical solver for Bose-Einstein condensates
getAngle.m
Go to the documentation of this file.
1 function [ang] = getAngle(P1,P2)
2 % Returns angle between 2 points on a plane
3 
4 ang = mod( atan2( P2(2) - P1(2),P2(1) - P1(1) ) , 2*pi );
5 
6 end
end % Calculate all n choose k pairings of points
Definition: g6_struct.m:16
tic for a
Definition: GPE_2d.m:90
hold on
dx *xDim pi()
if mod(a, 2)