On Mon, Aug 27, 2012 at 12:39 AM, Lei Shi <stoneszone@gmail.com> wrote:
Dear All

I want to add some new element to support high order element like what gmsh provided. So I want to add a new entry to the enum of ElemType. However, I found after each line of elemtype, there is a index. Is that ok to insert a new enum entry to indicate a new element? Like 

TRI3,  //3
TRI6,  //4
TRI10,  //new p3 triangle
TRI15, // new p4 triangle

QUAD4, //5

Yes... the comments there could be updated to reflect the new implied numbering.