Parallel Execution

Since the cells are pins in a graphcode Graph, they are distributed over parallel processes if available.

Remember to call the gather method to ensure node 0 is updated before running a visualiser on global data.

ecolab.gather
Bring processor 0's data up to date with the rest of the grid
ecolab.distribute_cells
Broadcast processor 0's data out to the rest of the grid.