예제 #1
0
 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)
예제 #2
0
파일: Reactor.py 프로젝트: minhbau/Cantera
 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)