diff --git a/nes/nc_projections/default_nes.py b/nes/nc_projections/default_nes.py index 010c0061eab09e3960bdf3ea6c629b1a133733cd..92220e7c84dd92620803a6cf0242a9be8c0726d6 100644 --- a/nes/nc_projections/default_nes.py +++ b/nes/nc_projections/default_nes.py @@ -3091,8 +3091,8 @@ class Nes(object): Returns ------- - data_list: dict - Variables dictionary with all the data from all the ranks. + data_to_gather: dict + Variables to gather. """ data_list = deepcopy(data_to_gather) diff --git a/nes/nc_projections/points_nes.py b/nes/nc_projections/points_nes.py index f542bacf94b487d990fc198b7fabb8286f9f1ac3..3d55257ba70994ba7cf1fc61b90ace425da1dfe2 100644 --- a/nes/nc_projections/points_nes.py +++ b/nes/nc_projections/points_nes.py @@ -489,16 +489,16 @@ class PointsNes(Nes): return None - def _gather_data(self): + def _gather_data(self, data_to_gather): """ Gather all the variable data into the MPI rank 0 to perform a serial write. Returns ------- - data_list: dict - Variables dictionary with all the data from all the ranks. + data_to_gather: dict + Variables to gather. """ - data_list = deepcopy(self.variables) + data_list = deepcopy(data_to_gather) for var_name, var_info in data_list.items(): try: # noinspection PyArgumentList diff --git a/nes/nc_projections/points_nes_ghost.py b/nes/nc_projections/points_nes_ghost.py index 936cbca5346fbf0f5d79c2d21a893fea710b1901..978f4d5447d8f51f719517d3db6f7970ac06d65a 100644 --- a/nes/nc_projections/points_nes_ghost.py +++ b/nes/nc_projections/points_nes_ghost.py @@ -481,17 +481,17 @@ class PointsNesGHOST(PointsNes): return None - def _gather_data(self): + def _gather_data(self, data_to_gather): """ Gather all the variable data into the MPI rank 0 to perform a serial write. Returns ------- - data_list: dict - Variables dictionary with all the data from all the ranks. + data_to_gather: dict + Variables to gather. """ - data_list = deepcopy(self.variables) + data_list = deepcopy(data_to_gather) for var_name, var_info in data_list.items(): try: # noinspection PyArgumentList diff --git a/nes/nc_projections/points_nes_providentia.py b/nes/nc_projections/points_nes_providentia.py index 937d7e676211d5837e99254aebcfebf57209f12b..91229da8caf91f50b1160e0bc88b477389d281d6 100644 --- a/nes/nc_projections/points_nes_providentia.py +++ b/nes/nc_projections/points_nes_providentia.py @@ -517,17 +517,17 @@ class PointsNesProvidentia(PointsNes): return None - def _gather_data(self): + def _gather_data(self, data_to_gather): """ Gather all the variable data into the MPI rank 0 to perform a serial write. Returns ------- - data_list: dict - Variables dictionary with all the data from all the ranks. + data_to_gather: dict + Variables to gather. """ - data_list = deepcopy(self.variables) + data_list = deepcopy(data_to_gather) for var_name, var_info in data_list.items(): try: # noinspection PyArgumentList