#include "stack-c.h"Include dependency graph for ext12c.c:

Go to the source code of this file.
Functions | |
| int | ext12c (int *neq, double *t, double *y, double *ydot) |
Definition at line 17 of file ext12c.c.
References GetMatrixptr, lp, m, n, and stk.
00018 { 00019 static int m, n, lp; 00020 GetMatrixptr("param", &m, &n, &lp); 00021 ydot[0] = - (*stk(lp)) * y[0] + (*stk(lp+1)) * y[1] * y[2]; 00022 ydot[2] = (*stk(lp + 2)) * y[1] * y[1]; 00023 ydot[1] = -ydot[0] - ydot[2]; 00024 return 0; 00025 }
1.5.1