From: Werner (GMX) <wer...@gm...> - 2016-07-30 07:57:21
|
Hi Fabien, as you can see smesh is a 3rd party library taken from the Salome project. When checking the original sources on the Salome project side you will find the exact same code. Here is a link to their git repository: https://git.salome-platform.org/gitweb/?p=modules/smesh.git;a=blob;f=src/DriverUNV/DriverUNV_R_SMDS_Mesh.cxx;h=95d6a2ff1cb4d6bd6c7e05bedb8e6682c5d167fe;hb=dcdb487253c9d718519f8fcafd1816686d10b375#l275 When looking further down the code you will see that for any other volume type it heavily changes the order of the nodes. So, it's probably best to contact the Salome devs. Regards, Werner Am 29.07.2016 um 18:12 schrieb ROZAR Fabien: > Hello everybody, > > I was looking at the file: > src/3rdParty/salomesmesh/src/DriverUNV/DriverUNV_R_SMDS_Mesh.cpp > > And I figure out that when a "Solid Linear Tetrahedron - TET4" element > is created, there is a permutation on some nodes: > ``` > anElement = myMesh->AddVolumeWithID(aRec.node_labels[0], > aRec.node_labels[2], > aRec.node_labels[1], > aRec.node_labels[3], > aRec.label); > ``` > > My question is: > Why do you need this permutation? > What can I do if would like to keep the original order/connectivity for > an element? > > Best regards, > Fabien > > ------------------------------------------------------------------------------ > _______________________________________________ > Free-cad-development mailing list > Fre...@li... > https://lists.sourceforge.net/lists/listinfo/free-cad-development > |