mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06: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:
parent
9cd4edb025
commit
3d44ad37db
@ -41,7 +41,11 @@ void RigWellPathGeometryExporter::exportWellPathGeometry( gsl::not_null<const Ri
|
|||||||
useMdRkb = false;
|
useMdRkb = false;
|
||||||
double rkbOffset = 0.0;
|
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 )
|
if ( modeledWellPath )
|
||||||
{
|
{
|
||||||
useMdRkb = true;
|
useMdRkb = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user