opm-simulators/opm/core
Markus Blatt 63d8d5e781 [bugfix,parallel] Deactivate non-existing wells in manager.
Previously, we used the setStatus method to set wells that do not
exist on the local grid to SHUT. Or at least this is what I thought
that ```well.setStatus(timestep, SHUT)```. Unfortunately, my
assumption was wrong. This was revealed while testing a parallel run
with SPE9 that threw an expeption about "Elements must be added in
weakly increasing order" in Opm::DynamicState::add(int, T). Seems like
the method name is a bit misleading.

As it turns out the WellManager has its own complete list of active
wells (shut wells are simply left out). Therefore we can use this
behaviour to our advantage: With this commit we not only exclude shut
wells from the list, but also the ones that do not exist on the local
grid. We even get rid of an ugly const_cast.

Currently, I have running a parallel SPE9 test that has not yet
aborted.
2015-05-26 21:01:16 +02:00
..
flowdiagnostics Added computeWellPairs() function. 2015-02-11 14:03:47 +01:00
linalg Use more accurate name for the size of the global components. 2015-05-19 19:58:05 +02:00
pressure Fix whitespace issues. 2015-01-23 09:12:15 +01:00
props Suppress sign-comparison warnings. 2015-03-27 15:38:21 +01:00
simulator Allow to prevent SimulatorReport for printing to std::cout. 2015-05-08 11:12:23 +02:00
transport PVT properties: allow them to be temperature dependent 2014-12-01 20:06:31 +01:00
utility PVT properties: allow them to be temperature dependent 2014-12-01 20:06:31 +01:00
wells [bugfix,parallel] Deactivate non-existing wells in manager. 2015-05-26 21:01:16 +02:00
well_controls.h Renaming well is shut to well is stopped. 2015-01-09 09:10:10 +01:00
wells.h wells.h: Document several function 2014-07-03 16:09:56 +02:00