Removed unused code.

This commit is contained in:
Atgeirr Flø Rasmussen
2012-06-13 14:52:28 +02:00
parent 431ae02f5d
commit 9faf5e2d71

View File

@@ -393,9 +393,6 @@ main(int argc, char** argv)
// Source-related variables init. // Source-related variables init.
int num_cells = grid->c_grid()->number_of_cells; 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. // Extra rock init.
std::vector<double> porevol; std::vector<double> porevol;
@@ -539,11 +536,6 @@ main(int argc, char** argv)
} }
// Solve pressure. // Solve pressure.
if (use_gravity) {
computeTotalMobilityOmega(*props, allcells, state.saturation(), totmob, omega);
} else {
computeTotalMobility(*props, allcells, state.saturation(), totmob);
}
if (check_well_controls) { if (check_well_controls) {
computeFractionalFlow(*props, allcells, state.saturation(), fractional_flows); computeFractionalFlow(*props, allcells, state.saturation(), fractional_flows);
} }