diff options
author | 2021-07-13 00:27:49 -0700 | |
---|---|---|
committer | 2021-07-13 00:27:49 -0700 | |
commit | b739ed9ccdbfeb878ead2a9d2a9ad61fbcfce35e (patch) | |
tree | 8f3891e1606f37189458c877fdefc9e51a1383d5 /Source/Utils/WarpXAlgorithmSelection.H | |
parent | 02e3b8cce573fb54253b10fc9104695d9c24b188 (diff) | |
download | WarpX-b739ed9ccdbfeb878ead2a9d2a9ad61fbcfce35e.tar.gz WarpX-b739ed9ccdbfeb878ead2a9d2a9ad61fbcfce35e.tar.zst WarpX-b739ed9ccdbfeb878ead2a9d2a9ad61fbcfce35e.zip |
Interface silver mueller (#2051)
* interface silvermueller with refactored boundary interface
* add interface in silver mueller input files
* define first and second half for EvolveB
* add do_pml parse snce RZ needs do_pml to be st to false
* Silver-Mueller boundary condition in docs
* add firsthalf in ApplyBfieldBoundary within PushPSATD as only first first half is used to apply silvermueller
* CallSilverMueller once for all boundaries
* remove unused do silvermueller flag
* fix typo in input file
* Apply suggestions from code review
Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
* abort message if silver-mueller is not selected on all valid boundaries
* fix typo
* fix eol
* remove ifdef from inside the Assert message
* check silver-mueller selection after reading all boundaries
Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
Diffstat (limited to 'Source/Utils/WarpXAlgorithmSelection.H')
-rw-r--r-- | Source/Utils/WarpXAlgorithmSelection.H | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Utils/WarpXAlgorithmSelection.H b/Source/Utils/WarpXAlgorithmSelection.H index 7ee95eff7..dd2c552a4 100644 --- a/Source/Utils/WarpXAlgorithmSelection.H +++ b/Source/Utils/WarpXAlgorithmSelection.H @@ -103,7 +103,8 @@ struct FieldBoundaryType { PMC = 3, //!< perfect magnetic conductor (PMC) with B_tangential=0 Damped = 4, // Fields in the guard cells are damped for PSATD //in the moving window direction - None = 5 // The fields values at the boundary are not updated. This is + Absorbing_SilverMueller = 5, // Silver-Mueller boundary condition + None = 6 // The fields values at the boundary are not updated. This is // useful for RZ simulations, at r=0. }; }; |