We use a variant just for units vs. not units, especially in scattering opacities. It would be nice to find a way around this, something like @Yurlungur 's
I was imagining that in Phoebus, we just always have units. And non-cgs units just sets the conversion factor to 1? Is there a reason that wouldn't work? We could even do something like
typedef MeanS = MeanSWithUnits<MeanSGray>;
or something silly like that
We use a variant just for units vs. not units, especially in scattering opacities. It would be nice to find a way around this, something like @Yurlungur 's