mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-13 00:42:12 -05:00
#1301 - pre-proto - Setting stimPlan Fracture template unit system based on unit of conductivity in input stimplan file.
This commit is contained in:
1 parent
6d791ca3e0
commit
228e39880f
1 file changed
+15
@@ -220,6 +220,21 @@ void RimStimPlanFractureTemplate::readStimPlanXMLFile(QString * errorMessage)
|
||||
|
||||
RiaLogging::info(QString("%1 [%2]").arg(parameter, unit));
|
||||
|
||||
if (parameter == "CONDUCTIVITY")
|
||||
{
|
||||
if (unit == "md-ft")
|
||||
{
|
||||
fractureTemplateUnit = RimDefines::UNITS_FIELD;
|
||||
RiaLogging::info(QString("Setting unit system to Field for StimPlan fracture template %1").arg(name));
|
||||
}
|
||||
if (unit == "md-m")
|
||||
{
|
||||
fractureTemplateUnit = RimDefines::UNITS_METRIC;
|
||||
RiaLogging::info(QString("Setting unit system to Metric for StimPlan fracture template %1").arg(name));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
else if (xmlStream2.name() == "time")
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user