mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-30 09:00:20 -05:00
Refactor: Update usage of caf::VecIjk.
This commit is contained in:
1 parent
3b81080086
commit
38c691d9a4
31 files changed
+132
-152
No files matched your search
@@ -304,7 +304,7 @@ public:
|
||||
RifEclipseRftAddress watRateAddress =
|
||||
RifEclipseRftAddress::createAddress( wellNameForRft, m_timeStep, RifEclipseRftAddress::RftWellLogChannelType::WRAT );
|
||||
|
||||
std::vector<caf::VecIjk> rftIndices = eclCase->rftReader()->cellIndices( wellNameForRft, m_timeStep );
|
||||
std::vector<caf::VecIjk0> rftIndices = eclCase->rftReader()->cellIndices( wellNameForRft, m_timeStep );
|
||||
if ( rftIndices.empty() ) return;
|
||||
|
||||
std::vector<double> gasRates;
|
||||
@@ -320,8 +320,8 @@ public:
|
||||
|
||||
for ( size_t rftCellIdx = 0; rftCellIdx < rftIndices.size(); rftCellIdx++ )
|
||||
{
|
||||
caf::VecIjk ijkIndex = rftIndices[rftCellIdx];
|
||||
size_t globalCellIndex = mainGrid->cellIndexFromIJK( ijkIndex.i(), ijkIndex.j(), ijkIndex.k() );
|
||||
caf::VecIjk0 ijkIndex = rftIndices[rftCellIdx];
|
||||
size_t globalCellIndex = mainGrid->cellIndexFromIJK( ijkIndex.i(), ijkIndex.j(), ijkIndex.k() );
|
||||
globCellIdxToIdxInRftFile[globalCellIndex] = rftCellIdx;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user