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.