Print all well switching in parallel.

As for each well only one process is responsible, the output process
does not see all wells. Ergo some well switching information was never
printed in a parallel run.

Therefore with this commit the well switching
message is printed regardless on which process it appears.
This commit is contained in:
Markus Blatt authored and Liu Ming committed 2016-06-28 15:50:50 +08:00
1 parent ad01934670
commit 4c9d359638
7 files changed
+19 -26

No files matched your search

@@ -499,7 +499,7 @@ namespace Opm {
// Possibly switch well controls and updating well state to
// get reasonable initial conditions for the wells
// updateWellControls(well_state);
wellModel().updateWellControls(terminal_output_, well_state);
wellModel().updateWellControls(well_state);
// Create the primary variables.
SolutionState state = variableState(reservoir_state, well_state);