mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Improved result accessor factory
Moved clamping of time step to zero for static results into factory
This commit is contained in:
@@ -213,14 +213,11 @@ void RimWellLogExtractionCurve::updatePlotData()
|
||||
tvDepthValues = eclExtractor->trueVerticalDepth();
|
||||
}
|
||||
|
||||
RifReaderInterface::PorosityModelResultType porosityModel = RigCaseCellResultsData::convertFromProjectModelPorosityModel(m_eclipseResultDefinition->porosityModel());
|
||||
m_eclipseResultDefinition->loadResult();
|
||||
|
||||
cvf::ref<RigResultAccessor> resAcc = RigResultAccessorFactory::createResultAccessor(
|
||||
eclipseCase->reservoirData(), 0,
|
||||
porosityModel,
|
||||
eclipseCase->reservoirData(),
|
||||
0,
|
||||
m_timeStep,
|
||||
m_eclipseResultDefinition->resultVariable());
|
||||
m_eclipseResultDefinition);
|
||||
|
||||
if (resAcc.notNull())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user