Use the collective communication from the grid instead of the global one
Summary
Use gridView.comm()
instead of MPIHelper::comm()
.
Do we need a way to changes this, e.g., manually set MPI_COMM_WORLD
even if the grid is sequential? Maybe this has little applications. If it is just about setting the filename, there are also other ways.
Edited by Simon Praetorius