Removed unused code.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user