-
Notifications
You must be signed in to change notification settings - Fork 1
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
Ghost zone handling #1
Comments
I was able to reproduce with the a001930 (second most recent commit of the parthenon-frontend branch) but the latest version fails with the following traceback Unroll
edit: this failure appears to be random, looks like a race condition involving the garbage collector? |
This is really puzzling. I suspect this may not even be a bug in your frontend, and I want to try to reproduce this with a different, well established frontend (possibly by hacking it so that every datasets look like they have a much thinner dimension), but I'll do that tomorrow. |
One thing I was able to elucidate is why your example plots have
which forces "code" units unless it is explicitly overiden. This pattern is uncommon enough that I didn't know about it. It's fine that you're using it as long as you understand the repercussions :) |
I don't know what this code does either, it's a hold over from the Athena++ frontend. Athena++ had no concept of units using code units everywhere, Parthenon (or at least AthenaPK) uses code units internally but allows defining a unit system for the sake of setting constants. I suspect that this parameter in our yt frontend is not desired. |
Yes, sounds like you don't need it |
Bug report
Bug summary
Gradient fields in 2D simulations depend on the extends of the the third dimension.
Example data is a 2D magnetic field loop (density and velocities are uniform, but there's a circular magnetic field configuration in the center of the domain).
2D data with 128x64x1 grid points. They only differ in the defined "z" extends (which, according to my expectation, should not matter in this 2D setup).
Dataset A: http://use.yt/upload/4fd39e12 (z extends going from -0.0078125 to 0.0078125)
Dataset B: http://use.yt/upload/90ac4d9b (z extends going from -1 to 1)
Code for reproduction
Actual outcome
(dataset A)
Expected outcome
(dataset B)
Version Information
main
withparthenon-frontend
branch hereThe text was updated successfully, but these errors were encountered: