Fast Sweeping Algorithms for a Class of Hamilton--Jacobi Equations | Synapse