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:
b59de01
)
0022183: EDF SMESH: Error with ConvertToQuadratic
author
eap
<eap@opencascade.com>
Fri, 29 Mar 2013 15:17:24 +0000
(15:17 +0000)
committer
eap
<eap@opencascade.com>
Fri, 29 Mar 2013 15:17:24 +0000
(15:17 +0000)
In ConvertToQuadratic(), not set quadratic elements on shapes when converting
linear elements not assigned to any shape
src/SMESH/SMESH_MeshEditor.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_MeshEditor.cxx
b/src/SMESH/SMESH_MeshEditor.cxx
index 065ace64bf2daa0774f32a011239c0b4330d299f..6d3e74d4e62167dc7d24cf358ebb756b1a6bfe30 100644
(file)
--- a/
src/SMESH/SMESH_MeshEditor.cxx
+++ b/
src/SMESH/SMESH_MeshEditor.cxx
@@
-9714,6
+9714,7
@@
void SMESH_MeshEditor::ConvertToQuadratic(const bool theForce3d, const bool theT
int totalNbElems = meshDS->NbEdges() + meshDS->NbFaces() + meshDS->NbVolumes();
if ( nbCheckedElems < totalNbElems ) // not all elements are in submeshes
{
+ aHelper.SetElementsOnShape(false);
SMESHDS_SubMesh *smDS = 0;
SMDS_EdgeIteratorPtr aEdgeItr = meshDS->edgesIterator();
while(aEdgeItr->more())