[Gmsh] MVertex ID

Chaman Singh Verma csv610 at gmail.com
Sat May 30 17:01:30 CEST 2009


Hello,

In MVertex.h, the document says:

// the id number of the vertex (this number is unique and is
// guaranteed never to change once a mesh has been generated)

 int _num;

and in the same class MVertex there is function

setNum(int num )

which allows changing the _num value.

In fact, in surface meshing, setNum has been used and therefore IDs are
modified.  There are many
situations where this modification creates big problems. Can we stick to the
first rule that _num will
never be modified and any use of local numbering may be done by index ( in
the MVertex.h ) class.


csv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20090530/54fea4db/attachment.html>