From 680f0473eed897e5f33613a6eafd7ee6ea7bd9e5 Mon Sep 17 00:00:00 2001 From: vsv Date: Mon, 27 Mar 2006 10:42:11 +0000 Subject: [PATCH] Element 21 is a simple linear edge --- src/DriverUNV/DriverUNV_R_SMDS_Mesh.cxx | 13 ++++++++++--- src/DriverUNV/UNV2412_Structure.cxx | 4 ++-- 2 files changed, 12 insertions(+), 5 deletions(-) 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 = "<