mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 15:10:22 -05:00
Possible fix for #14334
This commit is contained in:
1 parent
931c8d066c
commit
f96c9354c1
1 file changed
+2
-3
@@ -105,9 +105,8 @@ double RigStimPlanModelTools::calculateAngleFromVertical( const cvf::Vec3d& dire
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
double RigStimPlanModelTools::calculateFormationDipFromHorizontal( const cvf::Vec3d& direction )
|
||||
{
|
||||
// Convert from angle-with-vertical to angle-from-horizontal, and take abs since
|
||||
// direction sign depends on fracture normal orientation.
|
||||
return std::abs( calculateAngleFromVertical( direction ) - 90.0 );
|
||||
// Convert from angle-with-vertical to angle-from-horizontal
|
||||
return calculateAngleFromVertical( direction ) - 90.0;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user