GPUE
v1.0
GPU Gross-Pitaevskii Equation numerical solver for Bose-Einstein condensates
|
Functions | |
def | image_gen_single (dataName, value, imgdpi, opmode, x_dat, cbarOn=True, plot_vtx=False) |
Variables | |
int | CPUs = 1 |
prec | |
c = ConfigParser.ConfigParser() | |
int | maxDensityVal = 5e7 |
xDim = int(c.getfloat('Params','xDim')) | |
yDim = int(c.getfloat('Params','yDim')) | |
gndMaxVal = int(c.getfloat('Params','gsteps')) | |
evMaxVal = int(c.getfloat('Params','esteps')) | |
incr = int(c.getfloat('Params','printSteps')) | |
tuple | sep = (c.getfloat('Params','dx')) |
tuple | dx = (c.getfloat('Params','dx')) |
tuple | dt = (c.getfloat('Params','dt')) |
tuple | xMax = (c.getfloat('Params','xMax')) |
tuple | yMax = (c.getfloat('Params','yMax')) |
int | num_vort = 0 |
data = numpy.ndarray(shape=(xDim,yDim)) | |
string | cbarOn = 'true' |
string | plot_vtx = 'true' |
list | gndImgList = [] |
list | evImgList = [] |
x_coord = np.loadtxt('x_0', unpack=True) | |
comm = MPI.COMM_WORLD | |
size = comm.size | |
rank = comm.rank | |
arrG = np.array_split( xrange(0,gndMaxVal,incr), size) | |
arrE = np.array_split( xrange(0,evMaxVal,incr), size) | |
list | i = gndImgList.pop() |
vis.py - GPUE: Split Operator based GPU solver for Nonlinear Schrodinger Equation, Copyright (C) 2011-2018, Lee J. O'Riordan <loriordan@gmail.com>, Tadhg Morgan, Neil Crowley. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
def mpi_vis.image_gen_single | ( | dataName, | |
value, | |||
imgdpi, | |||
opmode, | |||
x_dat, | |||
cbarOn = True , |
|||
plot_vtx = False |
|||
) |
Definition at line 79 of file mpi_vis.py.
Definition at line 158 of file mpi_vis.py.
Definition at line 157 of file mpi_vis.py.
mpi_vis.c = ConfigParser.ConfigParser() |
Definition at line 56 of file mpi_vis.py.
string mpi_vis.cbarOn = 'true' |
Definition at line 146 of file mpi_vis.py.
mpi_vis.comm = MPI.COMM_WORLD |
Definition at line 152 of file mpi_vis.py.
int mpi_vis.CPUs = 1 |
Definition at line 35 of file mpi_vis.py.
Definition at line 77 of file mpi_vis.py.
tuple mpi_vis.dt = (c.getfloat('Params','dt')) |
Definition at line 72 of file mpi_vis.py.
tuple mpi_vis.dx = (c.getfloat('Params','dx')) |
Definition at line 71 of file mpi_vis.py.
list mpi_vis.evImgList = [] |
Definition at line 149 of file mpi_vis.py.
mpi_vis.evMaxVal = int(c.getfloat('Params','esteps')) |
Definition at line 68 of file mpi_vis.py.
list mpi_vis.gndImgList = [] |
Definition at line 148 of file mpi_vis.py.
mpi_vis.gndMaxVal = int(c.getfloat('Params','gsteps')) |
Definition at line 67 of file mpi_vis.py.
list mpi_vis.i = gndImgList.pop() |
Definition at line 168 of file mpi_vis.py.
mpi_vis.incr = int(c.getfloat('Params','printSteps')) |
Definition at line 69 of file mpi_vis.py.
int mpi_vis.maxDensityVal = 5e7 |
Definition at line 63 of file mpi_vis.py.
int mpi_vis.num_vort = 0 |
Definition at line 75 of file mpi_vis.py.
string mpi_vis.plot_vtx = 'true' |
Definition at line 147 of file mpi_vis.py.
mpi_vis.prec |
Definition at line 55 of file mpi_vis.py.
mpi_vis.rank = comm.rank |
Definition at line 154 of file mpi_vis.py.
tuple mpi_vis.sep = (c.getfloat('Params','dx')) |
Definition at line 70 of file mpi_vis.py.
mpi_vis.size = comm.size |
Definition at line 153 of file mpi_vis.py.
Referenced by main().
mpi_vis.x_coord = np.loadtxt('x_0', unpack=True) |
Definition at line 150 of file mpi_vis.py.
mpi_vis.xDim = int(c.getfloat('Params','xDim')) |
Definition at line 65 of file mpi_vis.py.
tuple mpi_vis.xMax = (c.getfloat('Params','xMax')) |
Definition at line 73 of file mpi_vis.py.
mpi_vis.yDim = int(c.getfloat('Params','yDim')) |
Definition at line 66 of file mpi_vis.py.
tuple mpi_vis.yMax = (c.getfloat('Params','yMax')) |
Definition at line 74 of file mpi_vis.py.