Generated Code

The following is c code generated by the CellML API from this CellML file. (Back to language selection)

The raw code is available.

/*
   There are a total of 0 entries in the algebraic variable array.
   There are a total of 0 entries in each of the rate and state variable arrays.
   There are a total of 6 entries in the constant variable array.
 */
/*
 * CONSTANTS[0] is ks_0 in component parameter_Iks (nS_per_pF).
 * CONSTANTS[1] is ks_1 in component parameter_Iks (dimensionless).
 * CONSTANTS[2] is ks_2 in component parameter_Iks (dimensionless).
 * CONSTANTS[3] is ks_5 in component parameter_Iks (dimensionless).
 * CONSTANTS[4] is ks_6 in component parameter_Iks (dimensionless).
 * CONSTANTS[5] is tau_ks_const in component parameter_Iks (dimensionless).
 */
void
initConsts(double* CONSTANTS, double* RATES, double *STATES)
{
CONSTANTS[0] = 0.0077;
CONSTANTS[1] = 0.0012;
CONSTANTS[2] = 66726.83867;
CONSTANTS[3] = 0.280459;
CONSTANTS[4] = -18.867;
CONSTANTS[5] = 4.7412e-06;
}
void
computeRates(double VOI, double* CONSTANTS, double* RATES, double* STATES, double* ALGEBRAIC)
{
}
void
computeVariables(double VOI, double* CONSTANTS, double* RATES, double* STATES, double* ALGEBRAIC)
{
}