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 #20256: [CEA 18523] Porting SMESH to int 64 bits
[modules/smesh.git]
/
src
/
SMESH
/
SMESH_ProxyMesh.cxx
diff --git
a/src/SMESH/SMESH_ProxyMesh.cxx
b/src/SMESH/SMESH_ProxyMesh.cxx
index ae7027860eea14db5c9ad706f37fb75fc2bea1e5..4c1a87ea4645c48fbec7e903f627d666d0fc61e3 100644
(file)
--- a/
src/SMESH/SMESH_ProxyMesh.cxx
+++ b/
src/SMESH/SMESH_ProxyMesh.cxx
@@
-402,9
+402,9
@@
SMDS_ElemIteratorPtr SMESH_ProxyMesh::GetFaces() const
*/
//================================================================================
*/
//================================================================================
-
int
SMESH_ProxyMesh::NbFaces() const
+
smIdType
SMESH_ProxyMesh::NbFaces() const
{
{
-
int
nb = 0;
+
smIdType
nb = 0;
if ( _mesh->HasShapeToMesh() )
{
TopTools_IndexedMapOfShape FF;
if ( _mesh->HasShapeToMesh() )
{
TopTools_IndexedMapOfShape FF;
@@
-715,7
+715,7
@@
void SMESH_ProxyMesh::SubMesh::Clear()
*/
//================================================================================
*/
//================================================================================
-
int
SMESH_ProxyMesh::SubMesh::NbElements() const
+
smIdType
SMESH_ProxyMesh::SubMesh::NbElements() const
{
return _uvPtStructVec.empty() ? _elements.size() : _uvPtStructVec.size() - 1;
}
{
return _uvPtStructVec.empty() ? _elements.size() : _uvPtStructVec.size() - 1;
}
@@
-740,7
+740,7
@@
SMDS_ElemIteratorPtr SMESH_ProxyMesh::SubMesh::GetElements() const
*/
//================================================================================
*/
//================================================================================
-
int
SMESH_ProxyMesh::SubMesh::NbNodes() const
+
smIdType
SMESH_ProxyMesh::SubMesh::NbNodes() const
{
return _uvPtStructVec.size();
}
{
return _uvPtStructVec.size();
}