mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 23:20:29 -05:00
Generate OPERNUM for entire result vector.
This commit is contained in:
1 parent
5373484615
commit
fd56ae3e4d
2 files changed
+23
-23
No files matched your search
@@ -18,6 +18,7 @@
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "RiaPorosityModel.h"
|
||||
#include "RiaResultNames.h"
|
||||
#include "RiaTestDataDirectory.h"
|
||||
|
||||
@@ -592,7 +593,8 @@ TEST( RigEclipseCaseDataToolsTest, GenerateOperNumResultFromBorderResult )
|
||||
int numActiveCells = static_cast<int>( activeReservoirCellIdxs.size() );
|
||||
|
||||
std::vector<int> customOperValues;
|
||||
customOperValues.resize( numActiveCells, 5 ); // Set all to 5 initially
|
||||
customOperValues.resize( eclipseCase->activeCellInfo( RiaDefines::PorosityModelType::MATRIX_MODEL )->reservoirCellCount(),
|
||||
5 ); // Set all to 5 initially
|
||||
// Add some higher values to test max detection
|
||||
if ( numActiveCells > 10 )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user