Support loading only last geomech frame (#9727)

Support option for loading only the last frame for each geomech timestep. Turn it default on for old projects.
This commit is contained in:
jonjenssen
2023-01-24 18:30:30 +01:00
committed by Magne Sjaastad
parent 565be8716a
commit 09248011ef
8 changed files with 105 additions and 23 deletions

View File

@@ -363,7 +363,9 @@ RimGeoMechCase::CaseOpenStatus RimGeoMechCase::openGeoMechCase( std::string* err
}
// Continue reading the open file
if ( !geoMechCaseData->readFemParts( errorMessage, m_timeStepFilter->filteredTimeSteps() ) )
if ( !geoMechCaseData->readFemParts( errorMessage,
m_timeStepFilter->filteredTimeSteps(),
m_timeStepFilter->readOnlyLastFrame() ) )
{
return CASE_OPEN_ERROR;
}