mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4204 Export faults as part of visible grid export
#4204 Enable reading of faults from a different file than the main grid file
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
|
||||
#include "RifReaderEclipseInput.h"
|
||||
|
||||
#include "RiaLogging.h"
|
||||
#include "RifEclipseInputFileTools.h"
|
||||
|
||||
#include "RigEclipseCaseData.h"
|
||||
@@ -74,7 +75,12 @@ bool RifReaderEclipseInput::open(const QString& fileName, RigEclipseCaseData* ec
|
||||
bool isOk = false;
|
||||
if (eclipseCase->mainGrid()->gridPointDimensions() == cvf::Vec3st(0,0,0))
|
||||
{
|
||||
isOk = RifEclipseInputFileTools::openGridFile(fileName, eclipseCase, isFaultImportEnabled());
|
||||
QString errorMesssages;
|
||||
isOk = RifEclipseInputFileTools::openGridFile(fileName, eclipseCase, isFaultImportEnabled(), &errorMesssages);
|
||||
if (!isOk)
|
||||
{
|
||||
RiaLogging::error(errorMesssages);
|
||||
}
|
||||
}
|
||||
|
||||
return isOk;
|
||||
|
||||
Reference in New Issue
Block a user