mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8027 StimPlan Model Export: Add perforation, formation and facies info
This commit is contained in:
@@ -54,7 +54,7 @@ RimStimPlanModelLayerCalculator::RimStimPlanModelLayerCalculator( RimStimPlanMod
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimStimPlanModelLayerCalculator::isMatching( RiaDefines::CurveProperty curveProperty ) const
|
||||
{
|
||||
return curveProperty == RiaDefines::CurveProperty::LAYERS;
|
||||
return ( curveProperty == RiaDefines::CurveProperty::LAYERS || curveProperty == RiaDefines::CurveProperty::FORMATIONS );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -165,7 +165,16 @@ bool RimStimPlanModelLayerCalculator::calculate( RiaDefines::CurveProperty curve
|
||||
layerNo++;
|
||||
}
|
||||
|
||||
values[i] = layerNo;
|
||||
if ( curveProperty == RiaDefines::CurveProperty::LAYERS )
|
||||
{
|
||||
values[i] = layerNo;
|
||||
}
|
||||
else
|
||||
{
|
||||
CAF_ASSERT( curveProperty == RiaDefines::CurveProperty::FORMATIONS );
|
||||
values[i] = curveData.data[i];
|
||||
}
|
||||
|
||||
previousFormation = curveData.data[i];
|
||||
previousFacies = faciesValues[i];
|
||||
if ( useNetToGross )
|
||||
|
||||
Reference in New Issue
Block a user