Skip to content
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

AMR rendering issues #204

Open
matthewturk opened this issue Aug 4, 2020 · 3 comments
Open

AMR rendering issues #204

matthewturk opened this issue Aug 4, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@matthewturk
Copy link
Contributor

I'm running the system with an AMR dataset, and I'm getting some results that confuse me somewhat. I have a suspicion why they are doing what they are doing, but I cannot yet verify this.

To set the stage, I've loaded up a "fake" AMR dataset using yt.testing.fake_amr_ds(geometry = "spherical") and I'm rendering the field "ones".

With a random normal, [0.18617054, 0.15260178, 0.83324573], I get an image that looks like the attached. The min/max are 0 and 3.971; this is just under what I'd expect the max to be (4.0, for through-the-center).

hi_random

The AMR grids are well-defined, and the total enclosed volume is correct. It looks to me, however, like it's not fully traversing some of the grids. I am not sure if this is because they need to be entered by rays twice (which is definitely possible), but I am working on figuring that out. So I will get back to you. I just wanted to give an update.

I'm starting to suspect that I'll need to use the walkSphericalVolume function to compute the order of traversal for the grids.

@matthewturk matthewturk added the bug Something isn't working label Aug 4, 2020
@cgyurgyik
Copy link
Contributor

Thanks for the update. I'll follow this; please let me know if you have any questions in regards to walkSphericalVolume.

@ak-2485
Copy link
Contributor

ak-2485 commented Aug 7, 2020

Hi Matt. To be clear, you are expecting a completely symmetric image? What are num_polar_sections and num_azimuthal_sections here? And, what are the min and max bounds used?

@matthewturk
Copy link
Contributor Author

matthewturk commented Aug 7, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants