dbirch997 / cantera

Automatically exported from code.google.com/p/cantera
1 stars 0 forks source link

componentIndex returns the index of the enthalpy variable for 'H' even if there is a species named 'H' #193

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a constant pressure reactor with 'gri30.xml' as the Phase
2. ConstPressureReactor.component_index('H') returns 1, the index of the 
enthalpy.
3. The user may wish to have the index of the species 'H'

This is only a problem if the mechanism declares a species with the name 
capital 'H'. It is unclear what the output should be in this case.

What version of the product are you using?
r2605

Please provide any additional information below.
ConstPressureReactor.cpp, line 224

Original issue reported on code.google.com by bryan.w....@gmail.com on 9 Dec 2013 at 10:31

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2610.

Original comment by yarmond on 14 Dec 2013 at 12:18