-
Notifications
You must be signed in to change notification settings - Fork 629
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
Add a test case for fix_boundary_sources #2036
Comments
I would suggest a simpler test.
|
When the number of processes is too small,
The comparison is as follows. In the second figure, the relative difference is defined as The code is as follows, which has the same setup as above.
|
To run this in serial and parallel in the same script, do: # set up simulation
mp.divide_parallel_processes(mp.count_processes())
# run simulation in serial
mp.end_divide_parallel()
# reset simulation and re-run it in parallel
# compare |
@mawc2019, would be good to add a test case for #1959 (that fails on CI without this PR).
The text was updated successfully, but these errors were encountered: