Closed matthewturk closed 1 year ago
I have not convinced myself this is the correct approach, rather than utilizing units everywhere else. The issue I see is that we are still inputting some things in code_length
, like when adding grid outlines (not block outlines) so I want to double check.
oh hey, this might fix #45
I have confirmed that as it is, this PR does indeed Close #45 !
Before this gets merged we need to fix the grid display
We utilize unitary scaling almost everywhere when setting positions; this is even built into the
YTPositionTrait
object. However, we don't utilize this in the setting of the left and right edges of the objects, because ourPartitionedGrid
objects don't have units associated with their attributes.One side effect of this is that when loading a dataset where the unitary scale is wildly different from the
code_length
scale, our camera position is strange and set in the wrong absolute coordinate values.