[Gmsh] Element output information doesn't match actual number of elements

Alex Lindsay adlinds3 at ncsu.edu
Tue Dec 1 18:02:32 CET 2015


Hi all,

I'm creating a 1-D mesh. When meshing, gmsh outputs this information:

    Info    : Running 'gmsh liquidNew.geo -1' [Gmsh 2.8.3, 1 node, max.
    4 threads]
    Info    : Started on Tue Dec  1 11:46:54 2015
    Info    : Reading 'liquidNew.geo'...
    Info    : Done reading 'liquidNew.geo'
    Info    : Meshing 1D...
    Info    : Meshing curve 1 (Line)
    Info    : Meshing curve 2 (Line)
    Info    : Meshing curve 3 (Line)
    Info    : Meshing curve 4 (Line)
    Info    : Meshing curve 5 (Line)
    Info    : Meshing curve 6 (Line)
    Info    : Meshing curve 7 (Line)
    Info    : Meshing curve 8 (Line)
    Info    : Meshing curve 9 (Line)
    Info    : Meshing curve 10 (Line)
    Info    : Meshing curve 11 (Line)
    Info    : Meshing curve 12 (Line)
    Info    : Meshing curve 13 (Line)
    Info    : Meshing curve 14 (Line)
    Info    : Meshing curve 15 (Line)
    Info    : Done meshing 1D (0.087453 s)
    Info    : 1008 vertices *1023 elements*
    Info    : Writing 'liquidNew.msh'...
    Info    : Done writing 'liquidNew.msh'
    Info    : Stopped on Tue Dec  1 11:46:54 2015

However, if I go into the .msh file, there are actually 1007 elements 
(as there should be). Where does the 1023 number come from? Have others 
seen similar disagreements?

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20151201/89b12a63/attachment-0001.html>