Contents:
This function is the finalization function that is called after every integration step. It is managing the boundary conditions and is enforcing floor values.
sim (Frame) – Parent simulation frame