libantioch / antioch

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

Fix grabbing wrong mixture in Blotter data parsing #266

Closed pbauman closed 5 years ago

pbauman commented 5 years ago

This was sneaky and I only noticed where there was an errant message of opening the default transport file. We wanted a TransportMixture, but we grabbed a ChemicalMixture (probably a copy/paste bug). But TransportMixture has a bunch of default arguments so a ChemicalMixture was enough to trigger construction of a TransportMixture with default things. This would've been frustrating once we tried to do this with species that weren't in the default transport data file.