Removed more unused code.

This commit is contained in:
Atgeirr Flø Rasmussen 2012-06-13 14:51:53 +02:00
parent a795166ee8
commit 9766b36cf2

View File

@ -496,9 +496,6 @@ main(int argc, char** argv)
// Source-related variables init.
int num_cells = grid->c_grid()->number_of_cells;
std::vector<double> totmob;
std::vector<double> omega; // Will remain empty if no gravity.
std::vector<double> rc; // Will remain empty if no rock compressibility.
// Extra rock init.
std::vector<double> porevol;
@ -649,13 +646,6 @@ main(int argc, char** argv)
}
// Solve pressure.
if (use_gravity) {
computeTotalMobilityOmega(*props, polyprop, allcells, state.saturation(), state.concentration(), state.maxconcentration(),
totmob, omega);
} else {
computeTotalMobility(*props, polyprop, allcells, state.saturation(), state.concentration(), state.maxconcentration(),
totmob);
}
if (check_well_controls) {
computeFractionalFlow(*props, allcells, state.saturation(), fractional_flows);
}