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:
ced60b0
)
PAL13639 ( Create "0D Hypothesis" )
author
eap
<eap@opencascade.com>
Wed, 28 Feb 2007 10:16:34 +0000
(10:16 +0000)
committer
eap
<eap@opencascade.com>
Wed, 28 Feb 2007 10:16:34 +0000
(10:16 +0000)
limit segment length by a half of edge length
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 d6607ca351a8521ca8fb69cc8607de64d1936fef..f24f6684dc001d8f02ad91e48b2917bd44a3e583 100644
(file)
--- a/
src/StdMeshers/StdMeshers_Regular_1D.cxx
+++ b/
src/StdMeshers/StdMeshers_Regular_1D.cxx
@@
-475,6
+475,8
@@
void StdMeshers_Regular_1D::redistributeNearVertices (SMESH_Mesh & theM
const StdMeshers_SegmentLengthAroundVertex* hyp = getVertexHyp (theMesh, V );
if ( hyp ) {
double vertexLength = hyp->GetLength();
+ if ( vertexLength > theLength / 2.0 )
+ continue;
if ( isEnd1 ) {
theParameters.reverse();
std::swap( f, l );