From 40a737539a7c129a38a7b20cb34c15c03ebd2dbe Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Thu, 7 Feb 2013 23:40:16 +0000 Subject: [PATCH] [Cython] Fixed instantiation of ImpingingJet with non-reacting surface --- interfaces/cython/cantera/onedim.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interfaces/cython/cantera/onedim.pyx b/interfaces/cython/cantera/onedim.pyx index 68d0255e2..7421b4417 100644 --- a/interfaces/cython/cantera/onedim.pyx +++ b/interfaces/cython/cantera/onedim.pyx @@ -1175,11 +1175,11 @@ class ImpingingJet(FlameBase): if surface is None: self.surface = Surface1D(name='surface') + self.surface.T = gas.T else: self.surface = ReactingSurface1D(name='surface') self.surface.set_kinetics(surface) - - self.surface.T = surface.T + self.surface.T = surface.T super().__init__((self.inlet, self.flame, self.surface), gas, grid)