mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Move hard coded parameter names to RiaDefines
This commit is contained in:
@@ -484,13 +484,16 @@ std::map<std::string, std::vector<std::string> > RigFemPartResultsCollection::sc
|
||||
}
|
||||
else if (resPos == RIG_WELLPATH_DERIVED)
|
||||
{
|
||||
fieldCompNames["Azimuth"];
|
||||
fieldCompNames["FractureGradient"];
|
||||
fieldCompNames["Inclination"];
|
||||
fieldCompNames["PP"];
|
||||
fieldCompNames["OBG"];
|
||||
fieldCompNames["SH"];
|
||||
fieldCompNames["ShearFailureGradient"];
|
||||
std::vector<QString> angles = RiaDefines::wellPathAngleResultNames();
|
||||
for (QString angle : angles)
|
||||
{
|
||||
fieldCompNames[angle.toStdString()];
|
||||
}
|
||||
std::vector<QString> derivedResults = RiaDefines::wellPathStabilityResultNames();
|
||||
for (QString result : derivedResults)
|
||||
{
|
||||
fieldCompNames[result.toStdString()];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user