Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement PML for the outer RZ boundary with PSATD #2211

Merged
merged 39 commits into from
Jan 20, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
7b98da7
Initial version of RZ PSATD PML BCs
dpgrote Aug 18, 2021
de5a72b
Cleaned up some bugs
dpgrote Aug 18, 2021
30ca30c
Add support of do_pml_in_domain option
dpgrote Aug 19, 2021
7bc35ac
Cleaned up stuff for building
dpgrote Aug 19, 2021
5f5d4c3
Fix PMLPsatdAlgorithm macro
dpgrote Aug 19, 2021
7f48397
Removed unneeded variable from SpectralSolverRZ
dpgrote Aug 20, 2021
4d41190
Merge remote-tracking branch 'ECPwarpx/development' into RZ_psatd_pml
dpgrote Aug 24, 2021
76cdfa3
Merge remote-tracking branch 'ECPwarpx/development' into RZ_psatd_pml
dpgrote Sep 1, 2021
2519c7e
Merge remote-tracking branch 'ECPwarpx/development' into RZ_psatd_pml
dpgrote Oct 11, 2021
1b1160f
Change length 3 arrays to length 2 (for 2D)
dpgrote Oct 12, 2021
3ec7931
Merge remote-tracking branch 'ECPwarpx/development' into RZ_psatd_pml
dpgrote Oct 13, 2021
a86192d
Cleanup around DampPML
dpgrote Oct 13, 2021
fe3ae84
Added more checks of pml[lev]
dpgrote Oct 13, 2021
1f54148
Added CI test for RZ PML
dpgrote Oct 13, 2021
0b9105c
Added code to update the corner guard cells
dpgrote Oct 19, 2021
47da308
Further updates
dpgrote Oct 19, 2021
862e411
Added CI test
dpgrote Oct 19, 2021
9e1cfd4
Fixed EOL space
dpgrote Oct 19, 2021
2fa0bb1
Merge remote-tracking branch 'ECPwarpx/development' into RZ_psatd_pml
dpgrote Oct 19, 2021
4747a29
Updated CI benchmarks, removing round off fields
dpgrote Oct 20, 2021
a30ba04
Changes to CI missed on previous commit
dpgrote Oct 20, 2021
0497dfb
Merge remote-tracking branch 'ECPwarpx/development' into RZ_psatd_pml
dpgrote Oct 20, 2021
80fbf99
Merge remote-tracking branch 'ECPwarpx/development' into RZ_psatd_pml
dpgrote Nov 16, 2021
d338b72
Various fixes for clean up
dpgrote Nov 16, 2021
81a22c5
More fixes for clean up
dpgrote Nov 16, 2021
7011f51
Further cleanup
dpgrote Nov 17, 2021
0e55515
Updated benchmark
dpgrote Nov 17, 2021
0f0c2c9
Fixed benchmarks file
dpgrote Nov 19, 2021
fccf166
Merge remote-tracking branch 'ECPwarpx/development' into RZ_psatd_pml
dpgrote Nov 19, 2021
576b135
Minor cleanup
dpgrote Nov 24, 2021
9c2adcc
Added round off benchmark values
dpgrote Nov 24, 2021
a736c35
Fixed testname in analysis_pml_psatd_rz.py
dpgrote Nov 24, 2021
9c15106
Update comment in analysis file
dpgrote Nov 29, 2021
693f903
Merge branch 'development' into RZ_psatd_pml
RemiLehe Dec 6, 2021
47d762f
Put pml_rz code in RZ and PSATD macro blocks
dpgrote Dec 6, 2021
aae6a9c
Merge remote-tracking branch 'ECPwarpx/development' into RZ_psatd_pml
dpgrote Jan 10, 2022
1824ae2
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 10, 2022
edd8041
Add geometry.dims input to CI test input file, inputs_rz
dpgrote Jan 11, 2022
76d85ea
Cleanup to match recent changes
dpgrote Jan 12, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Changes to CI missed on previous commit
  • Loading branch information
dpgrote committed Oct 20, 2021
commit a30ba04025437f4037e0e6dd50f8c1fdfd13b029
5 changes: 1 addition & 4 deletions Examples/Tests/PML/analysis_pml_psatd_rz.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,12 @@
# Check that the field is low enough
ad0 = ds.covering_grid(level=0, left_edge=ds.domain_left_edge, dims=ds.domain_dimensions)
Ex_array = ad0['boxlib', 'Ex'].to_ndarray()
Ey_array = ad0['boxlib', 'Ey'].to_ndarray()
Ez_array = ad0['boxlib', 'Ez'].to_ndarray()
max_Ex = np.abs(Ex_array).max()
max_Ey = np.abs(Ey_array).max()
max_Ez = np.abs(Ez_array).max()
print( f'max Ex = {max_Ex}' )
print( f'max Ey = {max_Ey}' )
print( f'max Ez = {max_Ez}' )
max_Efield = max(max_Ex, max_Ey, max_Ez)
max_Efield = max(max_Ex, max_Ez)

tolerance_abs = 2.
print('tolerance_abs: ' + str(tolerance_abs))
Expand Down
1 change: 1 addition & 0 deletions Examples/Tests/PML/inputs_rz
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ electron.single_particle_weight = 1.
#################################
diagnostics.diags_names = diag1
diag1.intervals = 500
diag1.fields_to_plot = Ex Ez By
EZoni marked this conversation as resolved.
Show resolved Hide resolved
diag1.diag_type = Full