cache.h breaks Gizmo compilation
Several lines in cache.h
reference the mass
field of the part
struct. However, GIZMO_SPH
does not have this field, and so the code does no longer compile with GIZMO_SPH
(nor does it with SHADOWFAX_SPH
). What does the code in cache.h
do? Is there a way to either disable it for GIZMO_SPH
and SHADOWFAX_SPH
, or to make it more general?