File tree 1 file changed +10
-14
lines changed
1 file changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -291,6 +291,11 @@ def send_terminate(self):
291
291
self .put_send_buffer (self .send_buffers [Field .SHUTDOWN ], Field .SHUTDOWN )
292
292
return
293
293
294
+ def sync_bounds (self ):
295
+ self .receive_outerbounds ()
296
+ self .receive_innerbounds ()
297
+ self .send_boundsout ()
298
+
294
299
295
300
class PHHub (Hub ):
296
301
@@ -317,22 +322,14 @@ def sync(self):
317
322
"""
318
323
Manages communication with Spokes
319
324
"""
320
- self .send_ws ()
321
- self .send_nonants ()
322
- self .send_boundsout ()
323
- self .receive_outerbounds ()
324
- self .receive_innerbounds ()
325
- if self .opt .extensions is not None :
326
- self .opt .extobject .sync_with_spokes ()
325
+ self .sync_ws ()
326
+ self .sync_nonants ()
327
+ self .sync_bounds ()
328
+ self .sync_extensions ()
327
329
328
330
def sync_with_spokes (self ):
329
331
self .sync ()
330
332
331
- def sync_bounds (self ):
332
- self .receive_outerbounds ()
333
- self .receive_innerbounds ()
334
- self .send_boundsout ()
335
-
336
333
def sync_extensions (self ):
337
334
if self .opt .extensions is not None :
338
335
self .opt .extobject .sync_with_spokes ()
@@ -431,8 +428,7 @@ def sync(self, send_nonants=True):
431
428
"""
432
429
if send_nonants :
433
430
self .send_nonants ()
434
- self .receive_outerbounds ()
435
- self .receive_innerbounds ()
431
+ self .sync_bounds ()
436
432
# in case LShaped ever gets extensions
437
433
if getattr (self .opt , "extensions" , None ) is not None :
438
434
self .opt .extobject .sync_with_spokes ()
You can’t perform that action at this time.
0 commit comments