mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
*** empty log message ***
This commit is contained in:
@@ -86,7 +86,7 @@ ct_writelogfile(PyObject *self, PyObject *args)
|
||||
{
|
||||
int iok;
|
||||
char *logfile;
|
||||
if (!PyArg_ParseTuple(args, "s:ck2cti", &logfile))
|
||||
if (!PyArg_ParseTuple(args, "s:writelogfile", &logfile))
|
||||
return NULL;
|
||||
iok = writelogfile(logfile);
|
||||
if (iok == -1) { return reportCanteraError();}
|
||||
|
||||
@@ -38,6 +38,20 @@ py_mix_addPhase(PyObject *self, PyObject *args)
|
||||
}
|
||||
|
||||
|
||||
static PyObject *
|
||||
py_mix_init(PyObject *self, PyObject *args)
|
||||
{
|
||||
int i;
|
||||
int _val;
|
||||
if (!PyArg_ParseTuple(args, "i:mix_init", &i))
|
||||
return NULL;
|
||||
|
||||
_val = mix_init(i);
|
||||
if (_val < 0) return reportCanteraError();
|
||||
return Py_BuildValue("i",_val);
|
||||
}
|
||||
|
||||
|
||||
static PyObject *
|
||||
py_mix_nElements(PyObject *self, PyObject *args)
|
||||
{
|
||||
|
||||
@@ -257,6 +257,7 @@ static PyMethodDef ct_methods[] = {
|
||||
{"mix_new", py_mix_new, METH_VARARGS},
|
||||
{"mix_del", py_mix_del, METH_VARARGS},
|
||||
{"mix_addPhase", py_mix_addPhase, METH_VARARGS},
|
||||
{"mix_init", py_mix_init, METH_VARARGS},
|
||||
{"mix_nElements", py_mix_nElements, METH_VARARGS},
|
||||
{"mix_elementIndex", py_mix_elementIndex, METH_VARARGS},
|
||||
{"mix_speciesIndex", py_mix_speciesIndex, METH_VARARGS},
|
||||
|
||||
Reference in New Issue
Block a user