Contents:
Function prepares gas integration step. It stores the current value of the surface density in a hidden field.
sim (Frame) – Parent simulation frame