Cantera  3.0.0
Loading...
Searching...
No Matches
transport_utils.h
1// This file is part of Cantera. See License.txt in the top-level directory or
2// at https://cantera.org/license.txt for license and copyright information.
3
4#ifndef CT_PY_TRANSPORT_UTILS_H
5#define CT_PY_TRANSPORT_UTILS_H
6
8#include "wrappers.h"
9
10#define TRANSPORT_1D(FUNC_NAME) ARRAY_FUNC(tran, Transport, FUNC_NAME)
11#define TRANSPORT_2D(FUNC_NAME) ARRAY_FUNC2(tran, Transport, FUNC_NAME)
12#define TRANSPORT_POLY(FUNC_NAME) ARRAY_POLY(tran, Transport, FUNC_NAME)
13#define TRANSPORT_POLY_BINARY(FUNC_NAME) ARRAY_POLY_BINARY(tran, Transport, FUNC_NAME)
14
15TRANSPORT_1D(getMixDiffCoeffs)
16TRANSPORT_1D(getMixDiffCoeffsMass)
17TRANSPORT_1D(getMixDiffCoeffsMole)
18TRANSPORT_1D(getThermalDiffCoeffs)
19TRANSPORT_1D(getSpeciesViscosities)
20TRANSPORT_1D(getMobilities)
21
22TRANSPORT_2D(getMultiDiffCoeffs)
23TRANSPORT_2D(getBinaryDiffCoeffs)
24
25TRANSPORT_POLY(getViscosityPolynomial)
26TRANSPORT_POLY(setViscosityPolynomial)
27TRANSPORT_POLY(getConductivityPolynomial)
28TRANSPORT_POLY(setConductivityPolynomial)
29TRANSPORT_POLY_BINARY(getBinDiffusivityPolynomial)
30TRANSPORT_POLY_BINARY(setBinDiffusivityPolynomial)
31
32#endif
Headers for the Transport object, which is the virtual base class for all transport property evaluato...