mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-11 07:56:08 -06:00
#2390 Fracture: Set minimum 10 m perf length
This commit is contained in:
parent
b2bdd996d2
commit
61d8a76587
@ -370,10 +370,15 @@ void RimStimPlanFractureTemplate::setPerforationLength()
|
|||||||
{
|
{
|
||||||
perforationLength = std::round(cvf::Math::abs(firstTvd - lastTvd));
|
perforationLength = std::round(cvf::Math::abs(firstTvd - lastTvd));
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
perforationLength = 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (fractureTemplateUnit == RiaEclipseUnitTools::UNITS_METRIC && perforationLength < 10)
|
||||||
|
{
|
||||||
|
perforationLength = 10;
|
||||||
|
}
|
||||||
|
else if (fractureTemplateUnit == RiaEclipseUnitTools::UNITS_FIELD && perforationLength < RiaEclipseUnitTools::meterToFeet(10))
|
||||||
|
{
|
||||||
|
perforationLength = std::round(RiaEclipseUnitTools::meterToFeet(10));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user