Cantera  3.1.0b1
Loading...
Searching...
No Matches
ctfunc.h
Go to the documentation of this file.
1/**
2 * @file ctfunc.h
3 *
4 * @warning This module is an experimental part of the %Cantera API and
5 * may be changed or removed without notice.
6 */
7
8// This file is part of Cantera. See License.txt in the top-level directory or
9// at https://cantera.org/license.txt for license and copyright information.
10
11#ifndef CTC_FUNC1_H
12#define CTC_FUNC1_H
13
14#include "clib_defs.h"
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20 CANTERA_CAPI int func_check(const char* type, size_t len, char* buf); //!< @since New in %Cantera 3.1
21 CANTERA_CAPI int func_new_basic(const char* type, double c);
22 CANTERA_CAPI int func_new_advanced(const char* type, size_t lenp, const double* p);
23 CANTERA_CAPI int func_new_compound(const char* type, int a, int b);
24 CANTERA_CAPI int func_new_modified(const char* type, int a, double c);
25 CANTERA_CAPI int func_new_sum(int a, int b);
26 CANTERA_CAPI int func_new_diff(int a, int b);
27 CANTERA_CAPI int func_new_prod(int a, int b);
28 CANTERA_CAPI int func_new_ratio(int a, int b);
29 CANTERA_CAPI int func_del(int i);
30 CANTERA_CAPI int func_type(int i, size_t lennm, char* nm);
31 CANTERA_CAPI double func_value(int i, double t);
32 CANTERA_CAPI int func_derivative(int i);
33 CANTERA_CAPI int func_duplicate(int i);
34 //! @since Changed signature in %Cantera 3.1
35 CANTERA_CAPI int func_write(int i, const char* arg, size_t lennm, char* nm);
36 CANTERA_CAPI int ct_clearFunc();
37
38#ifdef __cplusplus
39}
40#endif
41
42#endif
CANTERA_CAPI int func_check(const char *type, size_t len, char *buf)
CANTERA_CAPI int func_write(int i, const char *arg, size_t lennm, char *nm)