File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -296,13 +296,22 @@ def inbound(self, dims):
296296 return self .add (dims , INBOUND )
297297
298298 def init_core_shm (self , dims ):
299- return self .add (dims , INIT_CORE_SHM )
299+ properties = self .add (dims , INIT_CORE_SHM )
300+ properties = properties .drop (properties = {INIT_HALO_LEFT_SHM ,
301+ INIT_HALO_RIGHT_SHM })
302+ return properties
300303
301304 def init_halo_left_shm (self , dims ):
302- return self .add (dims , INIT_HALO_LEFT_SHM )
305+ properties = self .add (dims , INIT_HALO_LEFT_SHM )
306+ properties = properties .drop (properties = {INIT_CORE_SHM ,
307+ INIT_HALO_RIGHT_SHM })
308+ return properties
303309
304310 def init_halo_right_shm (self , dims ):
305- return self .add (dims , INIT_HALO_RIGHT_SHM )
311+ properties = self .add (dims , INIT_HALO_RIGHT_SHM )
312+ properties = properties .drop (properties = {INIT_CORE_SHM ,
313+ INIT_HALO_LEFT_SHM })
314+ return properties
306315
307316 def is_parallel (self , dims ):
308317 return any (len (self [d ] & {PARALLEL , PARALLEL_INDEP }) > 0
You can’t perform that action at this time.
0 commit comments