“…As a consequence the solution is limited to one side of the boundary, i.e., we limit ourselves to computing positive or negative values for the distance s. Now we introduce the gradient vector q = [u, v, w] T = ∇s. As the original equation was found to be very difficult to converge to a steady state solution using a high-order solver [14,20], we decouple the solution of the gradient field and the scalar distance function. To get a set of partial differential equations for the gradients, we take the derivative of equation ( 2) with respect to Cartesian coordinate directions x = [x, y, z] T :…”