mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-13 17:02:13 -05:00
#1585 Move more code away from StimPlanTemplate
This commit is contained in:
1 parent
681a3404b4
commit
bd03fa4791
3 files changed
+21
-59
No files matched your search
@@ -100,6 +100,19 @@ public:
|
||||
return depthRelativeToWellPath;
|
||||
}
|
||||
|
||||
std::vector<std::pair<QString, QString> > getStimPlanPropertyNamesUnits() const
|
||||
{
|
||||
std::vector<std::pair<QString, QString> > propertyNamesUnits;
|
||||
{
|
||||
std::vector<RigStimPlanResultFrames > allStimPlanData = this->stimPlanData;
|
||||
for (RigStimPlanResultFrames stimPlanDataEntry : allStimPlanData)
|
||||
{
|
||||
propertyNamesUnits.push_back(std::make_pair(stimPlanDataEntry.resultName, stimPlanDataEntry.unit));
|
||||
}
|
||||
}
|
||||
return propertyNamesUnits;
|
||||
}
|
||||
|
||||
|
||||
std::vector<std::vector<double>> getMirroredDataAtTimeIndex(const QString& resultName,
|
||||
const QString& unitName,
|
||||
|
||||
Reference in new issue
Block a user