mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Refactor use of grid dimensions
This commit is contained in:
@@ -73,7 +73,7 @@ bool RifReaderEclipseInput::open( const QString& fileName, RigEclipseCaseData* e
|
||||
// create InputProperty object
|
||||
|
||||
bool isOk = false;
|
||||
if ( eclipseCase->mainGrid()->gridPointDimensions() == cvf::Vec3st( 0, 0, 0 ) )
|
||||
if ( eclipseCase->mainGrid()->cellCount() == 0 )
|
||||
{
|
||||
QString errorMesssages;
|
||||
isOk = RifEclipseInputFileTools::openGridFile( fileName, eclipseCase, isFaultImportEnabled(), &errorMesssages );
|
||||
|
||||
Reference in New Issue
Block a user