mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1301 - pre-proto - Setting stimPlan Fracture template unit system based on unit of conductivity in input stimplan file.
This commit is contained in:
parent
6d791ca3e0
commit
228e39880f
@ -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")
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user