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:
fe8da01
)
0020963: EDF 1528 SMESH: How to combine Netgen1D2D with sizemap with Quadrangle(Mappi...
author
eap
<eap@opencascade.com>
Thu, 2 Sep 2010 06:30:53 +0000
(06:30 +0000)
committer
eap
<eap@opencascade.com>
Thu, 2 Sep 2010 06:30:53 +0000
(06:30 +0000)
- sm->ComputeStateEngine(SMESH_subMesh::COMPUTE);
+ _gen->Compute( theMesh, _mainEdge, /*anUpward=*/true);
sm->ComputeStateEngine() fails if vertices it depends on are not yet created
src/StdMeshers/StdMeshers_Regular_1D.cxx
patch
|
blob
|
history
diff --git
a/src/StdMeshers/StdMeshers_Regular_1D.cxx
b/src/StdMeshers/StdMeshers_Regular_1D.cxx
index 391bd38c3c11df989aa6073ca8e7585582870acd..8273990301c52a873bf4ec4360b8aa5fac8dc166 100644
(file)
--- a/
src/StdMeshers/StdMeshers_Regular_1D.cxx
+++ b/
src/StdMeshers/StdMeshers_Regular_1D.cxx
@@
-627,7
+627,7
@@
bool StdMeshers_Regular_1D::computeInternalParameters(SMESH_Mesh & theMesh,
bool computed = sm->IsMeshComputed();
if (!computed) {
if (sm->GetComputeState() == SMESH_subMesh::READY_TO_COMPUTE) {
-
sm->ComputeStateEngine(SMESH_subMesh::COMPUTE
);
+
_gen->Compute( theMesh, _mainEdge, /*anUpward=*/true
);
computed = sm->IsMeshComputed();
}
}