Simulation in Inhomogeneous Media -- Cellular-Automaton Simulation of a Cumulative Jet