def setFunction(self, f): self._f = f # Hold on to a reference so it doesn't get deleted _cantera.flowdev_setFunction(self.__fdev_id, f.func_id())
def setFunction(self, f): _cantera.flowdev_setFunction(self.__fdev_id, f.func_id())