Calculation of the Integrated Flow of Particles between Polygons