https://9dok.net/document/q05vlovx-adaptive-grid-generation-evolutive-hamilton-jacobi-bellman-equations.html