From 1b812906b333b407b45f5bec015ba06e3faa5abd Mon Sep 17 00:00:00 2001 From: Remi Lehe Date: Tue, 7 Jun 2022 10:02:56 -0700 Subject: Merge `FillBoundary` and `NodalSync` (`OneStep_nosub`, `OneStep_sub1`) (#3013) * Add argument for synchronizing nodal points * Add the option to overridesync in FillBoundaryE / FillBoundaryB * Remove explicit synchronization * Cleanup calls to nodal synchronization * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Improve const Correctness * Cleaning * Merge NodalSync and FillBoundary First Restarting the implementation from scratch. To-do: remove redundant FillBoundary calls. * Merge Only for OneStep_nosub and OneStep_sub1 * Fix Checksums of Python_wrappers * Define sync_nodal_points as WarpX Private Member Variable * Keep Calls to NodalSync for B * Keep Calls to NodalSync for F * Reset Benchmark of reduced_diags_single_precision * OneStep_sub1: Remove All Calls to NodalSync * OneStep_nosub: Remove All Calls to NodalSync * Reset Benchmark of divb_cleaning_3d Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Edoardo Zoni --- Examples/Tests/PythonWrappers/PICMI_inputs_2d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Examples/Tests/PythonWrappers/PICMI_inputs_2d.py') diff --git a/Examples/Tests/PythonWrappers/PICMI_inputs_2d.py b/Examples/Tests/PythonWrappers/PICMI_inputs_2d.py index 2f9b16952..80574ff94 100755 --- a/Examples/Tests/PythonWrappers/PICMI_inputs_2d.py +++ b/Examples/Tests/PythonWrappers/PICMI_inputs_2d.py @@ -251,7 +251,7 @@ def check_values(benchmark, data, rtol, atol): passed = np.allclose(benchmark, np.sum(np.abs(data[:,:])), rtol = rtol, atol = atol) assert(passed) -rtol = 2e-09 +rtol = 5e-08 atol = 1e-12 # E -- cgit v1.2.3