dbirch997 / cantera

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

activation_energies throw errors #206

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. an attempt to output activation energies using the python interface fails.

import cantera as ct
gas = ct.Solution('h2o2.cti')
print(gas.activation_energies)

What is the expected output? What do you see instead?

expected output are activation energies (defined as property in kinetics.pyx)

the error message is:
  File "kinetics.pyx", line 203, in cantera._cantera.Kinetics.activation_energies.__get__ (cantera/_cantera.cpp:21979)
  File "kinetics.pyx", line 15, in cantera._cantera.get_reaction_array (cantera/_cantera.cpp:19257)
RuntimeError: 
***********************************************************************
CanteraError thrown by Kinetics::getActivationEnergies:
The default Base class method was called, when the inherited class's method 
should have been called
***********************************************************************

What version of the product are you using? On what operating system?

cantera-r2733 on Fedora 19 (cython interface)

Please provide any additional information below.

N/A

Original issue reported on code.google.com by ischo...@gmail.com on 2 Mar 2014 at 3:08

GoogleCodeExporter commented 9 years ago
This method was never implemented in the C++ layer, and has since been removed 
from all interfaces.

Original comment by yarmond on 2 Mar 2014 at 9:12