File tree 2 files changed +10
-10
lines changed
interfaces/cython/cantera 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -174,13 +174,13 @@ cdef class _SolutionBase:
174
174
175
175
# Kinetics
176
176
cdef vector[CxxThermoPhase* ] v
177
- cdef _SolutionBase adj
177
+ cdef _SolutionBase phase
178
178
179
179
if isinstance (self , Kinetics):
180
180
v.push_back(self .thermo)
181
- for adj in adjacent:
181
+ for phase in adjacent:
182
182
# adjacent bulk phases for a surface phase
183
- v.push_back(adj .thermo)
183
+ v.push_back(phase .thermo)
184
184
self .kinetics = newKineticsMgr(deref(phaseNode), v)
185
185
self ._kinetics.reset(self .kinetics)
186
186
else :
@@ -202,15 +202,15 @@ cdef class _SolutionBase:
202
202
if not kinetics:
203
203
kinetics = " none"
204
204
205
- cdef ThermoPhase adj
205
+ cdef ThermoPhase phase
206
206
cdef Reaction reaction
207
207
if isinstance (self , Kinetics):
208
208
self .kinetics = CxxNewKinetics(stringify(kinetics))
209
209
self ._kinetics.reset(self .kinetics)
210
210
self .kinetics.addPhase(deref(self .thermo))
211
- for adj in adjacent:
211
+ for phase in adjacent:
212
212
# adjacent bulk phases for a surface phase
213
- self .kinetics.addPhase(deref(adj .thermo))
213
+ self .kinetics.addPhase(deref(phase .thermo))
214
214
self .kinetics.init()
215
215
self .kinetics.skipUndeclaredThirdBodies(True )
216
216
for reaction in reactions:
Original file line number Diff line number Diff line change @@ -291,8 +291,8 @@ cdef class ThermoPhase(_SolutionBase):
291
291
292
292
property phase_id :
293
293
"""
294
- The identifier of the object. The phase corresponds to the
295
- CTI/XML/YAML input file entry.
294
+ The identifier of the object. The default value corresponds to the
295
+ CTI/XML/YAML input file phase entry, and should remain unchanged .
296
296
"""
297
297
def __get__ (self ):
298
298
return pystr(self .thermo.id())
@@ -303,8 +303,8 @@ cdef class ThermoPhase(_SolutionBase):
303
303
304
304
property ID :
305
305
"""
306
- The identifier of the object. The default is taken from the
307
- CTI/XML/YAML input file.
306
+ The identifier of the object. The default value corresponds to the
307
+ CTI/XML/YAML input file phase entry, and should remain unchanged .
308
308
309
309
.. deprecated:: 2.5
310
310
You can’t perform that action at this time.
0 commit comments