mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
System : Removed unused variables
This commit is contained in:
@@ -978,16 +978,6 @@ void RimReservoirCellResultsStorage::computeNncCombRiTrans()
|
||||
|
||||
bool hasNTGResults = ntgResultIdx != cvf::UNDEFINED_SIZE_T;
|
||||
|
||||
// Get the result count, to handle that one of them might be globally defined
|
||||
|
||||
size_t permxResultValueCount = m_cellResults->cellScalarResults(permXResultIdx)[0].size();
|
||||
size_t resultValueCount = permxResultValueCount;
|
||||
if (hasNTGResults)
|
||||
{
|
||||
size_t ntgResultValueCount = m_cellResults->cellScalarResults(ntgResultIdx)[0].size();
|
||||
resultValueCount = CVF_MIN(permxResultValueCount, ntgResultValueCount);
|
||||
}
|
||||
|
||||
// Get all the actual result values
|
||||
|
||||
std::vector<double> & permXResults = m_cellResults->cellScalarResults(permXResultIdx)[0];
|
||||
@@ -1028,7 +1018,6 @@ void RimReservoirCellResultsStorage::computeNncCombRiTrans()
|
||||
}
|
||||
|
||||
const RigActiveCellInfo* activeCellInfo = m_cellResults->activeCellInfo();
|
||||
const std::vector<cvf::Vec3d>& nodes = m_ownerMainGrid->nodes();
|
||||
bool isFaceNormalsOutwards = m_ownerMainGrid->isFaceNormalsOutwards();
|
||||
|
||||
// NNC calculation
|
||||
@@ -1217,8 +1206,6 @@ void RimReservoirCellResultsStorage::computeRiMULTComponent(const QString& riMul
|
||||
// Set up output container to correct number of results
|
||||
|
||||
riMultResults.resize(resultValueCount);
|
||||
|
||||
const RigActiveCellInfo* activeCellInfo = m_cellResults->activeCellInfo();
|
||||
|
||||
for (size_t vIdx = 0; vIdx < transResults.size(); ++vIdx)
|
||||
{
|
||||
@@ -1313,7 +1300,6 @@ void RimReservoirCellResultsStorage::computeRiTRANSbyAreaComponent(const QString
|
||||
|
||||
const RigActiveCellInfo* activeCellInfo = m_cellResults->activeCellInfo();
|
||||
const std::vector<cvf::Vec3d>& nodes = m_ownerMainGrid->nodes();
|
||||
bool isFaceNormalsOutwards = m_ownerMainGrid->isFaceNormalsOutwards();
|
||||
|
||||
for (size_t nativeResvCellIndex = 0; nativeResvCellIndex < m_ownerMainGrid->cells().size(); nativeResvCellIndex++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user