Example #1
0
 def add(self, reactor):
     """
     Add a reactor to the network.
     """
     self._reactors.append(reactor)
     _cantera.reactornet_addreactor(self.__reactornet_id,
                                    reactor.reactor_id())
Example #2
0
 def add(self, reactor):
     """
     Add a reactor to the network.
     """
     self._reactors.append(reactor)
     _cantera.reactornet_addreactor(self.__reactornet_id,
                                    reactor.reactor_id())