![]() |
GPUE
v1.0
GPU Gross-Pitaevskii Equation numerical solver for Bose-Einstein condensates
|
Functions | |
void | phaseWinding (double *phi, int winding, double *x, double *y, double dx, double dy, double posx, double posy, int dim) |
Generate phase winding for condensate imprint. More... | |
void | phaseWinding (double *phi, int winding, double *x, double *y, double dx, double dy, double *posx, double *posy, int sites, int dim) |
Generate phase winding for condensate imprint, multiple locations. More... | |
void | applyPhase (double *phi, double2 *wfc, int dim) |
Applies the generated phase to the wavefunction. More... | |
void WFC::applyPhase | ( | double * | phi, |
double2 * | wfc, | ||
int | dim | ||
) |
Applies the generated phase to the wavefunction.
phi | Array to pass the phase profile by reference |
wfc | Wavefunction to receive the phase imprint |
dim | Length of X and Y dimension. Assumes square grid. |
void WFC::phaseWinding | ( | double * | phi, |
int | winding, | ||
double * | x, | ||
double * | y, | ||
double | dx, | ||
double | dy, | ||
double | posx, | ||
double | posy, | ||
int | dim | ||
) |
Generate phase winding for condensate imprint.
phi | Array to pass the phase profile by reference |
winding | How many units of circulation. $2 winding$ |
x | X-space grid |
y | Y-space grid |
dx | Increment along X |
dy | Increment along Y |
posx | Location of phase singularity (centre), x position |
posy | Location of phase singularity (centre), y position |
dim | Length of X and Y dimension. Assumes square grid. |
void WFC::phaseWinding | ( | double * | phi, |
int | winding, | ||
double * | x, | ||
double * | y, | ||
double | dx, | ||
double | dy, | ||
double * | posx, | ||
double * | posy, | ||
int | sites, | ||
int | dim | ||
) |
Generate phase winding for condensate imprint, multiple locations.
phi | Array to pass the phase profile by reference |
winding | How many units of circulation. $2 winding$ |
x | X-space grid |
y | Y-space grid |
dx | Increment along X |
dy | Increment along Y |
posx | Location of phase singularities (centre), X positions |
posy | Location of phase singularities (centre), Y positions |
dim | Length of X and Y dimension. Assumes square grid. |