GPUE  v1.0
GPU Gross-Pitaevskii Equation numerical solver for Bose-Einstein condensates
en.py File Reference

Go to the source code of this file.

Namespaces

 en
 

Functions

def en.expectValueR (dataName, i, Val)
 
def en.energy_total (dataName, i)
 

Variables

 en.CPUs = os.environ['SLURM_JOB_CPUS_PER_NODE']
 
 en.prec
 
 en.c = ConfigParser.ConfigParser()
 
 en.xDim = int(c.getfloat('Params','xDim'))
 
 en.yDim = int(c.getfloat('Params','yDim'))
 
 en.gndMaxVal = int(c.getfloat('Params','gsteps'))
 
 en.evMaxVal = int(c.getfloat('Params','esteps'))
 
 en.incr = int(c.getfloat('Params','print_out'))
 
tuple en.sep = (c.getfloat('Params','dx'))
 
tuple en.dx = (c.getfloat('Params','dx'))
 
tuple en.dy = (c.getfloat('Params','dx'))
 
tuple en.dt = (c.getfloat('Params','dt'))
 
tuple en.xMax = (c.getfloat('Params','xMax'))
 
tuple en.yMax = (c.getfloat('Params','yMax'))
 
int en.num_vort = 0
 
 en.data = numpy.ndarray(shape=(xDim,yDim))
 
 en.K = np.reshape(np.array(open('K_0').read().splitlines(),dtype='f8'),(xDim,yDim))
 
 en.V = np.reshape(np.array(open('V_0').read().splitlines(),dtype='f8'),(xDim,yDim))
 
 en.X = np.array(open('x_0').read().splitlines(),dtype='f8')
 
 en.Y = np.array(open('y_0').read().splitlines(),dtype='f8')
 
 en.XM
 
 en.YM
 
tuple en.R = (XM**2+YM**2)
 
int en.macheps = 7./3. - 4./3. - 1.
 
tuple en.Q = (XM**2-YM**2)