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
IPAL10786: "Edit" is unnecessary functionality for some Mesh hypotheses
[modules/smesh.git]
/
src
/
SMESH_I
/
SMESH_Measurements_i.cxx
diff --git
a/src/SMESH_I/SMESH_Measurements_i.cxx
b/src/SMESH_I/SMESH_Measurements_i.cxx
index f078bdc10fe6c1f67188b8d756128b08b67beee6..b17fc6c4ac4775b4098b14a088a0f78e1451ab87 100644
(file)
--- a/
src/SMESH_I/SMESH_Measurements_i.cxx
+++ b/
src/SMESH_I/SMESH_Measurements_i.cxx
@@
-132,7
+132,8
@@
static bool isNodeType (SMESH::array_of_ElementType_var theTypes)
return theTypes->length() > 0 && theTypes[0] == SMESH::NODE;
}
return theTypes->length() > 0 && theTypes[0] == SMESH::NODE;
}
-static double getNumericalValue(SMESH::SMESH_IDSource_ptr theSource, SMESH::Controls::NumericalFunctorPtr theFunctor)
+static double getNumericalValue(SMESH::SMESH_IDSource_ptr theSource,
+ SMESH::Controls::NumericalFunctorPtr theFunctor)
{
double value = 0;
{
double value = 0;
@@
-142,7
+143,7
@@
static double getNumericalValue(SMESH::SMESH_IDSource_ptr theSource, SMESH::Cont
theFunctor->SetMesh( aMesh );
SMESH::long_array_var anElementsId = theSource->GetIDs();
theFunctor->SetMesh( aMesh );
SMESH::long_array_var anElementsId = theSource->GetIDs();
- for (
int
i = 0; i < anElementsId->length(); i++) {
+ for (
CORBA::ULong
i = 0; i < anElementsId->length(); i++) {
value += theFunctor->GetValue( anElementsId[i] );
}
}
value += theFunctor->GetValue( anElementsId[i] );
}
}