Fixed bug in computeWDP(), add gravity argument. Make WellReport output in friendly units.

This commit is contained in:
Atgeirr Flø Rasmussen 2012-04-25 12:37:30 +02:00
parent 4e55e8c912
commit 8acd9d9f63

View File

@ -57,7 +57,7 @@ int main(int argc, char** argv) {
computeTotalMobilityOmega(incomp_properties, all_cells, state.saturation(), totmob, omega);
std::vector<double> wdp;
computeWDP(*wells.c_wells(), *grid.c_grid(), state.saturation(), incomp_properties.density(), wdp, true);
computeWDP(*wells.c_wells(), *grid.c_grid(), state.saturation(), incomp_properties.density(), gravity[2], true, wdp);
std::vector<double> src;
Opm::FlowBCManager bcs;