def __init__(self,_simulator,_frequency=1): SteppablePy.__init__(self,_frequency) self.simulator=_simulator self.volumeLocalFlexPlugin=CompuCell.getVolumeLocalFlexPlugin() self.inventory=self.simulator.getPotts().getCellInventory() self.cellList=CellList(self.inventory)