[Gmsh] .msh file with base index 0

jeremy theler jeremy at seamplex.com
Thu Jan 3 21:21:02 CET 2019


subtract one?

On Thu, Jan 3, 2019, 14:22 <cgeuzaine at uliege.be> wrote:

>
>
>
>
> > On 3 Jan 2019, at 16:17, Deepak Garg <deepak.garg at ingv.it> wrote:
> >
> > Hi there,
> >
> > I am using gmdh 4 version. The starting indices of nodes and elements
> are 1 in .msh format.
> >
> > How can i save the mesh in .msh format with base index 0 for nodes and
> elements?
> >
> > I need it to be read in my C++ Fem code.
> >
>
> You should define your own indexing in your code: the numbers in Gmsh are
> tags - and they are not guaranteed to be continuously numbered. Tag « 0 »
> is reserved for special uses (as are negative tags) and should not be used.
>
> Christophe
>
> > Many thanks in advance,
> > Deepak Garg
> > _______________________________________________
> > gmsh mailing list
> > gmsh at onelab.info
> > http://onelab.info/mailman/listinfo/gmsh
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
>
-- 
--
jeremy theler
www.seamplex.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20190103/aede99e6/attachment.html>


More information about the gmsh mailing list