mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-14 16:33:25 -06:00
Made a computeWDP-function
This commit is contained in:
parent
bbb5f56d2b
commit
23019eb23d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user