mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add support for increase of serial number when data is assigned to a SUMO case
This commit is contained in:
@@ -69,12 +69,20 @@ int RifSummaryReaderInterface::serialNumber() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RifSummaryReaderInterface::RifSummaryReaderInterface()
|
||||
void RifSummaryReaderInterface::increaseSerialNumber()
|
||||
{
|
||||
#pragma omp critical
|
||||
m_serialNumber = m_nextSerialNumber++;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RifSummaryReaderInterface::RifSummaryReaderInterface()
|
||||
{
|
||||
increaseSerialNumber();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user