4#ifndef CT_PY_WRAPPERS_H
5#define CT_PY_WRAPPERS_H
11inline void CxxArray2D_set(
Cantera::Array2D& array,
size_t i,
size_t j,
double value)
17#define ARRAY_FUNC(PREFIX, CLASS_NAME, FUNC_NAME) \
18 inline void PREFIX ## _ ## FUNC_NAME(Cantera::CLASS_NAME* object, double* data) \
19 { object->FUNC_NAME(data); }
22#define ARRAY_FUNC2(PREFIX, CLASS_NAME, FUNC_NAME) \
23 inline void PREFIX ## _ ## FUNC_NAME(Cantera::CLASS_NAME* object, size_t dim, double* data) \
24 { object->FUNC_NAME(dim, data); }
27#define ARRAY_POLY(PREFIX, CLASS_NAME, FUNC_NAME) \
28 inline void PREFIX ## _ ## FUNC_NAME(Cantera::CLASS_NAME* object, size_t i, double* data) \
29 { object->FUNC_NAME(i, data); }
31#define ARRAY_POLY_BINARY(PREFIX, CLASS_NAME, FUNC_NAME) \
32 inline void PREFIX ## _ ## FUNC_NAME(Cantera::CLASS_NAME* object, size_t i, size_t j, double* data) \
33 { object->FUNC_NAME(i, j, data); }
Header file for class Cantera::Array2D.
A class for 2D arrays stored in column-major (Fortran-compatible) form.