mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7660 Imported Input Properties should be time step independent
This commit is contained in:
parent
e1e7201b9b
commit
7ecd9b462a
@ -100,6 +100,13 @@ cvf::ref<RigResultAccessor> RigResultAccessorFactory::createFromResultAddress( c
|
|||||||
{
|
{
|
||||||
adjustedTimeStepIndex = 0;
|
adjustedTimeStepIndex = 0;
|
||||||
}
|
}
|
||||||
|
else if ( resVarAddr.resultCatType() == RiaDefines::ResultCatType::INPUT_PROPERTY )
|
||||||
|
{
|
||||||
|
if ( eclipseCase->results( porosityModel )->timeStepCount( resVarAddr ) == 1 )
|
||||||
|
{
|
||||||
|
adjustedTimeStepIndex = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
cvf::ref<RigResultAccessor> derivedCandidate =
|
cvf::ref<RigResultAccessor> derivedCandidate =
|
||||||
createCombinedResultAccessor( eclipseCase, gridIndex, porosityModel, adjustedTimeStepIndex, resVarAddr );
|
createCombinedResultAccessor( eclipseCase, gridIndex, porosityModel, adjustedTimeStepIndex, resVarAddr );
|
||||||
|
Loading…
Reference in New Issue
Block a user