mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1721 Updating value used if trig calculation of azimuth value for simWell cannot be used due to 0 y component (well oriented East-West)
This commit is contained in:
parent
d55c362bf0
commit
313752bb7c
@ -137,8 +137,8 @@ double RigSimulationWellCoordsAndMD::simWellAzimuthAngle(const cvf::Vec3d& posit
|
||||
{
|
||||
size_t closestIndex = findClosestIndex(position);
|
||||
|
||||
//For vertical well (x-component of direction = 0) returned angle will be 0.
|
||||
double azimuthAngle = 0.0;
|
||||
//For vertical well (x-component of direction = 0) returned angle will be 90.
|
||||
double azimuthAngle = 90.0;
|
||||
|
||||
if (closestIndex != cvf::UNDEFINED_DOUBLE)
|
||||
{
|
||||
|
@ -114,7 +114,7 @@ double RigWellPath::wellPathAzimuthAngle(const cvf::Vec3d& position) const
|
||||
}
|
||||
}
|
||||
|
||||
//For vertical well (x-component of direction = 0) returned angle will be 0.
|
||||
//For vertical well (x-component of direction = 0) returned angle will be 90.
|
||||
double AzimuthAngle = 90.0;
|
||||
|
||||
if (closestIndex != cvf::UNDEFINED_DOUBLE)
|
||||
|
Loading…
Reference in New Issue
Block a user