aboutsummaryrefslogtreecommitdiff
path: root/Examples/Modules
diff options
context:
space:
mode:
authorGravatar roelof-groenewald <40245517+roelof-groenewald@users.noreply.github.com> 2021-06-07 16:45:05 -0700
committerGravatar GitHub <noreply@github.com> 2021-06-07 16:45:05 -0700
commitf2d6c5d9ffa04b27733987eb2e3124517579cbad (patch)
treee4e76fc3787e7464a59626da9b99973e600869be /Examples/Modules
parent82b1cb5480466cb9ba582f1edbe04389bab9a32a (diff)
downloadWarpX-f2d6c5d9ffa04b27733987eb2e3124517579cbad.tar.gz
WarpX-f2d6c5d9ffa04b27733987eb2e3124517579cbad.tar.zst
WarpX-f2d6c5d9ffa04b27733987eb2e3124517579cbad.zip
Call function ReadBCParams() during python execution (#1972)
* added ReadBCParams() function call to python execution and added a test of the electrostatic solver executing from python * added separate specification of particle boundary conditions in picmi setup and adjusted the inputs for existing tests to follow the new practice * updated input for rz PICMI test and renamed the electrostatic test to follow standard practice * added arguments for particle boundary conditions to Langmuir RZ test * added dictionary to picmi.py to map from picmistandard field boundary condition specifications to that of WarpX * fixes for failing unit tests; added key, pair 'none' to picmi dictionary of field BCs * also using 'none' for upper boundary condition for RZ test Python_Langmuir_rz_multimode
Diffstat (limited to 'Examples/Modules')
-rw-r--r--Examples/Modules/gaussian_beam/PICMI_inputs_gaussian_beam.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Examples/Modules/gaussian_beam/PICMI_inputs_gaussian_beam.py b/Examples/Modules/gaussian_beam/PICMI_inputs_gaussian_beam.py
index 5be7513bb..d4b5369c7 100644
--- a/Examples/Modules/gaussian_beam/PICMI_inputs_gaussian_beam.py
+++ b/Examples/Modules/gaussian_beam/PICMI_inputs_gaussian_beam.py
@@ -27,6 +27,8 @@ grid = picmi.Cartesian3DGrid(number_of_cells = [nx, ny, nz],
upper_bound = [xmax, ymax, zmax],
lower_boundary_conditions = ['periodic', 'periodic', 'open'],
upper_boundary_conditions = ['periodic', 'periodic', 'open'],
+ lower_boundary_conditions_particles = ['periodic', 'periodic', 'absorbing'],
+ upper_boundary_conditions_particles = ['periodic', 'periodic', 'absorbing'],
warpx_max_grid_size=16)
solver = picmi.ElectromagneticSolver(grid = grid,