9#ifndef CT_MMCOLLISIONINT_H
10#define CT_MMCOLLISIONINT_H
70 void init(
double tsmin,
double tsmax);
72 double omega22(
double ts,
double deltastar);
73 double astar(
double ts,
double deltastar);
74 double bstar(
double ts,
double deltastar);
75 double cstar(
double ts,
double deltastar);
76 void fit(
int degree,
double deltastar,
double* astar,
double* bstar,
double* cstar);
77 void fit_omega22(
int degree,
double deltastar,
double* om22);
78 double omega11(
double ts,
double deltastar) {
79 return omega22(ts, deltastar)/astar(ts, deltastar);
83 double fitDelta(
int table,
int ntstar,
int degree,
double* c);
84 double quadInterp(
double x0,
double* x,
double* y);
86 vector<vector<double>> m_o22poly;
87 vector<vector<double>> m_apoly;
88 vector<vector<double>> m_bpoly;
89 vector<vector<double>> m_cpoly;
91 static double delta[8];
92 static double tstar22[37];
Calculation of Collision integrals.
int m_nmin
Index of the tstar array that encompasses the minimum temperature fitting range value of tsmin.
void init(double tsmin, double tsmax)
Initialize the object for calculation.
int m_nmax
Index of the tstar array that encompasses the maximum temperature fitting range value of tsmax.
static double astar_table[39 *8]
astar table
static double cstar_table[39 *8]
cstar table
static double tstar[39]
T* values (reduced temperature)
static double omega22_table[37 *8]
Table of omega22 values.
static double bstar_table[39 *8]
bstar table
vector< double > m_logTemp
Log temp.
This file contains definitions of constants, types and terms that are used in internal routines and a...
Namespace for the Cantera kernel.