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
2016-06-07 16:56:37 +00:00
committed by Liu Ming
parent ad01934670
commit 4c9d359638
7 changed files with 19 additions and 26 deletions

View File

@@ -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);