The marker-and-cell method is commonly used in computer graphics to discretize functions for fluid and other simulations. It was developed by Francis Harlow and his collaborators at the Los Alamos National Laboratory. The method uses a staggered grid, with the pressure stored at the center of each cell and each velocity component at the middle of the cell faces across which it flows.