14#pragma message("warning: The legacy CLib library ctonedim.h is deprecated and " \
15 "will be removed after Cantera 3.2. Use generated CLib instead.")
23 CANTERA_CAPI
int ct_clearOneDim();
24 CANTERA_CAPI
int domain_new(
const char* type,
int i,
const char*
id);
25 CANTERA_CAPI
int domain_del(
int i);
26 CANTERA_CAPI
int domain_type(
int i,
size_t lennm,
char* nm);
27 CANTERA_CAPI
size_t domain_index(
int i);
28 CANTERA_CAPI
size_t domain_nComponents(
int i);
29 CANTERA_CAPI
size_t domain_nPoints(
int i);
30 CANTERA_CAPI
int domain_componentName(
int i,
int n,
int sz,
char* nameout);
31 CANTERA_CAPI
size_t domain_componentIndex(
int i,
const char* name);
32 CANTERA_CAPI
int domain_setBounds(
int i,
int n,
double lower,
34 CANTERA_CAPI
double domain_lowerBound(
int i,
int n);
35 CANTERA_CAPI
double domain_upperBound(
int i,
int n);
36 CANTERA_CAPI
int domain_setSteadyTolerances(
int i,
int n,
double rtol,
38 CANTERA_CAPI
int domain_setTransientTolerances(
int i,
int n,
double rtol,
40 CANTERA_CAPI
double domain_rtol(
int i,
int n);
41 CANTERA_CAPI
double domain_atol(
int i,
int n);
42 CANTERA_CAPI
int domain_setupGrid(
int i,
size_t npts,
const double* grid);
43 CANTERA_CAPI
int domain_setID(
int i,
const char*
id);
44 CANTERA_CAPI
double domain_grid(
int i,
int n);
46 CANTERA_CAPI
int bdry_setMdot(
int i,
double mdot);
47 CANTERA_CAPI
int bdry_setTemperature(
int i,
double t);
48 CANTERA_CAPI
int bdry_setSpreadRate(
int i,
double v);
49 CANTERA_CAPI
int bdry_setMoleFractions(
int i,
const char* x);
50 CANTERA_CAPI
double bdry_temperature(
int i);
51 CANTERA_CAPI
double bdry_spreadRate(
int i);
52 CANTERA_CAPI
double bdry_massFraction(
int i,
int k);
53 CANTERA_CAPI
double bdry_mdot(
int i);
55 CANTERA_CAPI
int reactingsurf_enableCoverageEqs(
int i,
int onoff);
57 CANTERA_CAPI
int flow1D_setTransport(
int i,
int itr);
58 CANTERA_CAPI
int flow1D_enableSoret(
int i,
int iSoret);
59 CANTERA_CAPI
int flow1D_setPressure(
int i,
double p);
60 CANTERA_CAPI
double flow1D_pressure(
int i);
61 CANTERA_CAPI
int flow1D_setFixedTempProfile(
int i,
size_t n,
const double* pos,
62 size_t m,
const double* temp);
63 CANTERA_CAPI
int flow1D_solveEnergyEqn(
int i,
int flag);
65 CANTERA_CAPI
int sim1D_new(
size_t nd,
const int* domains);
66 CANTERA_CAPI
int sim1D_del(
int i);
67 CANTERA_CAPI
int sim1D_setValue(
int i,
int dom,
int comp,
int localPoint,
double value);
68 CANTERA_CAPI
int sim1D_setProfile(
int i,
int dom,
int comp,
69 size_t np,
const double* pos,
size_t nv,
const double* v);
70 CANTERA_CAPI
int sim1D_setFlatProfile(
int i,
int dom,
int comp,
double v);
71 CANTERA_CAPI
int sim1D_show(
int i);
72 CANTERA_CAPI
int sim1D_setTimeStep(
int i,
double stepsize,
size_t ns,
const int* nsteps);
73 CANTERA_CAPI
int sim1D_getInitialSoln(
int i);
74 CANTERA_CAPI
int sim1D_solve(
int i,
int loglevel,
int refine_grid);
75 CANTERA_CAPI
int sim1D_refine(
int i,
int loglevel);
76 CANTERA_CAPI
int sim1D_setRefineCriteria(
int i,
int dom,
double ratio,
77 double slope,
double curve,
double prune);
78 CANTERA_CAPI
int sim1D_setGridMin(
int i,
int dom,
double gridmin);
79 CANTERA_CAPI
int sim1D_save(
int i,
const char* fname,
const char*
id,
81 CANTERA_CAPI
int sim1D_restore(
int i,
const char* fname,
const char*
id);
82 CANTERA_CAPI
int sim1D_writeStats(
int i,
int printTime);
83 CANTERA_CAPI
int sim1D_domainIndex(
int i,
const char* name);
84 CANTERA_CAPI
double sim1D_value(
int i,
int idom,
int icomp,
int localPoint);
85 CANTERA_CAPI
double sim1D_workValue(
int i,
int idom,
86 int icomp,
int localPoint);
87 CANTERA_CAPI
int sim1D_eval(
int i,
double rdt,
int count);
88 CANTERA_CAPI
int sim1D_setMaxJacAge(
int i,
int ss_age,
int ts_age);
89 CANTERA_CAPI
int sim1D_setFixedTemperature(
int i,
double temp);