def setKinetics(self, left, right): """Specify surface reaction mechanisms for the left and right sides of the wall.""" ileft = 0 iright = 0 if left: ileft = left.kinetics_hndl() if right: iright = right.kinetics_hndl() self._leftkin = left self._rightkin = right _cantera.wall_setkinetics(self.__wall_id, ileft, iright)