A distributed combustion solver for engine simulations on grids