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
Regression of doc/salome/examples/transforming_meshes_ex10.py
[modules/smesh.git]
/
src
/
SMDS
/
SMDS_QuadraticVolumeOfNodes.cxx
diff --git
a/src/SMDS/SMDS_QuadraticVolumeOfNodes.cxx
b/src/SMDS/SMDS_QuadraticVolumeOfNodes.cxx
index 90134e0d38f63224ecb34366714a7fd53c5351f0..92da9c6f1bdf084977edf4f4fd210d48519bd2d8 100644
(file)
--- a/
src/SMDS/SMDS_QuadraticVolumeOfNodes.cxx
+++ b/
src/SMDS/SMDS_QuadraticVolumeOfNodes.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
3
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
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
@@
-6,7
+6,7
@@
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License
, or (at your option) any later version
.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-215,7
+215,7
@@
bool SMDS_QuadraticVolumeOfNodes::IsMediumNode(const SMDS_MeshNode* node) const
case 15: nbCorners = 6; break;
default: nbCorners = 8;
}
case 15: nbCorners = 6; break;
default: nbCorners = 8;
}
- for (
in
t i = nbCorners; i<myNodes.size(); i++) {
+ for (
size_
t i = nbCorners; i<myNodes.size(); i++) {
if(myNodes[i]==node) return true;
}
return false;
if(myNodes[i]==node) return true;
}
return false;
@@
-318,7
+318,7
@@
public:
class _MySubIterator : public SMDS_ElemIterator
{
vector< const SMDS_MeshElement* > myElems;
class _MySubIterator : public SMDS_ElemIterator
{
vector< const SMDS_MeshElement* > myElems;
-
int
myIndex;
+
size_t
myIndex;
public:
_MySubIterator(const SMDS_MeshVolume* vol, SMDSAbs_ElementType type):myIndex(0) {
SMDS_VolumeTool vTool(vol);
public:
_MySubIterator(const SMDS_MeshVolume* vol, SMDSAbs_ElementType type):myIndex(0) {
SMDS_VolumeTool vTool(vol);