GPUE  v1.0
GPU Gross-Pitaevskii Equation numerical solver for Bose-Einstein condensates
manip.h
Go to the documentation of this file.
1 //##############################################################################
16  //##############################################################################
17 
18 #ifndef MANIP_H
19 #define MANIP_H
20 #include<cuda.h>
21 #include <math.h>
22 #include "constants.h"
23 
24 namespace WFC {
25 
39  void phaseWinding(double *phi, int winding, double *x, double *y, double dx, double dy, double posx, double posy, int dim);
40 
55  void phaseWinding(double *phi, int winding, double *x, double *y, double dx, double dy, double *posx, double *posy, int sites, int dim);
56 
64  void applyPhase(double *phi, double2 *wfc, int dim);
65 }
66 
67 #endif //MANIP_H
% % % starting wavefunction wfc
Definition: GPE_2d.m:52
tuple dy
Definition: en.py:60
tuple dx
Definition: en.py:59
Useful physical constants.
Definition: manip.h:24
void applyPhase(double *phi, double2 *wfc, int dim)
Applies the generated phase to the wavefunction.
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.