Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46252cb
)
+ // PAL16857(SMESH not conform to the MED convention):
author
eap
<eap@opencascade.com>
Tue, 11 Sep 2007 06:52:16 +0000
(06:52 +0000)
committer
eap
<eap@opencascade.com>
Tue, 11 Sep 2007 06:52:16 +0000
(06:52 +0000)
+ if ( aMeshDimension == 2 && anIsZDimension ) // 2D only if mesh is in XOY plane
+ aMeshDimension = 3;
src/DriverMED/DriverMED_W_SMESHDS_Mesh.cxx
patch
|
blob
|
history
diff --git
a/src/DriverMED/DriverMED_W_SMESHDS_Mesh.cxx
b/src/DriverMED/DriverMED_W_SMESHDS_Mesh.cxx
index 1043e55949fb7047fc7a6860accb0b795ffc1440..cf9381ce9b1519bbe3c1dd95920f74a49c84f6cf 100644
(file)
--- a/
src/DriverMED/DriverMED_W_SMESHDS_Mesh.cxx
+++ b/
src/DriverMED/DriverMED_W_SMESHDS_Mesh.cxx
@@
-262,6
+262,9
@@
Driver_Mesh::Status DriverMED_W_SMESHDS_Mesh::Perform()
aMeshDimension = anIsXDimension + anIsYDimension + anIsZDimension;
if(!aMeshDimension)
aMeshDimension = 3;
+ // PAL16857(SMESH not conform to the MED convention):
+ if ( aMeshDimension == 2 && anIsZDimension ) // 2D only if mesh is in XOY plane
+ aMeshDimension = 3;
}
SMDS_NodeIteratorPtr aNodesIter = myMesh->nodesIterator();