Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'V9_9_BR'
[modules/smesh.git]
/
src
/
StdMeshers
/
StdMeshers_PolyhedronPerSolid_3D.cxx
diff --git
a/src/StdMeshers/StdMeshers_PolyhedronPerSolid_3D.cxx
b/src/StdMeshers/StdMeshers_PolyhedronPerSolid_3D.cxx
index 5debedb31bfdf524a729edb6617e460fdff4eac7..25c46a2512454ce9e366b4bf32db5b1a60b41e78 100644
(file)
--- a/
src/StdMeshers/StdMeshers_PolyhedronPerSolid_3D.cxx
+++ b/
src/StdMeshers/StdMeshers_PolyhedronPerSolid_3D.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-202
0
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-202
2
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-299,10
+299,6
@@
namespace
if ( hexa[1] == -1 )
return newHexPrism;
if ( hexa[1] == -1 )
return newHexPrism;
- int iSide = hexa[0] + 1;
- if ( iSide == hexa[1] )
- ++iSide;
-
const SMDS_MeshElement* botFace = faces[ hexa[ 0 ]];
const SMDS_MeshElement* topFace = faces[ hexa[ 1 ]];
std::vector< const SMDS_MeshNode* > nodes( 24 ); // last 12 is a working buffer
const SMDS_MeshElement* botFace = faces[ hexa[ 0 ]];
const SMDS_MeshElement* topFace = faces[ hexa[ 1 ]];
std::vector< const SMDS_MeshNode* > nodes( 24 ); // last 12 is a working buffer
@@
-580,7
+576,7
@@
bool StdMeshers_PolyhedronPerSolid_3D::Evaluate(SMESH_Mesh& theMesh,
case TopAbs_FACE:
{
myFaceMesher->Evaluate( theMesh, shape, theResMap );
case TopAbs_FACE:
{
myFaceMesher->Evaluate( theMesh, shape, theResMap );
- std::vector<
int
> & quantities = theResMap[ sm ];
+ std::vector<
smIdType
> & quantities = theResMap[ sm ];
_quadraticMesh = ( !quantities.empty() &&
( quantities[ SMDSEntity_Quad_Triangle ] +
quantities[ SMDSEntity_Quad_Quadrangle ] +
_quadraticMesh = ( !quantities.empty() &&
( quantities[ SMDSEntity_Quad_Triangle ] +
quantities[ SMDSEntity_Quad_Quadrangle ] +
@@
-590,7
+586,7
@@
bool StdMeshers_PolyhedronPerSolid_3D::Evaluate(SMESH_Mesh& theMesh,
case TopAbs_SOLID:
{
case TopAbs_SOLID:
{
- std::vector<
int
> & quantities = theResMap[ sm ];
+ std::vector<
smIdType
> & quantities = theResMap[ sm ];
quantities.resize( SMDSEntity_Last, 0 );
SMESH_MesherHelper helper( theMesh );
quantities.resize( SMDSEntity_Last, 0 );
SMESH_MesherHelper helper( theMesh );