mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-27 15:41:00 -05:00
Add support for increase of serial number when data is assigned to a SUMO case
This commit is contained in:
1 parent
275a8b7284
commit
cf7f00880a
3 files changed
+13
-1
No files matched your search
@@ -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