mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-30 19:30:35 +05:00
SALOME Forum: viscous layers builder: failed at the very first inflation step
http://www.salome-platform.org/forum/forum_10/537530484
This commit is contained in:
parent
ab9600ccf0
commit
4a40272838
@ -77,7 +77,7 @@
|
||||
#include <cmath>
|
||||
#include <limits>
|
||||
|
||||
//#define __myDEBUG
|
||||
#define __myDEBUG
|
||||
|
||||
using namespace std;
|
||||
|
||||
@ -2074,7 +2074,7 @@ bool _ViscousBuilder::inflate(_SolidData& data)
|
||||
{
|
||||
if ( data._edges[i]->IsOnEdge() ) continue;
|
||||
data._edges[i]->FindIntersection( *searcher, intersecDist, data._epsilon );
|
||||
if ( geomSize > intersecDist )
|
||||
if ( geomSize > intersecDist && intersecDist > 0 )
|
||||
geomSize = intersecDist;
|
||||
}
|
||||
if ( data._stepSize > 0.3 * geomSize )
|
||||
|
Loading…
Reference in New Issue
Block a user