mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-13 08:52:14 -05:00
#7719 Multi-lateral wells : Use top level well path to get air gap
Get airgap/md at first target from top level well path
This commit is contained in:
1 parent
9cd4edb025
commit
3d44ad37db
1 file changed
+5
-1
@@ -41,7 +41,11 @@ void RigWellPathGeometryExporter::exportWellPathGeometry( gsl::not_null<const Ri
|
||||
useMdRkb = false;
|
||||
double rkbOffset = 0.0;
|
||||
{
|
||||
const RimModeledWellPath* modeledWellPath = dynamic_cast<const RimModeledWellPath*>( wellPath.get() );
|
||||
// Always use top level modeled well path for definitions MD at first coordinate
|
||||
|
||||
const RimModeledWellPath* modeledWellPath =
|
||||
dynamic_cast<const RimModeledWellPath*>( wellPath.get()->topLevelWellPath() );
|
||||
|
||||
if ( modeledWellPath )
|
||||
{
|
||||
useMdRkb = true;
|
||||
|
||||
Reference in new issue
Block a user