![]() |
GPUE
v1.0
GPU Gross-Pitaevskii Equation numerical solver for Bose-Einstein condensates
|
Go to the source code of this file.
Variables | |
| function [neighbours, locations] | |
| Y within radius | r = sqrt(bsxfun(@minus,pos(1),X).^2 + bsxfun(@minus,pos(2),Y).^2) |
| locations = find(r < radius & r~=0) | |
| neighbours = [X(locations) Y(locations)] | |
| function[neighbours, locations] |