-
Notifications
You must be signed in to change notification settings - Fork 15
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
Turning on target-specific seemingly makes Stokes results worse #11
Comments
I'm playing with the Stokes tests in |
Turns out this was the expected false flag. I changed upsampling + qbx order + target specific acceleration and got the expected convergence. Just re-ran the tests more carefully and, unsurprisingly, it wasn't turning off the target specific that did the trick! I still have a PR with some simple Stokes test cases with numbers that seem to work well, so I say we should keep this open until those are in. |
The main puzzle (to me) is that target-specific should not affect Stokes at all. So even the fact that it did make a difference could be indicative of a bug. |
Just to be clear, it didn't make any difference at all when I re-ran the tests today. Not quite sure what I did the first time around, but it was probably just confusion on my part from changing more than one parameter at a time.. |
Were you using an extremely high QBX order (64-ish)? There's some fixed-size buffers in the TS implementation that would overflow if you did. That might explain a difference in the answer. There's currently no runtime checks to limit the order. It's my fault (and there's a TODO in the code to fix it). |
No, no, I was using smallish orders around 4-6. |
Closing as recommended by @alexfikl in #45 (comment). |
@alexfikl said.
The text was updated successfully, but these errors were encountered: