Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
23190: EDF 11636 - Problem of viscous layer
[modules/smesh.git]
/
src
/
DriverUNV
/
DriverUNV_R_SMDS_Mesh.cxx
diff --git
a/src/DriverUNV/DriverUNV_R_SMDS_Mesh.cxx
b/src/DriverUNV/DriverUNV_R_SMDS_Mesh.cxx
index 95d6a2ff1cb4d6bd6c7e05bedb8e6682c5d167fe..415fa9bbab8868914a8412e8fa23189c7f69a084 100644
(file)
--- a/
src/DriverUNV/DriverUNV_R_SMDS_Mesh.cxx
+++ b/
src/DriverUNV/DriverUNV_R_SMDS_Mesh.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-435,6
+435,7
@@
Driver_Mesh::Status DriverUNV_R_SMDS_Mesh::Perform()
const SMDS_MeshElement* aElement = myMesh->FindElement(aRec.ElementList[i]);
if (aElement) {
switch (aElement->GetType()) {
const SMDS_MeshElement* aElement = myMesh->FindElement(aRec.ElementList[i]);
if (aElement) {
switch (aElement->GetType()) {
+
case SMDSAbs_Edge:
if (!aEdgesGroup) {
aEdgesGroup = (SMDS_MeshGroup*) myGroup->AddSubGroup(SMDSAbs_Edge);
case SMDSAbs_Edge:
if (!aEdgesGroup) {
aEdgesGroup = (SMDS_MeshGroup*) myGroup->AddSubGroup(SMDSAbs_Edge);
@@
-449,6
+450,7
@@
Driver_Mesh::Status DriverUNV_R_SMDS_Mesh::Perform()
}
aEdgesGroup->Add(aElement);
break;
}
aEdgesGroup->Add(aElement);
break;
+
case SMDSAbs_Face:
if (!aFacesGroup) {
aFacesGroup = (SMDS_MeshGroup*) myGroup->AddSubGroup(SMDSAbs_Face);
case SMDSAbs_Face:
if (!aFacesGroup) {
aFacesGroup = (SMDS_MeshGroup*) myGroup->AddSubGroup(SMDSAbs_Face);
@@
-463,6
+465,7
@@
Driver_Mesh::Status DriverUNV_R_SMDS_Mesh::Perform()
}
aFacesGroup->Add(aElement);
break;
}
aFacesGroup->Add(aElement);
break;
+
case SMDSAbs_Volume:
if (!aVolumeGroup) {
aVolumeGroup = (SMDS_MeshGroup*) myGroup->AddSubGroup(SMDSAbs_Volume);
case SMDSAbs_Volume:
if (!aVolumeGroup) {
aVolumeGroup = (SMDS_MeshGroup*) myGroup->AddSubGroup(SMDSAbs_Volume);
@@
-477,6
+480,8
@@
Driver_Mesh::Status DriverUNV_R_SMDS_Mesh::Perform()
}
aVolumeGroup->Add(aElement);
break;
}
aVolumeGroup->Add(aElement);
break;
+
+ default:;
}
}
}
}
}
}