File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33## latest
44
5+ - Improved load balancing of inactive simulations by tracking a small amount of time [ #272 ] ( https://github.com/precice/micro-manager/pull/272 )
56- Added the exported field ` model_resolution ` when using model adaptivity [ #271 ] ( https://github.com/precice/micro-manager/pull/271 )
67- Fixed model adaptivity active simulation mask generation for 0 local simulations [ #270 ] ( https://github.com/precice/micro-manager/pull/270 )
78- Allow ` initialize() ` to return data that is not used by the adaptivity [ #261 ] ( https://github.com/precice/micro-manager/pull/261 )
Original file line number Diff line number Diff line change @@ -1112,11 +1112,17 @@ def _solve_micro_simulations_with_adaptivity(
11121112
11131113 # Resolve micro sim output data for inactive simulations
11141114 for inactive_lid in inactive_sim_lids :
1115+ self .load_balancing .pre_sim_solve (
1116+ self ._global_ids_of_local_sims [inactive_lid ]
1117+ )
11151118 micro_sims_output [inactive_lid ]["Active-State" ] = 0
11161119 gid = self ._global_ids_of_local_sims [inactive_lid ]
11171120 micro_sims_output [inactive_lid ][
11181121 "Active-Steps"
11191122 ] = self ._micro_sims_active_steps [gid ]
1123+ self .load_balancing .post_sim_solve (
1124+ self ._global_ids_of_local_sims [inactive_lid ]
1125+ )
11201126
11211127 # Collect micro sim output for adaptivity calculation
11221128 for i in range (self ._local_number_of_sims ):
You can’t perform that action at this time.
0 commit comments