The eikonal equation on a manifold. Applications to grid generation or refinement