Add support for two Stimplan file formats (#6015)

#5990 XML import : Support two Stimplan file formats
This commit is contained in:
Magne Sjaastad
2020-06-03 18:46:25 +02:00
committed by GitHub
parent 77090bce6a
commit 88ddeddca6
10 changed files with 783 additions and 53 deletions

View File

@@ -46,9 +46,11 @@ const double RigStimPlanFractureDefinition::THRESHOLD_VALUE = 1e-5;
//--------------------------------------------------------------------------------------------------
RigStimPlanFractureDefinition::RigStimPlanFractureDefinition()
: m_unitSet( RiaEclipseUnitTools::UnitSystem::UNITS_UNKNOWN )
, m_xMirrorMode( false )
, m_topPerfTvd( HUGE_VAL )
, m_bottomPerfTvd( HUGE_VAL )
, m_xMirrorMode( false )
, m_topPerfMd( HUGE_VAL )
, m_bottomPerfMd( HUGE_VAL )
{
}
@@ -171,6 +173,38 @@ void RigStimPlanFractureDefinition::setTvdToBottomPerf( double bottomPerfTvd )
m_bottomPerfTvd = bottomPerfTvd;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
double RigStimPlanFractureDefinition::topPerfMd() const
{
return m_topPerfMd;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
double RigStimPlanFractureDefinition::bottomPerfMd() const
{
return m_bottomPerfMd;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RigStimPlanFractureDefinition::setMdToTopPerf( double topPerfMd )
{
m_topPerfMd = topPerfMd;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RigStimPlanFractureDefinition::setMdToBottomPerf( double bottomPerfMd )
{
m_bottomPerfMd = bottomPerfMd;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------