Remove unusable CHEMKIN_COMPATIBILITY_MODE macro

This commit is contained in:
Ray Speth 2013-06-13 22:50:21 +00:00
parent 9740980c5d
commit 75e586da0f
4 changed files with 0 additions and 13 deletions

View file

@ -30,8 +30,6 @@
namespace Cantera
{
#undef CHEMKIN_COMPATIBILITY_MODE
//! Creates a pointer to the start of the raw data for a vector
#ifndef DATA_PTR
#define DATA_PTR(vec) &vec[0]

View file

@ -8,10 +8,6 @@
#ifndef CT_MULTITRAN_H
#define CT_MULTITRAN_H
// Define this for better agreement with Chemkin TRANLIB results, even
// if the results are less correct.
//#undef CHEMKIN_COMPATIBILITY_MODE
// Cantera includes
#include "GasTransport.h"
#include "cantera/numerics/DenseMatrix.h"

View file

@ -17,11 +17,7 @@ const doublereal Min_C_Internal = 0.001;
bool MultiTransport::hasInternalModes(size_t j)
{
#ifdef CHEMKIN_COMPATIBILITY_MODE
return (m_crot[j] > Min_C_Internal);
#else
return (m_cinternal[j] > Min_C_Internal);
#endif
}
void MultiTransport::eval_L0000(const doublereal* const x)

View file

@ -165,9 +165,6 @@ void MultiTransport::solveLMatrixEquation()
// all *monatomic* species are excluded. Since monatomic
// radicals can have non-zero internal heat capacities due to
// electronic excitation, they should be retained.
//
// But if CHEMKIN_COMPATIBILITY_MODE is defined, then all
// monatomic species are excluded.
for (size_t k = 0; k < m_nsp; k++) {
if (!hasInternalModes(k)) {