aboutsummaryrefslogtreecommitdiff
path: root/Tools/yt3d_mpi.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/yt3d_mpi.py')
-rw-r--r--Tools/yt3d_mpi.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/yt3d_mpi.py b/Tools/yt3d_mpi.py
index de6202458..f18788570 100644
--- a/Tools/yt3d_mpi.py
+++ b/Tools/yt3d_mpi.py
@@ -29,7 +29,7 @@ def jitter_shift(ds, ad, cfl, iteration):
elif maxwell_solver == 'ckc':
dt = cfl * min( [ ad['dx'][-1], ad['dy'][-1], ad['dz'][-1] ] ) / scc.c
z_front = dt * float(iteration) * scc.c + 7.5e-6*yt.units.meter
- z_shift = z_front-ds.domain_right_edge[2]
+ z_shift = z_front-ds.domain_right_edge[2]
return z_shift
def get_species_ytpoints(ad, species, color_vec):
@@ -80,7 +80,7 @@ def img_onestep(filename):
tf.add_gaussian(.04 *my_max, width=8*w, height=[1.0, 1.0, 0.2, 0.2])
tf.add_gaussian(.2 *my_max, width=5*w, height=[1.0, 1.0, 0.2, 0.5])
tf.add_gaussian(.6 *my_max, width=w, height=[1.0, 1.0, 0.0, 1.])
-
+
######################
### plot particles ###
######################
@@ -110,7 +110,7 @@ def img_onestep(filename):
sc.save('img_' + str(my_number_list[count]).zfill(4), sigma_clip=5.)
if rendering_type == 'layers':
sc.save('img_' + str(my_number_list[count]).zfill(4), sigma_clip=2.)
-
+
file_list.sort()
# Total number of files
nfiles = len(file_list)