neperfepx / neper

Polycrystal generation and meshing
http://neper.info
GNU General Public License v3.0
198 stars 53 forks source link

Cut(cylinderi) failed #544

Open rquey opened 1 year ago

rquey commented 1 year ago

Discussed in https://github.com/neperfepx/neper/discussions/533

Originally posted by **mubellyb** August 4, 2022 Hello, everyone. I am using Neper 4.4.1 and having tried to cut a cylinder in a domain. However, when I running a command `neper -T -n 2000 -id 1 -transform "cut(cylinderi(0.5,0,0.5,0,1,0,0.35))" -o cut4-1`, it shows like that: ``` Info : MODULE -T loaded with arguments: Info : [ini file] (none) Info : [com line] -n 2000 -id 1 -transform cut(cylinderi(0.5,0,0.5,0,1,0,0.35)) -o cut4-1 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 : > cylinderi(0.5,0,0.5,0,1,0,0.35)... Info : [o] Writing file `tess.debug'... face = 6369 edges = 11542 1167 1168 2845 2846 2850 2851 3085 3086 4721 4722 7117 7118 7119 8335 8479 9128 9129 9363 9599 9602 9603 10032 10033 10034 10259 10261 10262 10628 10917 10957 10958 10959 11090 11091 11104 11105 11106 11371 11423 11424 11464 11465 11499 11500 11501 257 11570 11718 11904 12004 12037 12316 12908 12934 12984 12990 13016 13092 13097 13137 13172 13356 13426 13433 13448 13450 13452 13453 13455 13478 13487 13489 13491 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. Aborted (core dumped) ``` It seems that here is a inherent bug in the latest version of neper. I don' t know if there is a way to solve it, another version or other commands? Or wait for developers to fix it? Thanks