neperfepx / neper

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

Bug while generating Multi-Scale Tessellation with v4.10.1 #924

Open hem-28 opened 1 month ago

hem-28 commented 1 month ago

Hello,

I am exploring the multi-scale tesellation option here. I used the first example provided in validated answer this post https://github.com/neperfepx/neper/discussions/401. Unfortunately the neper crashed with an error that I discovered a bug.

The files: msfile_1.txt msfile_2.txt

The command and output:

$ neper -T -n "10::msfile(msfile_1.txt)" -morpho "gg::msfile(msfile_2.txt)"

========================    N   e   p   e   r    =======================
Info   : A software package for polycrystal generation and meshing.
Info   : Version 4.10.1
Info   : Built with: gsl|muparser|opengjk|openmp|nlopt|libscotch (full)
Info   : Running on 32 threads.
Info   : <https://neper.info>
Info   : Copyright (C) 2003-2024, and GNU GPL'd, by Romain Quey.
Info   : No initialization file found (`/home/jana/.neperrc').
Info   : ---------------------------------------------------------------
Info   : MODULE  -T loaded with arguments:
Info   : [ini file] (none)
Info   : [com line] -n 10::msfile(msfile_1.txt) -morpho
         gg::msfile(msfile_2.txt)
Info   : ---------------------------------------------------------------
Info   : Reading input data...
Info   : Creating domain...
Info   : Creating tessellations...
Info   :   [level] Running in multiscale mode (2 scales).Info   :   [    1]  1/1 Info   :   - Setting seeds... 100%
Info   :   - Running tessellation...
Info   :     > Initial solution: f   =10.585826080
Info   :     > Iteration   5078: fmin=0.112293482 f=0.112293483
Info   :     > Final solution  : f   =0.112293482 (5078 iterations)
Info   :     > Reached `eps' criterion.
Info   : Generating crystal orientations...              Info   :   [    2]  1/10 Info   :   - Setting seeds...
Info   :   - Running tessellation...
Info   : Generating crystal orientations...              Info   :   [    2]  2/10 Info   :   - Setting seeds...
Info   :   - Running tessellation...
Info   : Generating crystal orientations...              Info   :   [    2]  3/10 Info   :   - Setting seeds...
Info   :   - Running tessellation...
Info   : Generating crystal orientations...              Info   :   [    2]  4/10 Info   :   - Setting seeds...
Info   :   - Running tessellation...
Info   : Generating crystal orientations...              Info   :   [    2]  5/10 Info   :   - Running tessellation...
Error  : You have discovered a bug in Neper!  Please file an issue at
         https://github.com/rquey/neper/issues.  Thank you.

[1]+  Aborted                 neper -T -n "10::msfile(msfile_1.txt)" -morpho "gg::msfile(msfile_2.txt)"

If this is a bug in the current version, would anyone point me to a stable version pertaining to multi-scale tessellation?

Thanks!