mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-01 21:39:09 -06:00
ParallelRestart: use variadic broadcast
micro optimization, there is no reason to do this in two operations
This commit is contained in:
parent
80daae74b9
commit
fe68741a68
@ -52,8 +52,7 @@ RestartValue loadParallelRestart(const EclipseIO* eclIO,
|
||||
}
|
||||
|
||||
EclMpiSerializer ser(comm);
|
||||
ser.broadcast(restartValues);
|
||||
ser.broadcast(summaryState);
|
||||
ser.broadcast(0, restartValues, summaryState);
|
||||
return restartValues;
|
||||
#else
|
||||
(void) comm;
|
||||
|
Loading…
Reference in New Issue
Block a user