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:
ab9600c
)
SALOME Forum: viscous layers builder: failed at the very first inflation step
author
eap
<eap@opencascade.com>
Fri, 22 Feb 2013 13:04:17 +0000
(13:04 +0000)
committer
eap
<eap@opencascade.com>
Fri, 22 Feb 2013 13:04:17 +0000
(13:04 +0000)
http://www.salome-platform.org/forum/forum_10/
537530484
src/StdMeshers/StdMeshers_ViscousLayers.cxx
patch
|
blob
|
history
diff --git
a/src/StdMeshers/StdMeshers_ViscousLayers.cxx
b/src/StdMeshers/StdMeshers_ViscousLayers.cxx
index b90271fb196e76a9e016320911ffde5811444f1b..cfd8c459d33b24d43af33c99f85340df8fcd3c7a 100644
(file)
--- a/
src/StdMeshers/StdMeshers_ViscousLayers.cxx
+++ b/
src/StdMeshers/StdMeshers_ViscousLayers.cxx
@@
-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 )