mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add support for two Stimplan file formats (#6015)
#5990 XML import : Support two Stimplan file formats
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user