Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

levelset: miscellaneous fixes #451

Merged
merged 4 commits into from
Mar 4, 2024
Merged

Conversation

andrea-iob
Copy link
Member

Some fixes gathered in the last weeks:

  • fixed the check that identifies if a point is inside the narrow band;
  • improved robustness of unsigned distance evaluation;
  • small optimization in sign propagation.

andrea-iob and others added 4 commits February 28, 2024 10:53
If the sign of the cell has already been set, we check if it matches
the seed sign and then we skip the cell, otherwise we set the sign of
the cell and we process its neighoburs. Once the sign of a cell is
set, we can remove it form the seed list (there is no need to start
again the porpagation from that cell, beause it will not reach any
new portions of the domain).
In some cases, the level set may not be able to identify the sign
of a point. However, even in these cases, it is possible to
evaluate the unsigned distance.
@andrea-iob andrea-iob merged commit cfa0459 into master Mar 4, 2024
10 checks passed
@andrea-iob andrea-iob deleted the levelset.miscellaneous.fixes branch March 4, 2024 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants