From: vsv Date: Mon, 27 Mar 2006 10:42:11 +0000 (+0000) Subject: Element 21 is a simple linear edge X-Git-Tag: T3_2_0b1_pre1~78 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=680f0473eed897e5f33613a6eafd7ee6ea7bd9e5;p=modules%2Fsmesh.git Element 21 is a simple linear edge --- diff --git a/src/DriverUNV/DriverUNV_R_SMDS_Mesh.cxx b/src/DriverUNV/DriverUNV_R_SMDS_Mesh.cxx index a8402172e..bc38d269b 100644 --- a/src/DriverUNV/DriverUNV_R_SMDS_Mesh.cxx +++ b/src/DriverUNV/DriverUNV_R_SMDS_Mesh.cxx @@ -24,6 +24,7 @@ #include "UNV2411_Structure.hxx" #include "UNV2412_Structure.hxx" +#include "UNV2417_Structure.hxx" #include "UNV_Utilities.hxx" using namespace std; @@ -65,13 +66,14 @@ Driver_Mesh::Status DriverUNV_R_SMDS_Mesh::Perform() const TElementLab& aLabel = anIter->first; const TRecord& aRec = anIter->second; if(IsBeam(aRec.fe_descriptor_id)) { - if(aRec.fe_descriptor_id == 11) { + if((aRec.fe_descriptor_id == 11) || (aRec.fe_descriptor_id == 21)) { // edge with two nodes anElement = myMesh->AddEdgeWithID(aRec.node_labels[0], aRec.node_labels[1], aLabel); } else { + cout<<"### Id of element = "<AddEdgeWithID(aRec.node_labels[0], aRec.node_labels[1], @@ -240,10 +242,15 @@ Driver_Mesh::Status DriverUNV_R_SMDS_Mesh::Perform() } } - if(!anElement) - MESSAGE("DriverUNV_R_SMDS_Mesh::Perform - can not add element with ID = "<