aboutsummaryrefslogtreecommitdiff
path: root/Examples/Physics_applications
diff options
context:
space:
mode:
authorGravatar Revathi Jambunathan <41089244+RevathiJambunathan@users.noreply.github.com> 2021-04-15 00:00:44 -0700
committerGravatar GitHub <noreply@github.com> 2021-04-15 00:00:44 -0700
commit23021844da6185d6fa28fc81bf84b15f7e566fb2 (patch)
treeb5657c3215d2889611dc5682cf6b1b65f2d355a3 /Examples/Physics_applications
parent6b8894a72a5109ddfef5260192fb8111f5d6ee13 (diff)
downloadWarpX-23021844da6185d6fa28fc81bf84b15f7e566fb2.tar.gz
WarpX-23021844da6185d6fa28fc81bf84b15f7e566fb2.tar.zst
WarpX-23021844da6185d6fa28fc81bf84b15f7e566fb2.zip
Boundary Condition : Interface with existing PML (#1768)
* Read boundary and set periodicity, enumerate BC types, added support for periodic * separate particle and field boudnary structs * Update comment for particle struct * default pml is 0, and reset lo, hi, and do_pml to 1 * turn on pml for MR * eol * remove duplication * resolving commit conflict * explicitly setting pml_HI_MR * default pml lo and hi to 0, and set MR pml lo and hi to the domain values if fine patch coincides with domain boundary * set lo and hi flag for pml when do pml = 1 and domain is non-periodic * remove commented line * add doc * Update Source/Utils/WarpXUtil.cpp remove empty line * Apply suggestions from code review Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> * Update Docs/source/usage/parameters.rst lower case for input * add do_pml flags for IonAcc2d and PlasmaMirror * add pml = true in PICMI for gaussian beam and plasma acceleration * pml is the default field BC * adding temporary defaults for field and particle BC using periodicity * fix temp initialization * set default to pec if input sets pml to 0 * fix typo * logic for both old and new pml interface * fix eol * change examples to original pml input with default values * Update Docs/source/usage/parameters.rst Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> * fix comments Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> * Docs: fix .rst list Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
Diffstat (limited to 'Examples/Physics_applications')
-rw-r--r--Examples/Physics_applications/laser_ion/inputs2
-rw-r--r--Examples/Physics_applications/plasma_acceleration/PICMI_inputs_plasma_acceleration.py1
-rw-r--r--Examples/Physics_applications/plasma_mirror/inputs_2d2
3 files changed, 2 insertions, 3 deletions
diff --git a/Examples/Physics_applications/laser_ion/inputs b/Examples/Physics_applications/laser_ion/inputs
index 7da3dbcad..94407c00b 100644
--- a/Examples/Physics_applications/laser_ion/inputs
+++ b/Examples/Physics_applications/laser_ion/inputs
@@ -25,7 +25,7 @@ amr.n_cell = 2688 3712
amr.max_level = 0
geometry.prob_lo = -7.5e-6 -5.e-6
geometry.prob_hi = 7.5e-6 25.e-6
-geometry.is_periodic = 0 0 0 # non-periodic (default)
+geometry.is_periodic = 0 0 # non-periodic (default)
# macro-particle shape
interpolation.nox = 3
diff --git a/Examples/Physics_applications/plasma_acceleration/PICMI_inputs_plasma_acceleration.py b/Examples/Physics_applications/plasma_acceleration/PICMI_inputs_plasma_acceleration.py
index 07662ce3a..5cb17ece5 100644
--- a/Examples/Physics_applications/plasma_acceleration/PICMI_inputs_plasma_acceleration.py
+++ b/Examples/Physics_applications/plasma_acceleration/PICMI_inputs_plasma_acceleration.py
@@ -72,4 +72,3 @@ sim.add_diagnostic(part_diag)
# Alternatively, sim.step will run WarpX, controlling it from Python
sim.step()
-
diff --git a/Examples/Physics_applications/plasma_mirror/inputs_2d b/Examples/Physics_applications/plasma_mirror/inputs_2d
index f4c33d379..7bba3b677 100644
--- a/Examples/Physics_applications/plasma_mirror/inputs_2d
+++ b/Examples/Physics_applications/plasma_mirror/inputs_2d
@@ -7,7 +7,7 @@ amr.max_grid_size = 128
amr.blocking_factor = 32
amr.max_level = 0
geometry.coord_sys = 0 # 0: Cartesian
-geometry.is_periodic = 0 0 0 # Is periodic?
+geometry.is_periodic = 0 0 # Is periodic?
geometry.prob_lo = -100.e-6 0. # physical domain
geometry.prob_hi = 100.e-6 100.e-6
warpx.verbose = 1