26 #include "grins_config.h" 
   28 #ifdef GRINS_HAVE_CANTERA 
   38 #include "libmesh/getpot.h" 
   44     : _cantera_mixture(mixture),
 
   45       _cantera_gas(mixture.get_chemistry())
 
   49                                            const libMesh::Real P,
 
   50                                            const std::vector<libMesh::Real>& Y )
 
   52     libmesh_assert_equal_to( Y.size(), 
_cantera_gas.nSpecies() );
 
   54     libMesh::Real 
cp = 0.0;
 
   59       libMesh::Threads::spin_mutex::scoped_lock lock(cantera_mutex);
 
   67       catch(Cantera::CanteraError)
 
   69           Cantera::showErrors(std::cerr);
 
   79                                            const libMesh::Real P,
 
   80                                            const std::vector<libMesh::Real>& Y )
 
   82     libmesh_assert_equal_to( Y.size(), 
_cantera_gas.nSpecies() );
 
   84     libMesh::Real 
cv = 0.0;
 
   89       libMesh::Threads::spin_mutex::scoped_lock lock(cantera_mutex);
 
   97       catch(Cantera::CanteraError)
 
   99           Cantera::showErrors(std::cerr);
 
  110     std::vector<libMesh::Real> h_RT( 
_cantera_gas.nSpecies(), 0.0 );
 
  118     catch(Cantera::CanteraError)
 
  120         Cantera::showErrors(std::cerr);
 
  129 #endif //GRINS_HAVE_CANTERA 
libMesh::Real R(unsigned int species) const 
 
libMesh::Real cp(const libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y)
 
libMesh::Real cv(const libMesh::Real &T, const libMesh::Real P, const std::vector< libMesh::Real > &Y)
 
Cantera::IdealGasMix & _cantera_gas
 
Wrapper class for storing state for computing thermochemistry and transport properties using Cantera...
 
libMesh::Real h(const libMesh::Real &T, unsigned int species)
 
CanteraMixture & _cantera_mixture