def init(self,_simulator): self.simulator=_simulator self.inventory=self.simulator.getPotts().getCellInventory() self.ContactLocalFlexPlugin=CompuCell.getContactLocalFlexPlugin() self.cellList=CellList(self.inventory)