[Gmsh] Source functions for node numbering
Geordie McBain
gdmcbain at freeshell.org
Mon Jul 11 02:35:42 CEST 2011
2011/6/24 simone marras <smarras.bsc at gmail.com>:
> Hi all,
>
> I am interested in using gmsh as a visualization tool for my finite
> element grids and eventually the results of my code.
> I would like to ask though, where I could find, within the source
> code, the functions/classes that are used by GMSH to write
> the "$Elements" in the *.msh.
Perhaps you've found it in the last fortnight, but if not (and anyway
for the record), I think the literal string "$Elements\n" is written
by GModel::writeMSH (see L745 of Geo/GModelIO_Mesh.cpp) and each
actual element is written by MElement::writeMSH (L613 of
Geo/MElement.cpp.