Cleanup; remove commented out code and fix indendation

This commit is contained in:
Håvard Berland 2011-03-01 08:06:35 +01:00 committed by Havard Berland
parent 3ba1abe13f
commit 2c59466971

View File

@ -755,8 +755,6 @@ int main(int varnum, char** vararg)
double Sworvolume = 0;
// cell_idx is the eclipse index.
const std::vector<int>& ecl_idx = upscaler.grid().globalCell();
// for (uint cell_idx = 0; cell_idx < satnums.size(); ++cell_idx) {
// if (LFgrid.getCellIndex(cell_idx) != EMPTY) {
CpGrid::Codim<0>::LeafIterator c = upscaler.grid().leafbegin<0>();
for (; c != upscaler.grid().leafend<0>(); ++c) {
uint cell_idx = ecl_idx[c->index()];
@ -795,10 +793,6 @@ int main(int varnum, char** vararg)
Sworvolume += maxSw * cellPoreVolumes[cell_idx];
}
++tesselatedCells; // keep count.
// }
// else {
// // cellVolumes and CellPoreVolumes are already zero for these indexes.
// }
}
double minSinglePhasePerm = max(maxSinglePhasePerm/maxPermContrast, minPerm);