0021543: EDF 1978 SMESH: Viscous layer for 2D meshes

fix evaluation of max possible thickness on a disk
This commit is contained in:
eap 2012-11-16 14:39:04 +00:00
parent 48a77b8477
commit 7471a888d0

View File

@ -750,7 +750,8 @@ bool _ViscousBuilder2D::makePolyLines()
_PolyLine& L1 = _polyLineVec[ iL1 ]; _PolyLine& L1 = _polyLineVec[ iL1 ];
_SegmentTree::box_type boxL1 = * L1._segTree->getBox(); _SegmentTree::box_type boxL1 = * L1._segTree->getBox();
boxL1.Enlarge( boxTol ); 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 ]; _PolyLine& L2 = _polyLineVec[ iL2 ];
_SegmentTree::box_type boxL2 = * L2._segTree->getBox(); _SegmentTree::box_type boxL2 = * L2._segTree->getBox();