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:
d69431f
)
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
author
eap
<eap@opencascade.com>
Wed, 14 Mar 2012 15:03:06 +0000
(15:03 +0000)
committer
eap
<eap@opencascade.com>
Wed, 14 Mar 2012 15:03:06 +0000
(15:03 +0000)
Fix reading nodes from a new HDF file
src/SMESH_I/SMESH_PreMeshInfo.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_PreMeshInfo.cxx
b/src/SMESH_I/SMESH_PreMeshInfo.cxx
index 31cd9aeb783702992df00d8484d42bb9fbc473d1..50652425c2a2ac58c961f2ec70bfc2b954f211ce 100644
(file)
--- a/
src/SMESH_I/SMESH_PreMeshInfo.cxx
+++ b/
src/SMESH_I/SMESH_PreMeshInfo.cxx
@@
-358,7
+358,7
@@
void SMESH_PreMeshInfo::hdf2meshInfo( const std::string& name,
int medType = info[i++];
int nbElems = info[i++];
me2sme = med2smesh.find( (MED::EGeometrieElement) medType );
- if ( me2sme != me2smeEnd )
+ if ( me2sme != me2smeEnd
&& nbElems
)
setNb( me2sme->second, nbElems );
}
}