neperfepx / neper

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

Issue running neper.info's second "Colour, transparency, etc." visualization example with the second "Non-convex domains" generation example #379

Open mikekaylor98 opened 2 years ago

mikekaylor98 commented 2 years ago

Describe the bug

Not exactly sure. I was trying to run the second set of commands under "Colour, transparency, etc." on the visualization tab of neper.info but was using a slightly thicker version of the second shape under "Non-convex domains" on the generation tab. I tried to generate the visualization and it asked me to make a bug report.

To Reproduce I just ran these commands and it told me I discovered a bug, and asked me to report it.

$ neper -T -n 1000 
-morpho gg -domain "cube(1.2,0.2,1.2)" 
-transform "cut(cylinder(0.3,0,0.3,0,1,0,0.15),
cylinder(0.3,0,0.9,0,1,0,0.15),
cylinder(0.9,0,0.3,0,1,0,0.15),
cylinder(0.9,0,0.9,0,1,0,0.15))"

$ neper -M holes2.tess

$ neper -V holes2.tess,holes2.msh 
-showeltld all -dataelt3dedgerad 0.001 
-dataeltldrad 0.0025 
-datanodecol "real:file(mesh.stnode)" 
-dataeltcol from_nodes -print gradientholes2

========================    N   e   p   e   r    =======================
Info   : A software package for polycrystal generation and meshing.
Info   : Version 4.2.0
Info   : Built with: gsl|muparser|opengjk|openmp|nlopt|libscotch (full)
Info   : Running on 4 threads.
Info   : <https://neper.info>
Info   : Copyright (C) 2003-2021, and GNU GPL'd, by Romain Quey.
Info   : No initialization file found (`/home/neper/.neperrc').
Info   : ---------------------------------------------------------------
Info   : MODULE  -V loaded with arguments:
Info   : [ini file] (none)
Info   : [com line] holes2.tess,holes2.msh -showeltld all
         -dataelt3dedgerad 0.001 -dataeltldrad 0.0025 - datanodecol
         real:file(mesh.stnode) -dataeltcol from_nodes -print
         gradientholes2
Info   : ---------------------------------------------------------------
Info   : Loading tessellation...
Info   :     [i] Parsing file `holes2.tess'...
Info   :     [i] Parsed file `holes2.tess'.
Info   : Loading mesh...
Info   :     [i] Parsing file `holes2.msh'...
Info   :     [i] Parsed file `holes2.msh'.
Info   : Reconstructing mesh...
Error  : You have discovered a bug in Neper!  Please file an issue at
         https://github.com/rquey/neper/issues.  Thank you.

Aborted (core dumped)