clean up after review

This commit is contained in:
Elyes Ahmed
2021-10-05 08:25:54 +02:00
committed by Atgeirr Flø Rasmussen
parent f53c597f90
commit 0202b00d59
17 changed files with 112 additions and 142 deletions

View File

@@ -272,8 +272,7 @@ void EclGenericCpGridVanguard<ElementMapper,GridView,Scalar>::doCreateGrids_(Ecl
// we need to pass the NNC from root process to other processes
if (has_numerical_aquifer && mpiSize > 1) {
auto nnc_input = eclState.getInputNNC();
const auto& comm_nnc = Opm::Parallel::Communication();
EclMpiSerializer ser(comm_nnc);
EclMpiSerializer ser(grid_->comm());
ser.broadcast(nnc_input);
if (mpiRank > 0) {
eclState.setInputNNC(nnc_input);