aboutsummaryrefslogtreecommitdiff
path: root/Example/plasma_acceleration/plasma_acceleration_PICMI.py
diff options
context:
space:
mode:
authorGravatar Dave Grote <grote1@llnl.gov> 2018-07-30 15:43:03 -0700
committerGravatar Dave Grote <grote1@llnl.gov> 2018-07-30 15:43:03 -0700
commitfc784aef722c45fc4e0849b27e24b5583181e00f (patch)
tree968c28322c295966d4ebb0fad119944ba797ab19 /Example/plasma_acceleration/plasma_acceleration_PICMI.py
parentb0d78403bc8637e56e3d41edd5f39116180067eb (diff)
downloadWarpX-fc784aef722c45fc4e0849b27e24b5583181e00f.tar.gz
WarpX-fc784aef722c45fc4e0849b27e24b5583181e00f.tar.zst
WarpX-fc784aef722c45fc4e0849b27e24b5583181e00f.zip
Use codename as prefix for code specific arguments.
Diffstat (limited to 'Example/plasma_acceleration/plasma_acceleration_PICMI.py')
-rw-r--r--Example/plasma_acceleration/plasma_acceleration_PICMI.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Example/plasma_acceleration/plasma_acceleration_PICMI.py b/Example/plasma_acceleration/plasma_acceleration_PICMI.py
index 5d16a7928..0d831f3e1 100644
--- a/Example/plasma_acceleration/plasma_acceleration_PICMI.py
+++ b/Example/plasma_acceleration/plasma_acceleration_PICMI.py
@@ -23,7 +23,7 @@ grid = picmi.Cartesian3DGrid(number_of_cells = [nx, ny, nz],
lower_boundary_conditions = ['periodic', 'periodic', 'open'],
upper_boundary_conditions = ['periodic', 'periodic', 'open'],
moving_window_velocity = moving_window_velocity,
- max_grid_size=32, max_level=0, coord_sys=0)
+ warpx_max_grid_size=32, warpx_max_level=0, warpx_coord_sys=0)
solver = picmi.ElectromagneticSolver(grid=grid, cfl=1)
@@ -45,10 +45,10 @@ sim = picmi.Simulation(solver = solver,
verbose = 1,
cfl = 1.0,
max_steps = 1000,
- current_deposition_algo = 3,
- charge_deposition_algo = 0,
- field_gathering_algo = 0,
- particle_pusher_algo = 0)
+ warpx_current_deposition_algo = 3,
+ warpx_charge_deposition_algo = 0,
+ warpx_field_gathering_algo = 0,
+ warpx_particle_pusher_algo = 0)
sim.add_species(beam, layout=picmi.GriddedLayout(grid=grid, n_macroparticle_per_cell=number_per_cell_each_dim))
sim.add_species(plasma, layout=picmi.GriddedLayout(grid=grid, n_macroparticle_per_cell=number_per_cell_each_dim))