mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6978 Fault Import : Make sure faults in separate text file is imported
This commit is contained in:
@@ -670,7 +670,7 @@ std::vector<QString> RimEclipseCase::additionalFiles() const
|
||||
/// Loads input property data from the gridFile and additional files
|
||||
/// Creates new InputProperties if necessary, and flags the unused ones as obsolete
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimEclipseCase::loadAndSyncronizeInputProperties( bool includeGridFileName )
|
||||
void RimEclipseCase::loadAndSyncronizeInputProperties( bool importGridOrFaultData )
|
||||
{
|
||||
// Make sure we actually have reservoir data
|
||||
|
||||
@@ -685,9 +685,12 @@ void RimEclipseCase::loadAndSyncronizeInputProperties( bool includeGridFileName
|
||||
filenames.push_back( fileName );
|
||||
}
|
||||
|
||||
if ( includeGridFileName ) filenames.push_back( gridFileName() );
|
||||
if ( importGridOrFaultData ) filenames.push_back( gridFileName() );
|
||||
|
||||
RifEclipseInputPropertyLoader::loadAndSyncronizeInputProperties( inputPropertyCollection(), eclipseCaseData(), filenames );
|
||||
RifEclipseInputPropertyLoader::loadAndSyncronizeInputProperties( inputPropertyCollection(),
|
||||
eclipseCaseData(),
|
||||
filenames,
|
||||
importGridOrFaultData );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user