Made a computeWDP-function

This commit is contained in:
Kjetil Olsen Lye
2012-04-12 17:50:51 +02:00
parent 1a524b0a14
commit bc275a4755
4 changed files with 33 additions and 2 deletions

View File

@@ -70,7 +70,8 @@ int main(int argc, char** argv) {
std::vector<double> well_bhp;
std::vector<double> well_rate;
//pressure_solver.solve(totmob, omega, src, bcs.c_bcs(), pressure, face_flux, well_bhp, well_rate);
pressure_solver.solve(totmob, omega, src, bcs.c_bcs(), pressure, face_flux, well_bhp, well_rate);
std::cout << "Solved" << std::endl;
if(wells.wellCollection().conditionsMet(well_bhp, well_rate)) {
std::cout << "Conditions met for wells!" << std::endl;
}