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

Debug #740

Open
dongfeicsu opened this issue Aug 27, 2023 · 1 comment
Open

Debug #740

dongfeicsu opened this issue Aug 27, 2023 · 1 comment

Comments

@dongfeicsu
Copy link

dongfeicsu commented Aug 27, 2023

Describe the bug

It is possible to perform sphere cutting on a cylinder, and cylinder cutting can also be performed separately. However, when attempting to execute both operations simultaneously, a bug occurs.

To Reproduce

$ neper -T -n 30000 -domain "cylinder(0.22,1)" -transform "cut(sphere(0.5,0.5,1.1.2,1.05),cylinder(0.5,0.5,0,0,0,1,0.2))"

========================    N   e   p   e   r    =======================
Info   : A software package for polycrystal generation and meshing.
Info   : Version 4.4.2-33
Info   : Built with: gsl|muparser|opengjk|openmp|nlopt|libscotch (full)
Info   : Running on 2 threads.
Info   : <https://neper.info>
Info   : Copyright (C) 2003-2022, and GNU GPL'd, by Romain Quey.
Info   : No initialization file found (`/home/bob/.neperrc').
Info   : ---------------------------------------------------------------
Info   : MODULE  -T loaded with arguments:
Info   : [ini file] (none)
Info   : [com line] -n 30000 -domain cylinder(0.22,1) -transform
         cut(sphere(0.5,0.5,1.1.2,1.05),cylinder(0.5,0.5,0,0,0,1,0.2))
Info   : ---------------------------------------------------------------
Info   : Reading input data...
Info   : Creating domain...
Info   : Creating tessellation...
Info   :   - Setting seeds... 
Info   :   - Generating crystal orientations...
Info   :   - Running tessellation...
Info   : Transforming tessellation...
Info   :   - Cutting (experimental)...
Info   :     > sphere(0.5,0.5,1.1.2,1.05)...
Info   :     > cylinder(0.5,0.5,0,0,0,1,0.2)...
Info   :     [o] Writing file `tess.debug'...
face = 122267
edges = 218319 206829 206830 206831 206832 206833 206834 206879 206939 206940 206941 206942 206943 206944 206945 206946 206947 207050 207051 207432 207433 207434 207435 207436 207437 207442 210007 210008 210009 210010 210011 210012 210013 210014 210478 210479 210480 210481 210482 210487 210810 210811 210812 210813 210818 210921 210922 210928 211142 211143 211144 211145 211146 211147 211148 211149 211648 211649 211650 211832 211833 211834 211835 211836 211837 211838 211839 211840 211841 211842 211843 211844 211938 211939 211940 211941 211942 211943 211944 211945 211946 212666 212667 212668 212669 212670 212671 212672 212673 212674 212675 212676 212680 212715 212716 212717 212718 212719 212720 212721 212722 212754 212755 212756 212757 212758 212759 212760 212761 212762 212906 212907 212908 212909 212912 213694 213695 213835 213836 213870 213871 213872 213873 213874 213875 213876 213877 213878 213879 213880 213881 214095 214096 214097 214176 214177 214178 214179 214462 214463 214464 214465 214468 214727 215449 215450 215451 215452 215453 215690 215691 215692 215693 215694 216073 216074 216075 216076 216077 216078 216079 216080 216081 216082 216083 216648 216649 216650 216653 216793 216794 216795 216847 216848 216849 216850 216851 216852 216853 216889 216890 216891 216892 216893 216894 216895 216968 216969 216970 216971 216972 216973 216974 216975 217037 217038 217039 217040 217041 217042 217043 217044 217381 217382 217555 217556 217634 217635 217636 217637 218039 218040 218222 218223 218224 218225 218228 206828 218320 218321 218322 218373 218374 218375 218572 218573 218574 218575 218576 218577 218578 218581 218621 218622 218623 218624 218625 218626 218627 218628 218629 218632 218935 218936 218937 218938 218939 218940 219161 219162 219163 219164 219165 219166 219167 219168 219169 219170 219222 219223 219224 219225 219226 219227 219228 219229 219230 219231 219232 219233 219234 219238 219413 219414 219415 219418 219516 219517 219518 219519 219520 219521 219935 219936 219937 219938 219939 219940 219941 219942 219943 219946 220014 220015 220016 220017 220018 220078 220079 220080 220081 220082 220083 220084 220085 220457 220458 220459 220460 220461 220462 220463 220464 220465 220466 220467 220468 220652 220653 220654 220655 220729 220730 220731 220732 220736 220908 220910 220983 220984 220985 220986 220990 221357 221358 221359 221360 221361 221362 221363 221364 221365 221366 221367 221519 221792 221793 221794 221795 221821 221822 221823 221824 221825 221826 221827 221828 221829 221831 221905 221906 221941 221942 221943 222090 222091 222092 222094 222111 222112 222113 222114 222115 222116 222118 222141 222142 222143 222144 222145 222146 222147 222148 222168 222169 222174 222200 222201 222271 222272 222273 222274 222337 222338 222339 222340 222341 222342 222343 222344 222345 222346 222349 222361 222362 222369 222463 222464 222465 222466 222467 222468 222469 222470 222493 222494 222495 222627 222628 222630 222707 222708 222709 222710 222711 222712 222713 222714 222715 222730 222731 222732 222733 222734 222735 222736 222737 222773 222774 222775 222853 222854 222893 222894 222895 222896 222897 222898 222899 222900 222977 222978 222979 222980 222981 222982 223003 223004 223005 223006 223007 223008 223009 223010 223011 223012 223013 223014 223015 223016 223017 223064 223065 223066 223067 223068 223069 223070 223093 223094 223095 223096 223097 223098 223099 223102 223113 223114 223115 223116 223117 223232 223233 223234 223235 223236 223237 223238 223240 223261 223264 223339 223405 223406 223407 223408 223409 223410 223411 223412 223475 223476 223477 223478 223479 223480 223489 223493 223494 223543 223544 223545 223546 223547 223548 223549 223550 223551 223580 223581 223637 223638 223639 223640 223641 223642 223643 223644 223645 223646 223647 223648 223649 223671 223673 223700 223701 223730 223731 223732 223733 223734 223735 223736 223737 223738 223739 223740 223741 223799 223800 223801 223802 223803 223804 223805 223849 223850 223851 223852 223853 223854 223855 223856 223867 223868 223869 223870 223871 223872 223873 223874 223875 223876 223903 223904 223905 223906 223907 223925 223926 223927 223928 223929 223930 223931 223932 223933 223934 223955 223956 223957 223958 223959 223960 223961 223975 223976 223977 223978 223979 223992 223993 224011 224012 224013 224014 224015 224016 224017 224018 224019 224020 224037 224045 224046 224054 224055 224056 224057 224058 224059 224060 224061 224065 224076 224077 224078 224079 224080 224081 224089 224090 224091 224101 224102 224103 224104 224105 224106 224107 224108 224109 224110 224155 224156 224157 224158 224159 224160 224169 224170 224171 224172 224200 224201 224202 224208 224209 224210 224211 224212 224213 224223 224224 224225 224226 224227 224228 224229 224230 224231 224232 224233 224244 224245 224246 224247 224248 224262 224263 224264 224265 224266 224267 224268 224276 224277 224278 224279 224283 224284 224285 224286 224287 224303 224304 224305 224306 224307 224308 224309 224310 224311 224320 224321
Info   :     [o] Wrote file `tess.debug'.
Error  : You have discovered a bug in Neper!  Please file an issue at
         https://github.com/rquey/neper/issues.  Thank you.
@rquey
Copy link
Member

rquey commented Sep 7, 2023

Thanks for the bug report. -transform cut is experimental and does not work for any input. This one does not seem easy to fix.

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

2 participants