mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2097 Reservoir Phase Detection : Find available phases from result files
This commit is contained in:
@@ -2076,6 +2076,19 @@ void RifReaderEclipseOutput::transferCoarseningInfo(const ecl_grid_type* eclGrid
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::set<RiaDefines::PhaseType> RifReaderEclipseOutput::availablePhases() const
|
||||
{
|
||||
if (m_dynamicResultsAccess.notNull())
|
||||
{
|
||||
return m_dynamicResultsAccess->availablePhases();
|
||||
}
|
||||
|
||||
return std::set<RiaDefines::PhaseType>();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user