How are unrefined areas handled when plotting AMR data?

Hi all, I’m wondering when I plot AMR data with a refinement level of say 3, how are the under-refined regions handled? My guess is interpolation/extrapolation but I haven’t been able to confirm this so I thought I’d ask. Thanks in advance! Santiago Erazo Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

Hi Santiago, The unrefined regions are plotted using nearest neighbor interpolation with an additional step of blending at places where grid cell boundaries and pixel boundaries don't overlap. yt doesn't do any linear interpolation on unrefined zones; you are seeing the exact values. This occurs inside what yt calls the pixelization routines, and you can see the primary implementation in the yt codebase in cython in yt/utilities/lib/pixelization_routines.pyx in pixelize_cartesian. -Matt On Thu, Jan 5, 2023 at 1:06 AM Santiago Erazo Papagayo <serazo@uccs.edu> wrote:

Hi Santiago, The unrefined regions are plotted using nearest neighbor interpolation with an additional step of blending at places where grid cell boundaries and pixel boundaries don't overlap. yt doesn't do any linear interpolation on unrefined zones; you are seeing the exact values. This occurs inside what yt calls the pixelization routines, and you can see the primary implementation in the yt codebase in cython in yt/utilities/lib/pixelization_routines.pyx in pixelize_cartesian. -Matt On Thu, Jan 5, 2023 at 1:06 AM Santiago Erazo Papagayo <serazo@uccs.edu> wrote:
participants (2)
-
Matthew Turk
-
Santiago Erazo Papagayo