mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add well angles in degrees, not radians.
This commit is contained in:
parent
8c27a0f656
commit
abd4e80b48
@ -47,6 +47,8 @@
|
||||
#include "cafPdmUiFilePathEditor.h"
|
||||
#include "cafPdmUiTableViewEditor.h"
|
||||
|
||||
#include "cvfMath.h"
|
||||
|
||||
#include <QDebug>
|
||||
#include <QFileInfo>
|
||||
|
||||
@ -495,8 +497,8 @@ bool RimWellIASettings::updateResInsightParameters()
|
||||
|
||||
auto angles = RigWellPathGeometryTools::calculateAzimuthAndInclinationAtMd( ( m_startMD + m_endMD ) / 2.0,
|
||||
wellPath()->wellPathGeometry() );
|
||||
initialStress->addParameter( "azimuth_well", angles.first );
|
||||
initialStress->addParameter( "inclination_well", angles.second );
|
||||
initialStress->addParameter( "azimuth_well", cvf::Math::toDegrees( angles.first ) );
|
||||
initialStress->addParameter( "inclination_well", cvf::Math::toDegrees( angles.second ) );
|
||||
|
||||
m_parametersRI.push_back( initialStress );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user