#include <cantera_kinetics.h>
Definition at line 54 of file cantera_kinetics.h.
GRINS::CanteraKinetics::~CanteraKinetics |
( |
| ) |
|
|
inline |
GRINS::CanteraKinetics::CanteraKinetics |
( |
| ) |
|
|
private |
void GRINS::CanteraKinetics::omega_dot |
( |
const libMesh::Real & |
T, |
|
|
const libMesh::Real |
rho, |
|
|
const std::vector< libMesh::Real > & |
mass_fractions, |
|
|
std::vector< libMesh::Real > & |
omega_dot |
|
) |
| const |
- Todo:
- Need to make sure this will work in a threaded environment. Not sure if we will get thread lock here or not.
Definition at line 52 of file cantera_kinetics.C.
References _cantera_gas.
Referenced by main(), and GRINS::CanteraEvaluator::omega_dot().
56 libmesh_assert_equal_to( mass_fractions.size(),
omega_dot.size() );
57 libmesh_assert_equal_to( mass_fractions.size(),
_cantera_gas.nSpecies() );
58 libmesh_assert_greater(T,0.0);
59 libmesh_assert_greater(rho,0.0);
64 libMesh::Threads::spin_mutex::scoped_lock lock(cantera_mutex);
71 catch(Cantera::CanteraError)
73 Cantera::showErrors(std::cerr);
78 for(
unsigned int s = 0; s <
omega_dot.size(); s++ )
void omega_dot(const libMesh::Real &T, const libMesh::Real rho, const std::vector< libMesh::Real > &mass_fractions, std::vector< libMesh::Real > &omega_dot) const
Cantera::IdealGasMix & _cantera_gas
Cantera::IdealGasMix& GRINS::CanteraKinetics::_cantera_gas |
|
protected |
The documentation for this class was generated from the following files: