libantioch / antioch

C++ Chemical Kinetics, Thermodynaimics, and Transport Library
https://libantioch.github.io/
Other
22 stars 17 forks source link

Query NASA Curve Fit Type from XML file #255

Closed pbauman closed 6 years ago

pbauman commented 6 years ago

Should be merged after #254.

Closes #251.

Added function that queries the XML file. We just look at the first species and check for the key for NASA7 or NASA9 and error if it's not one of the two. We rely on the subsequent parsing of the thermo during the read_thermodynamic_data call to catch inconsistent/mixed use of NASA7 and NASA9. There is unit testing of both NASA7 and NASA9 cases.

pbauman commented 6 years ago

Will merge this and #254 in the morning if there are no objections.