diff options
author | 2021-11-01 19:30:05 -0700 | |
---|---|---|
committer | 2021-11-02 02:30:05 +0000 | |
commit | e459e3a519855dc96c7526ce2318573ccd74baae (patch) | |
tree | 2b6a2cad0d0ec63a7954b1285a435932cc470869 /Examples/Modules | |
parent | eddee17d75d6646619c5080b0749c16c03052902 (diff) | |
download | WarpX-e459e3a519855dc96c7526ce2318573ccd74baae.tar.gz WarpX-e459e3a519855dc96c7526ce2318573ccd74baae.tar.zst WarpX-e459e3a519855dc96c7526ce2318573ccd74baae.zip |
Introduce AMReX change of stencil for Poisson solver (#2496)
* AMReX/PICSAR: Weekly Update (#2478)
Weekly update to latest AMReX.
Weekly update to latest PICSAR (no changes).
```
./Tools/Release/updatePICSAR.py
./Tools/Release/updateAMReX.py
```
* Update benchmarks
* Update benchmarks for 3D tests
* Update benchmarks
* Update benchmark
* Update benchmark
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Diffstat (limited to 'Examples/Modules')
-rwxr-xr-x | Examples/Modules/relativistic_space_charge_initialization/analysis.py | 2 | ||||
-rwxr-xr-x | Examples/Modules/space_charge_initialization/analysis.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Examples/Modules/relativistic_space_charge_initialization/analysis.py b/Examples/Modules/relativistic_space_charge_initialization/analysis.py index b47840749..060007589 100755 --- a/Examples/Modules/relativistic_space_charge_initialization/analysis.py +++ b/Examples/Modules/relativistic_space_charge_initialization/analysis.py @@ -80,7 +80,7 @@ plt.savefig('Comparison.png') def check(E, E_th, label): print( 'Relative error in %s: %.3f'%( label, abs(E-E_th).max()/E_th.max())) - assert np.allclose( E, E_th, atol=0.1*E_th.max() ) + assert np.allclose( E, E_th, atol=0.16*E_th.max() ) check( Ex_array, Ex_th, 'Ex' ) diff --git a/Examples/Modules/space_charge_initialization/analysis.py b/Examples/Modules/space_charge_initialization/analysis.py index a9a40470d..148f65e6e 100755 --- a/Examples/Modules/space_charge_initialization/analysis.py +++ b/Examples/Modules/space_charge_initialization/analysis.py @@ -97,7 +97,7 @@ plt.savefig('Comparison.png') def check(E, E_th, label): print( 'Relative error in %s: %.3f'%( label, abs(E-E_th).max()/E_th.max())) - tolerance_rel = 0.1 + tolerance_rel = 0.14 print("tolerance_rel: " + str(tolerance_rel)) assert np.allclose( E, E_th, atol=tolerance_rel*E_th.max() ) |