> On 3 Jan 2019, at 16:17, Deepak Garg <[email protected]> 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
> [email protected]
> http://onelab.info/mailman/listinfo/gmsh
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to