def __init__(self,_simulator,_frequency=10):
    SteppablePy.__init__(self,_frequency)
    self.simulator=_simulator
    self.contactProductPlugin=CompuCell.getContactLocalProductPlugin()
    self.cellFieldG=self.simulator.getPotts().getCellFieldG()
    self.dim=self.cellFieldG.getDim()
 def __init__(self,_simulator,_frequency=10):
    SteppablePy.__init__(self,_frequency)
    self.simulator=_simulator
    self.contactProductPlugin=CompuCell.getContactLocalProductPlugin()
    self.inventory=self.simulator.getPotts().getCellInventory()
    self.cellList=CellList(self.inventory)