mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Made the WellNode be aware of their own index
This commit is contained in:
parent
b37f1edc88
commit
aaf887cf61
@ -68,6 +68,14 @@ int main(int argc, char** argv) {
|
||||
std::vector<double> pressure;
|
||||
std::vector<double> face_flux;
|
||||
pressure_solver.solve(totmob, omega, src, bcs.c_bcs(), pressure, face_flux);
|
||||
|
||||
if(wells.wellCollection().conditionsMet(pressure, *grid.c_grid())) {
|
||||
std::cout << "Conditions met for wells!" << std::endl;
|
||||
}
|
||||
else
|
||||
{
|
||||
std::cout << "Conditions not met for wells!"<<std::endl;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user