Fast Sweeping Method in 2D and 3D
Version 1.0 (18.6 KB) by
Danny van der Haven
This code implements the Fast Sweeping Method to reinitalise a signed-distance function (or level set) for a 2D or 3D regular grid.
FastSweepReinitalisation
Danny van der Haven, dannyvdhaven@gmail.com, last updated: 2022/01/24
This MATLAB code uses the Fast Sweeping method [1] to reinitialise a level set or signed-distance function.
Given a discrete function F that gives the distance to a surface at F = 0, this algorithm detects the grid points adjacent to the interface and then recomputes the function F over the entire domain.
[1] Adam Chacon and Alexander Vladimirsk, SIAM Journal on Scientific computing, 2012
Cite As
Danny van der Haven (2026). Fast Sweeping Method in 2D and 3D (https://github.com/DLHvdH/FastSweepReinitalisation/releases/tag/v1.0), GitHub. Retrieved .
MATLAB Release Compatibility
Created with
R2021b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0 |
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.
