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
bos #24400 [CEA] Option in SALOME for not storing in med files the indices (number...
[modules/smesh.git]
/
src
/
SMESH
/
SMESH_Algo.cxx
diff --git
a/src/SMESH/SMESH_Algo.cxx
b/src/SMESH/SMESH_Algo.cxx
index bdc93b1a12322f164fcac8eec8c1864ff88dbd70..cb9cc74899e73b46ecf375033938402e4ec4f66a 100644
(file)
--- a/
src/SMESH/SMESH_Algo.cxx
+++ b/
src/SMESH/SMESH_Algo.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-202
0
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-202
1
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
@@
-518,7
+518,7
@@
GeomAbs_Shape SMESH_Algo::Continuity(const TopoDS_Edge& theE1,
OCC_CATCH_SIGNALS;
return BRepLProp::Continuity(C1, C2, u1, u2, tol, angTol);
}
OCC_CATCH_SIGNALS;
return BRepLProp::Continuity(C1, C2, u1, u2, tol, angTol);
}
- catch (Standard_Failure) {
+ catch (Standard_Failure
&
) {
}
return GeomAbs_C0;
}
}
return GeomAbs_C0;
}
@@
-858,7
+858,7
@@
bool SMESH_Algo::Compute(SMESH_Mesh & /*aMesh*/, SMESH_MesherHelper* /*aHelper*/
//purpose : Return true if the algorithm can mesh a given shape
//=======================================================================
//purpose : Return true if the algorithm can mesh a given shape
//=======================================================================
-bool SMESH_Algo::IsApplicableToShape(const TopoDS_Shape &
shape, bool toCheckAll
) const
+bool SMESH_Algo::IsApplicableToShape(const TopoDS_Shape &
/*shape*/, bool /*toCheckAll*/
) const
{
return true;
}
{
return true;
}
@@
-1038,12
+1038,12
@@
void SMESH_Algo::addBadInputElements(const SMESHDS_SubMesh* sm,
*/
//=============================================================================
*/
//=============================================================================
-
int
SMESH_Algo::NumberOfPoints(SMESH_Mesh& aMesh, const TopoDS_Wire& W)
+
smIdType
SMESH_Algo::NumberOfPoints(SMESH_Mesh& aMesh, const TopoDS_Wire& W)
{
{
-
int
nbPoints = 0;
+
smIdType
nbPoints = 0;
for (TopExp_Explorer exp(W,TopAbs_EDGE); exp.More(); exp.Next()) {
const TopoDS_Edge& E = TopoDS::Edge(exp.Current());
for (TopExp_Explorer exp(W,TopAbs_EDGE); exp.More(); exp.Next()) {
const TopoDS_Edge& E = TopoDS::Edge(exp.Current());
-
int
nb = aMesh.GetSubMesh(E)->GetSubMeshDS()->NbNodes();
+
smIdType
nb = aMesh.GetSubMesh(E)->GetSubMeshDS()->NbNodes();
if(_quadraticMesh)
nb = nb/2;
nbPoints += nb + 1; // internal points plus 1 vertex of 2 (last point ?)
if(_quadraticMesh)
nb = nb/2;
nbPoints += nb + 1; // internal points plus 1 vertex of 2 (last point ?)
@@
-1261,7
+1261,7
@@
bool SMESH_2D_Algo::FixInternalNodes(const SMESH_ProxyMesh& mesh,
//purpose : Return true if the algorithm can mesh a given shape
//=======================================================================
//purpose : Return true if the algorithm can mesh a given shape
//=======================================================================
-bool SMESH_1D_Algo::IsApplicableToShape(const TopoDS_Shape & shape, bool
toCheckAll
) const
+bool SMESH_1D_Algo::IsApplicableToShape(const TopoDS_Shape & shape, bool
/*toCheckAll*/
) const
{
return ( !shape.IsNull() && TopExp_Explorer( shape, TopAbs_EDGE ).More() );
}
{
return ( !shape.IsNull() && TopExp_Explorer( shape, TopAbs_EDGE ).More() );
}
@@
-1271,7
+1271,7
@@
bool SMESH_1D_Algo::IsApplicableToShape(const TopoDS_Shape & shape, bool toCheck
//purpose : Return true if the algorithm can mesh a given shape
//=======================================================================
//purpose : Return true if the algorithm can mesh a given shape
//=======================================================================
-bool SMESH_2D_Algo::IsApplicableToShape(const TopoDS_Shape & shape, bool
toCheckAll
) const
+bool SMESH_2D_Algo::IsApplicableToShape(const TopoDS_Shape & shape, bool
/*toCheckAll*/
) const
{
return ( !shape.IsNull() && TopExp_Explorer( shape, TopAbs_FACE ).More() );
}
{
return ( !shape.IsNull() && TopExp_Explorer( shape, TopAbs_FACE ).More() );
}
@@
-1281,7
+1281,7
@@
bool SMESH_2D_Algo::IsApplicableToShape(const TopoDS_Shape & shape, bool toCheck
//purpose : Return true if the algorithm can mesh a given shape
//=======================================================================
//purpose : Return true if the algorithm can mesh a given shape
//=======================================================================
-bool SMESH_3D_Algo::IsApplicableToShape(const TopoDS_Shape & shape, bool
toCheckAll
) const
+bool SMESH_3D_Algo::IsApplicableToShape(const TopoDS_Shape & shape, bool
/*toCheckAll*/
) const
{
return ( !shape.IsNull() && TopExp_Explorer( shape, TopAbs_SOLID ).More() );
}
{
return ( !shape.IsNull() && TopExp_Explorer( shape, TopAbs_SOLID ).More() );
}