ctfunc.h Source File# Cantera: ctfunc.h Source File includecanteraclib 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 const int FourierFuncType = 1; 18 const int PolyFuncType = 2; 19 const int ArrheniusFuncType = 3; 20 const int GaussianFuncType = 4; 21 const int SumFuncType = 20; 22 const int DiffFuncType = 25; 23 const int ProdFuncType = 30; 24 const int RatioFuncType = 40; 25 const int PeriodicFuncType = 50; 26 const int CompositeFuncType = 60; 27 const int TimesConstantFuncType = 70; 28 const int PlusConstantFuncType = 80; 29 const int SinFuncType = 100; 30 const int CosFuncType = 102; 31 const int ExpFuncType = 104; 32 const int PowFuncType = 106; 33 const int ConstFuncType = 110; 34 const int TabulatedFuncType = 120; 35 36 CANTERA_CAPI int func_new(int type, size_t n, size_t lenp, const double* p); 37 CANTERA_CAPI int func_new_basic(const char* type, double c); 38 CANTERA_CAPI int func_new_advanced(const char* type, size_t lenp, const double* p); 39 CANTERA_CAPI int func_new_compound(const char* type, int a, int b); 40 CANTERA_CAPI int func_new_modified(const char* type, int a, double c); 41 CANTERA_CAPI int func_del(int i); 42 CANTERA_CAPI int func_type(int i, size_t lennm, char* nm); 43 CANTERA_CAPI double func_value(int i, double t); 44 CANTERA_CAPI int func_derivative(int i); 45 CANTERA_CAPI int func_duplicate(int i); 46 CANTERA_CAPI int func_write(int i, size_t lennm, const char* arg, char* nm); 47 CANTERA_CAPI int ct_clearFunc(); 48 49#ifdef __cplusplus 50} 51#endif 52 53#endif clib_defs.h Generated by 1.9.7