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:
48a77b8
)
0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
author
eap
<eap@opencascade.com>
Fri, 16 Nov 2012 14:39:04 +0000
(14:39 +0000)
committer
eap
<eap@opencascade.com>
Fri, 16 Nov 2012 14:39:04 +0000
(14:39 +0000)
fix evaluation of max possible thickness on a disk
src/StdMeshers/StdMeshers_ViscousLayers2D.cxx
patch
|
blob
|
history
diff --git
a/src/StdMeshers/StdMeshers_ViscousLayers2D.cxx
b/src/StdMeshers/StdMeshers_ViscousLayers2D.cxx
index 884c41a8015b774f32336455ef8763aaa63cb132..0e2b7ec708085d725e8cab4c5e1af78731e4e9e7 100644
(file)
--- a/
src/StdMeshers/StdMeshers_ViscousLayers2D.cxx
+++ b/
src/StdMeshers/StdMeshers_ViscousLayers2D.cxx
@@
-750,7
+750,8
@@
bool _ViscousBuilder2D::makePolyLines()
_PolyLine& L1 = _polyLineVec[ iL1 ];
_SegmentTree::box_type boxL1 = * L1._segTree->getBox();
boxL1.Enlarge( boxTol );
- for ( size_t iL2 = iL1+1; iL2 < _polyLineVec.size(); ++iL2 )
+ // consider case of a circle as well!
+ for ( size_t iL2 = iL1; iL2 < _polyLineVec.size(); ++iL2 )
{
_PolyLine& L2 = _polyLineVec[ iL2 ];
_SegmentTree::box_type boxL2 = * L2._segTree->getBox();