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;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -64,10 +64,16 @@ public:
|
||||
size_t yCount() const;
|
||||
double minDepth() const;
|
||||
double maxDepth() const;
|
||||
double topPerfTvd() const;
|
||||
double bottomPerfTvd() const;
|
||||
void setTvdToTopPerf( double topPerfTvd );
|
||||
void setTvdToBottomPerf( double bottomPerfTvd );
|
||||
|
||||
double topPerfTvd() const;
|
||||
double bottomPerfTvd() const;
|
||||
void setTvdToTopPerf( double topPerfTvd );
|
||||
void setTvdToBottomPerf( double bottomPerfTvd );
|
||||
|
||||
double topPerfMd() const;
|
||||
double bottomPerfMd() const;
|
||||
void setMdToTopPerf( double topPerfMd );
|
||||
void setMdToBottomPerf( double bottomPerfMd );
|
||||
|
||||
cvf::ref<RigFractureGrid> createFractureGrid( const QString& resultName,
|
||||
int activeTimeStepIndex,
|
||||
@@ -131,4 +137,6 @@ private:
|
||||
|
||||
double m_topPerfTvd;
|
||||
double m_bottomPerfTvd;
|
||||
double m_topPerfMd;
|
||||
double m_bottomPerfMd;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user