Merge pull request #450 from joakim-hove/ep-value
Use value objects for endpoint scaling
This commit is contained in:
commit
92f430cd1d
@ -180,12 +180,12 @@ public:
|
|||||||
const auto tolcrit = runspec.saturationFunctionControls()
|
const auto tolcrit = runspec.saturationFunctionControls()
|
||||||
.minimumRelpermMobilityThreshold();
|
.minimumRelpermMobilityThreshold();
|
||||||
|
|
||||||
const auto rtepPtr = satfunc::getRawTableEndpoints(tables, ph, tolcrit);
|
const auto rtep = satfunc::getRawTableEndpoints(tables, ph, tolcrit);
|
||||||
const auto rfuncPtr = satfunc::getRawFunctionValues(tables, ph, *rtepPtr);
|
const auto rfunc = satfunc::getRawFunctionValues(tables, ph, rtep);
|
||||||
|
|
||||||
for (unsigned satRegionIdx = 0; satRegionIdx < numSatRegions; ++satRegionIdx) {
|
for (unsigned satRegionIdx = 0; satRegionIdx < numSatRegions; ++satRegionIdx) {
|
||||||
this->unscaledEpsInfo_[satRegionIdx]
|
this->unscaledEpsInfo_[satRegionIdx]
|
||||||
.extractUnscaled(*rtepPtr, *rfuncPtr, satRegionIdx);
|
.extractUnscaled(rtep, rfunc, satRegionIdx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user