Implementation of a fast, high-ordered redistancing method for uniform finite-difference grids, following this paper:
M. Elsey and S. Esedoglu. Fast and accurate redistancing via directional optimization. SIAM Journal on Scientific Computing, 36:1 (2014), pp. A219-A231.
To-do:
- Comment
- Utilize STL algorithms, std::vector::assign, etc. to simplify code
- Consistency: place const to right of types, use Hungarian notation for variables