WarpX
Functions | Variables
yt3d_mpi Namespace Reference

Functions

def jitter_shift (ds, ad, cfl, iteration)
 
def get_species_ytpoints (ad, species, color_vec)
 
def img_onestep (filename)
 

Variables

int my_max = 5.e10
 
list species_to_plot = ['plasma_e', 'beam', 'driver']
 
dictionary species_colors
 
bool use_moving_window = True
 
bool plot_mr_patch = False
 
string rendering_type = 'layers'
 
string maxwell_solver = 'ckc'
 
float cfl = 0.99
 
 file_list = glob.glob('plotfiles/plt?????')
 
tuple bounds = ( -my_max, my_max )
 
int z_shift = 0.
 
tuple w = (.01*my_max)**2
 
 nfiles = len(file_list)
 
 number_list = range(nfiles)
 
 comm_world = MPI.COMM_WORLD
 
 me = comm_world.Get_rank()
 
 nrank = comm_world.Get_size()
 
 my_list = file_list[ (me*nfiles)/nrank : ((me+1)*nfiles)/nrank ]
 
 my_number_list = number_list[ (me*nfiles)/nrank : ((me+1)*nfiles)/nrank ]
 

Function Documentation

◆ get_species_ytpoints()

def yt3d_mpi.get_species_ytpoints (   ad,
  species,
  color_vec 
)

◆ img_onestep()

def yt3d_mpi.img_onestep (   filename)

◆ jitter_shift()

def yt3d_mpi.jitter_shift (   ds,
  ad,
  cfl,
  iteration 
)

Variable Documentation

◆ bounds

tuple yt3d_mpi.bounds = ( -my_max, my_max )

◆ cfl

float yt3d_mpi.cfl = 0.99

◆ comm_world

yt3d_mpi.comm_world = MPI.COMM_WORLD

◆ file_list

yt3d_mpi.file_list = glob.glob('plotfiles/plt?????')

◆ maxwell_solver

string yt3d_mpi.maxwell_solver = 'ckc'

◆ me

yt3d_mpi.me = comm_world.Get_rank()

◆ my_list

yt3d_mpi.my_list = file_list[ (me*nfiles)/nrank : ((me+1)*nfiles)/nrank ]

◆ my_max

int yt3d_mpi.my_max = 5.e10

◆ my_number_list

yt3d_mpi.my_number_list = number_list[ (me*nfiles)/nrank : ((me+1)*nfiles)/nrank ]

◆ nfiles

yt3d_mpi.nfiles = len(file_list)

◆ nrank

yt3d_mpi.nrank = comm_world.Get_size()

◆ number_list

yt3d_mpi.number_list = range(nfiles)

◆ plot_mr_patch

bool yt3d_mpi.plot_mr_patch = False

◆ rendering_type

string yt3d_mpi.rendering_type = 'layers'

◆ species_colors

dictionary yt3d_mpi.species_colors
Initial value:
1 = { 'plasma_e': [1., 1., 1., .15],
2  'beam' : [1., 1., 1., .2 ],
3  'driver' : [1., 1., 1., .2 ] }

◆ species_to_plot

list yt3d_mpi.species_to_plot = ['plasma_e', 'beam', 'driver']

◆ use_moving_window

bool yt3d_mpi.use_moving_window = True

◆ w

tuple yt3d_mpi.w = (.01*my_max)**2

◆ z_shift

int yt3d_mpi.z_shift = 0.