Cantera 2.6.0
ctfunc.h
Go to the documentation of this file.
1/**
2 * @file ctfunc.h
3 */
4
5// This file is part of Cantera. See License.txt in the top-level directory or
6// at https://cantera.org/license.txt for license and copyright information.
7
8#ifndef CTC_FUNC1_H
9#define CTC_FUNC1_H
10
11#include "clib_defs.h"
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17 CANTERA_CAPI int func_new(int type, size_t n, size_t lenp, const double* p);
18 CANTERA_CAPI int func_del(int i);
19 CANTERA_CAPI double func_value(int i, double t);
20 CANTERA_CAPI int func_derivative(int i);
21 CANTERA_CAPI int func_duplicate(int i);
22 CANTERA_CAPI int func_write(int i, size_t lennm, const char* arg, char* nm);
23 CANTERA_CAPI int ct_clearFunc();
24
25#ifdef __cplusplus
26}
27#endif
28
29#endif