Coating functional sol–gel films inside horizontally-rotating cylinders by rimming flow/state