For the accurate application of boundary conditions, knowledge of the boundary
location within a surface cell is required. In the VOF technique, it is assumed that the
boundary can be approximated by a straight line cutting through the cell. By first
determining the slope of this line, it can be moved across the cell to a position that
intersects the known amount of fluid volume in the cell.