From f2d6c5d9ffa04b27733987eb2e3124517579cbad Mon Sep 17 00:00:00 2001 From: roelof-groenewald <40245517+roelof-groenewald@users.noreply.github.com> Date: Mon, 7 Jun 2021 16:45:05 -0700 Subject: 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 --- Source/Python/WarpXWrappers.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/Python/WarpXWrappers.h') diff --git a/Source/Python/WarpXWrappers.h b/Source/Python/WarpXWrappers.h index 766d813c2..4dc28e150 100644 --- a/Source/Python/WarpXWrappers.h +++ b/Source/Python/WarpXWrappers.h @@ -78,6 +78,8 @@ extern "C" { void warpx_ConvertLabParamsToBoost(); + void warpx_ReadBCParams(); + void warpx_CheckGriddingForRZSpectral(); amrex::Real warpx_getProbLo(int dir); -- cgit v1.2.3