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

Regularization failing for -transform'ed domain #724

Open
rquey opened this issue Jul 24, 2023 Discussed in #718 · 1 comment
Open

Regularization failing for -transform'ed domain #724

rquey opened this issue Jul 24, 2023 Discussed in #718 · 1 comment

Comments

@rquey
Copy link
Member

rquey commented Jul 24, 2023

Discussed in #718

Originally posted by ccis88 July 7, 2023
I have a line of instructions and results, but don't know what the problem is.

neper -T -n 20000 -dim 2 -domain "circle(18):translate(-9,-9)" -morphooptiini "coo:file(cooo),weight:0" -transform "cut(cylinder(0,0,0,0,0,1,8.5),hspace(0,0,-1,0),hspace(0,-1,0,0))" -morpho voronoi -regularization 1
image
Thanks for the answer!!!

@rquey
Copy link
Member Author

rquey commented Jul 24, 2023

(Note to self) Here is a smaller example that reproduces the problem:

This command stops right before the problem occurs:

neper -T -n 50 -id 10 -dim 2 -domain "circle(1)" -transform "cut(cylinder(0.5,0.5,0.5,0,0,1,0.25))" -reg 1 -format tess,geo -o test -rsel 0.25

image

This command reproduces the problem (deletes one more edge, which generates a wrong new vertex):

neper -T -n 50 -id 10 -dim 2 -domain "circle(1)" -transform "cut(cylinder(0.5,0.5,0.5,0,0,1,0.25))" -reg 1 -format tess,geo -o test -rsel 0.258

image

rquey added a commit that referenced this issue Sep 16, 2024
Fixed case where a domedge of a tessellation has no domver, as when a
tess is cut by a full circle.
See #724 (comment).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant