GPUE  v1.0
GPU Gross-Pitaevskii Equation numerical solver for Bose-Einstein condensates
WFC Namespace Reference

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...
 

Function Documentation

◆ applyPhase()

void WFC::applyPhase ( double *  phi,
double2 *  wfc,
int  dim 
)

Applies the generated phase to the wavefunction.

Parameters
phiArray to pass the phase profile by reference
wfcWavefunction to receive the phase imprint
dimLength of X and Y dimension. Assumes square grid.

◆ phaseWinding() [1/2]

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.

Parameters
phiArray to pass the phase profile by reference
windingHow many units of circulation. $2 winding$
xX-space grid
yY-space grid
dxIncrement along X
dyIncrement along Y
posxLocation of phase singularity (centre), x position
posyLocation of phase singularity (centre), y position
dimLength of X and Y dimension. Assumes square grid.

◆ phaseWinding() [2/2]

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.

Parameters
phiArray to pass the phase profile by reference
windingHow many units of circulation. $2 winding$
xX-space grid
yY-space grid
dxIncrement along X
dyIncrement along Y
posxLocation of phase singularities (centre), X positions
posyLocation of phase singularities (centre), Y positions
dimLength of X and Y dimension. Assumes square grid.
Todo:
Not yet implemented!!!