Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compilation on Linux
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_LinearInterpolator.cxx
diff --git
a/src/HYDROData/HYDROData_LinearInterpolator.cxx
b/src/HYDROData/HYDROData_LinearInterpolator.cxx
index fedb3f12b8b9066f03c68817876060a042fa9167..9a8a7a9313a7c2084ab0a99ea196315441ef531c 100644
(file)
--- a/
src/HYDROData/HYDROData_LinearInterpolator.cxx
+++ b/
src/HYDROData/HYDROData_LinearInterpolator.cxx
@@
-21,7
+21,8
@@
//
#include "HYDROData_LinearInterpolator.h"
//
#include "HYDROData_LinearInterpolator.h"
-
+#include <cstdlib>
+#include <cmath>
HYDROData_LinearInterpolator::HYDROData_LinearInterpolator()
{
HYDROData_LinearInterpolator::HYDROData_LinearInterpolator()
{
@@
-31,9
+32,9
@@
HYDROData_LinearInterpolator::~HYDROData_LinearInterpolator()
{
}
{
}
-
std::s
tring HYDROData_LinearInterpolator::GetDescription() const
+
TCollection_AsciiS
tring HYDROData_LinearInterpolator::GetDescription() const
{
{
-
std::s
tring aDescription( "Simple linear interpolator" );
+
TCollection_AsciiS
tring aDescription( "Simple linear interpolator" );
return aDescription;
}
return aDescription;
}
@@
-44,8
+45,8
@@
void HYDROData_LinearInterpolator::Calculate()
ClearResults();
// Check input data
ClearResults();
// Check input data
- std::vector<double> aProfile1 = GetFirstProfile();
- std::vector<double> aProfile2 = GetSecondProfile();
+ std::vector<double> aProfile1 = GetFirstProfile
Coords
();
+ std::vector<double> aProfile2 = GetSecondProfile
Coords
();
int aNbProfilesToCompute = GetNbProfilesToCompute();
int aSize1 = aProfile1.size();
int aNbProfilesToCompute = GetNbProfilesToCompute();
int aSize1 = aProfile1.size();