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:
1eb7dc9
)
22658. Avoid unnecessary merge of pyramids at hex-tet interface
author
eap
<eap@opencascade.com>
Wed, 6 Aug 2014 11:23:38 +0000
(15:23 +0400)
committer
eap
<eap@opencascade.com>
Wed, 6 Aug 2014 11:23:38 +0000
(15:23 +0400)
src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx
patch
|
blob
|
history
diff --git
a/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx
b/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx
index 8ddd342ca519722167e21236d6cb4989f43209f2..6a0e88c61d9376d97bdc1385454a11d6beb53ff4 100644
(file)
--- a/
src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx
+++ b/
src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx
@@
-25,7
+25,6
@@
#include "StdMeshers_QuadToTriaAdaptor.hxx"
#include "SMDS_SetIterator.hxx"
#include "StdMeshers_QuadToTriaAdaptor.hxx"
#include "SMDS_SetIterator.hxx"
-
#include "SMESHDS_GroupBase.hxx"
#include "SMESH_Algo.hxx"
#include "SMESH_Group.hxx"
#include "SMESHDS_GroupBase.hxx"
#include "SMESH_Algo.hxx"
#include "SMESH_Group.hxx"
@@
-41,6
+40,7
@@
#include <TopoDS.hxx>
#include <gp_Lin.hxx>
#include <gp_Pln.hxx>
#include <TopoDS.hxx>
#include <gp_Lin.hxx>
#include <gp_Pln.hxx>
+
#include "utilities.h"
#include <string>
#include "utilities.h"
#include <string>
@@
-119,7
+119,7
@@
namespace
bool tooClose = ( angle < 15. * M_PI / 180. );
// Check if pyramids collide
bool tooClose = ( angle < 15. * M_PI / 180. );
// Check if pyramids collide
- if ( !tooClose &&
baI * baJ > 0
)
+ if ( !tooClose &&
( baI * baJ > 0 ) && ( nI * nJ > 0 )
)
{
// find out if nI points outside of PrmI or inside
int dInd = baseNodesIndI[1] - baseNodesIndI[0];
{
// find out if nI points outside of PrmI or inside
int dInd = baseNodesIndI[1] - baseNodesIndI[0];
@@
-1290,7
+1290,7
@@
bool StdMeshers_QuadToTriaAdaptor::Compute2ndPart(SMESH_Mesh&
nodesToMove.insert( aNode1 );
nodesToMove.insert( aNode2 );
}
nodesToMove.insert( aNode1 );
nodesToMove.insert( aNode2 );
}
- // fix intersections that c
ould
appear after apex movement
+ // fix intersections that c
an
appear after apex movement
MergeAdjacent( PrmI, nodesToMove );
MergeAdjacent( PrmJ, nodesToMove );
MergeAdjacent( PrmI, nodesToMove );
MergeAdjacent( PrmJ, nodesToMove );