#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:
astridkbjorke 2017-08-02 11:36:46 +02:00
parent d55c362bf0
commit 313752bb7c
2 changed files with 3 additions and 3 deletions

View File

@ -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)
{

View File

@ -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)