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:
e57adf2
)
Regression of SMESH_TEST/Grids/smesh/imps/H2
author
eap
<eap@opencascade.com>
Wed, 18 Apr 2012 16:08:39 +0000
(16:08 +0000)
committer
eap
<eap@opencascade.com>
Wed, 18 Apr 2012 16:08:39 +0000
(16:08 +0000)
src/DriverCGNS/DriverCGNS_Write.cxx
patch
|
blob
|
history
diff --git
a/src/DriverCGNS/DriverCGNS_Write.cxx
b/src/DriverCGNS/DriverCGNS_Write.cxx
index 851166f9e3177a42540677c457dbbe2917070383..517a56f25afe361d8d45c93e042b7fd11926fcdc 100644
(file)
--- a/
src/DriverCGNS/DriverCGNS_Write.cxx
+++ b/
src/DriverCGNS/DriverCGNS_Write.cxx
@@
-387,7
+387,7
@@
Driver_Mesh::Status DriverCGNS_Write::Perform()
// Write polyhedral volumes
// -------------------------
- if ( myMesh->GetMeshInfo().NbElements()
!= cgID
) // polyhedra or hexagonal prisms remain
+ if ( myMesh->GetMeshInfo().NbElements()
> cgID-1
) // polyhedra or hexagonal prisms remain
{
// the polyhedron (NFACE_n) is described as a set of signed face IDs,
// so first we are to write all polygones (NGON_n) bounding polyhedrons