Revision: 3415
Author:
yar...@gmail.com
Date: Sat Feb 28 00:24:22 2015 UTC
Log: [Cython/Reactor] Fix setting reactor name through the constructor
This parameter wasn't being passed from Reactor to ReactorBase
https://code.google.com/p/cantera/source/detail?r=3415
Modified:
/cantera/trunk/interfaces/cython/cantera/reactor.pyx
=======================================
--- /cantera/trunk/interfaces/cython/cantera/reactor.pyx Thu Feb 12
04:04:55 2015 UTC
+++ /cantera/trunk/interfaces/cython/cantera/reactor.pyx Sat Feb 28
00:24:22 2015 UTC
@@ -179,7 +179,7 @@
>>> r3 = Reactor(name='adiabatic_reactor', contents=gas)
"""
- super().__init__(contents, **kwargs)
+ super().__init__(contents, name, **kwargs)
if energy == 'off':
self.energy_enabled = False