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

Intersecting segment constraints for mmg2d #33

Open
qnzhou opened this issue Dec 17, 2018 · 2 comments
Open

Intersecting segment constraints for mmg2d #33

qnzhou opened this issue Dec 17, 2018 · 2 comments
Labels
kind: bug error or fault part: mesh generation mesh generation mode specificty part: mmg2d mmg2d specific

Comments

@qnzhou
Copy link

qnzhou commented Dec 17, 2018

Hi there,

Thanks for the great library! I am testing the possibility of using mmg2d for mesh generating that conforms to a given set of segment constraints. I noticed that intersecting segments in the input may cause the function MMG2D_mmg2dmesh function to hang. I just want to double check that intersecting segments are considered as invalid input. What is the recommended way of resolving such invalid input? Are there other cases that are considered as invalid?

@Algiane
Copy link
Member

Algiane commented Dec 20, 2018

Hi,

Thank you for using the Mmg platform.

For all the mmg software, the input must be a "conformal" mesh. Which means that crossings, and overlappings are forbidden. For the 2D mesh generation, an initial open boundary will fail too.
Thus it is normal that Mmg2d fails on your input.

However, I have tried a very simple test case that must work but fails: a cube defined by a set of edges + one of the diagonal of the cube.

I will look at this bug as soon as possible.

Regards,

Algiane

@qnzhou
Copy link
Author

qnzhou commented Dec 20, 2018

@Algiane Thanks for the clarification!

@Algiane Algiane added the kind: bug error or fault label Feb 6, 2019
@Algiane Algiane added part: mmg2d mmg2d specific part: mesh generation mesh generation mode specificty labels May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug error or fault part: mesh generation mesh generation mode specificty part: mmg2d mmg2d specific
Projects
None yet
Development

No branches or pull requests

2 participants