CEMeNT-PSAAP / MCDC

MC/DC: Monte Carlo Dynamic Code
https://mcdc.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
25 stars 24 forks source link

Regression test stdev discrepancy when DD is active #231

Open alexandermote opened 3 months ago

alexandermote commented 3 months ago

When developing the dd_cooper 3D domain decomposition test for #230, I noticed that the regression test succeeded for mean flux, but failed for standard deviation. The values it fails by are generally very small, under 10^-16, but it's off by enough to trip the failure condition in run.py. It's entirely likely that this is some problem with the input I developed, but I was asked to create an issue to track it just to be safe.

My best guess was that it had something to do with implicit capture, which is turned on for this problem. I turned it off and it passes at 50 particles, but fails at 1000 in a similar fashion to when implicit capture is turned on.

alexandermote commented 3 months ago

Adding some details that we tracked down in the comments for #230:

alexandermote commented 2 weeks ago

Two updates to this issue that I've noticed while writing my M&C paper: