mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Roff: fix incorrect k direction for active data.
This commit is contained in:
parent
9db4d03a5f
commit
492f2dc4f6
@ -478,7 +478,7 @@ void RifRoffFileTools::convertToReservoirIndexOrder( int nx
|
||||
{
|
||||
for ( int i = 0; i < nx; i++ )
|
||||
{
|
||||
int inIdx = i * ny * nz + j * nz + k;
|
||||
int inIdx = i * ny * nz + j * nz + ( nz - k - 1 );
|
||||
activeOut[outIdx] = static_cast<int>( activeIn[inIdx] );
|
||||
outIdx++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user