[Test] Update NasaPoly1Test to use the new SpeciesThermo constructor

This commit is contained in:
Ray Speth 2015-02-20 00:11:41 +00:00
parent 999a6e4615
commit 0f6fde82bd

View file

@ -5,23 +5,21 @@
namespace Cantera namespace Cantera
{ {
// CO2 low-temperature polynomial from GRI 3.0. Note that this order is // CO2 low-temperature polynomial from GRI 3.0
// different from the order used by CHEMKIN, with the 1/T and log(T) static double coeffs[] = {2.35677352e+00,
// coefficients appearing first.
static double coeffs[] = {-4.83719697e+04,
9.90105222e+00,
2.35677352e+00,
8.98459677e-03, 8.98459677e-03,
-7.12356269e-06, -7.12356269e-06,
2.45919022e-09, 2.45919022e-09,
-1.43699548e-13, -1.43699548e-13,
-4.83719697e+04,
9.90105222e+00,
}; };
class NasaPoly1Test : public testing::Test class NasaPoly1Test : public testing::Test
{ {
public: public:
NasaPoly1Test() NasaPoly1Test()
: poly(0, 200.0, 1000.0, 101325.0, coeffs) : poly(200.0, 1000.0, 101325.0, coeffs)
, tpow_(6) { , tpow_(6) {
} }
protected: protected: