2nd order Hex mesh question
I am using the C interface to create a hexahedral mesh and was having a problem where I kept getting 820 form instead of 827 form irrespective of the Mesh.SecondOrderIncomplete bit. I found that asking for the 2nd order form after extrusion commands fixed this problem. That is, I get the 827 form if I write:
gmshModelMeshGenerate(3, &ierr); gmshModelMeshSetOrder(2, &ierr);
If I was in 2D, how would I select the 408 vs 409 forms? Would extrusion then be 820 or 827 automatically?
Thanks.