From: eap Date: Fri, 24 Mar 2006 10:04:48 +0000 (+0000) Subject: fix bug 11943 TC: Wrong nodal connectivity of hexahedrons imported from UNV format... X-Git-Tag: T3_2_0b1_pre1~90 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f7ffd4bc0271ea6b04c96a748961acb3d61562c0;p=modules%2Fsmesh.git fix bug 11943 TC: Wrong nodal connectivity of hexahedrons imported from UNV format file --- diff --git a/src/DriverUNV/DriverUNV_R_SMDS_Mesh.cxx b/src/DriverUNV/DriverUNV_R_SMDS_Mesh.cxx index 97ffd7d29..a8402172e 100644 --- a/src/DriverUNV/DriverUNV_R_SMDS_Mesh.cxx +++ b/src/DriverUNV/DriverUNV_R_SMDS_Mesh.cxx @@ -195,25 +195,29 @@ Driver_Mesh::Status DriverUNV_R_SMDS_Mesh::Perform() case 116: // Solid Quadratic Brick - HEX20 anElement = myMesh->AddVolumeWithID(aRec.node_labels[0], - aRec.node_labels[3], - aRec.node_labels[2], - aRec.node_labels[1], + aRec.node_labels[6], aRec.node_labels[4], + aRec.node_labels[2], + + aRec.node_labels[12], + aRec.node_labels[18], + aRec.node_labels[16], + aRec.node_labels[14], + aRec.node_labels[7], - aRec.node_labels[6], aRec.node_labels[5], + aRec.node_labels[3], + aRec.node_labels[1], + + aRec.node_labels[19], + aRec.node_labels[17], + aRec.node_labels[15], + aRec.node_labels[13], + + aRec.node_labels[8], aRec.node_labels[11], aRec.node_labels[10], aRec.node_labels[9], - aRec.node_labels[8], - aRec.node_labels[15], - aRec.node_labels[14], - aRec.node_labels[13], - aRec.node_labels[12], - aRec.node_labels[16], - aRec.node_labels[19], - aRec.node_labels[18], - aRec.node_labels[17], aLabel); break;