Fix get_rs_state_batch_selected_points in parallel
Description
Use the correct mpi_grp from the grid instead of the one from the states. Only then, the reduction is done correctly.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.
Edited by Sebastian Ohlmann