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, span<double> astar, span<double> bstar,
78 void fit_omega22(
int degree,
double deltastar, span<double> om22);
79 double omega11(
double ts,
double deltastar) {
80 return omega22(ts, deltastar)/astar(ts, deltastar);
84 double fitDelta(
int table,
int ntstar,
int degree, span<double> c);
85 double quadInterp(
double x0, span<const double> x, span<const double> y);
87 vector<vector<double>> m_o22poly;
88 vector<vector<double>> m_apoly;
89 vector<vector<double>> m_bpoly;
90 vector<vector<double>> m_cpoly;
92 static std::array<double, 8> delta;
93 static std::array<double, 37> tstar22;
99 static std::array<double, 39>
tstar;
Calculation of Collision integrals.
int m_nmin
Index of the tstar array that encompasses the minimum temperature fitting range value of tsmin.
static std::array< double, 39 *8 > astar_table
astar table
void init(double tsmin, double tsmax)
Initialize the object for calculation.
static std::array< double, 39 *8 > bstar_table
bstar table
static std::array< double, 39 > tstar
T* values (reduced temperature)
int m_nmax
Index of the tstar array that encompasses the maximum temperature fitting range value of tsmax.
static std::array< double, 39 *8 > cstar_table
cstar table
static std::array< double, 37 *8 > omega22_table
Table of omega22 values.
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.