mirror of
https://github.com/OPM/ResInsight.git
synced 2026-08-27 05:37:21 -05:00
Thermal Fracture Import: block fracture without time steps.
This commit is contained in:
committed by
Magne Sjaastad
parent
107a4dfe95
commit
2f3c0480fc
@@ -166,6 +166,11 @@ std::pair<std::shared_ptr<RigThermalFractureDefinition>, QString> RifThermalFrac
|
||||
lineNumber++;
|
||||
}
|
||||
|
||||
if ( definition->numTimeSteps() == 0 )
|
||||
{
|
||||
return std::make_pair( nullptr, QString( "No time steps found: %1" ).arg( filePath ) );
|
||||
}
|
||||
|
||||
return std::make_pair( definition, "" );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user