mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
6365 additional stimplan xml parameters (#7318)
* #6365 StimPlan XML: Parse formation dip and fracture orientation. * #6365 Fracture: Use formation dip and fracture orientation from XML. * #6365 Fracture: Compare case insensitive, use enum class Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
This commit is contained in:
committed by
GitHub
parent
88b7a5807d
commit
751ebf7eb6
@@ -52,6 +52,8 @@ RigStimPlanFractureDefinition::RigStimPlanFractureDefinition()
|
||||
, m_bottomPerfTvd( HUGE_VAL )
|
||||
, m_topPerfMd( HUGE_VAL )
|
||||
, m_bottomPerfMd( HUGE_VAL )
|
||||
, m_formationDip( HUGE_VAL )
|
||||
, m_orientation( Orientation::UNDEFINED )
|
||||
{
|
||||
}
|
||||
|
||||
@@ -733,3 +735,35 @@ size_t findMirrorXIndex( std::vector<double> xs )
|
||||
|
||||
return mirrorIndex;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
double RigStimPlanFractureDefinition::formationDip() const
|
||||
{
|
||||
return m_formationDip;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigStimPlanFractureDefinition::setFormationDip( double formationDip )
|
||||
{
|
||||
m_formationDip = formationDip;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RigStimPlanFractureDefinition::Orientation RigStimPlanFractureDefinition::orientation() const
|
||||
{
|
||||
return m_orientation;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigStimPlanFractureDefinition::setOrientation( RigStimPlanFractureDefinition::Orientation orientation )
|
||||
{
|
||||
m_orientation = orientation;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user