Generated Code
The following is c_ida 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 11 entries in the constant variable array.
*/
/*
* CONSTANTS[0] is d_0 in component parameter_Ica (nS_per_pF).
* CONSTANTS[1] is d_1 in component parameter_Ica (dimensionless).
* CONSTANTS[2] is d_2 in component parameter_Ica (dimensionless).
* CONSTANTS[3] is d_5 in component parameter_Ica (dimensionless).
* CONSTANTS[4] is d_6 in component parameter_Ica (dimensionless).
* CONSTANTS[5] is f_1 in component parameter_Ica (dimensionless).
* CONSTANTS[6] is f_2 in component parameter_Ica (dimensionless).
* CONSTANTS[7] is f_5 in component parameter_Ica (dimensionless).
* CONSTANTS[8] is f_6 in component parameter_Ica (dimensionless).
* CONSTANTS[9] is tau_d_const in component parameter_Ica (dimensionless).
* CONSTANTS[10] is tau_f_const in component parameter_Ica (dimensionless).
* There are a total of 0 condition variables.
*/
void
initConsts(double* CONSTANTS, double* RATES, double *STATES)
{
CONSTANTS[0] = 0.30802769;
CONSTANTS[1] = 12.966294189;
CONSTANTS[2] = 7.0791459;
CONSTANTS[3] = 0.044909415;
CONSTANTS[4] = -6.909880369;
CONSTANTS[5] = 5.12589826e-4;
CONSTANTS[6] = -49.505712;
CONSTANTS[7] = 1931.21122;
CONSTANTS[8] = 5.73002749;
CONSTANTS[9] = 1.6582469;
CONSTANTS[10] = 100.462559;
}
void
computeResiduals(double VOI, double* CONSTANTS, double* RATES, double* OLDRATES, double* STATES,
double* OLDSTATES, double* ALGEBRAIC, double* CONDVARS)
{
}
void
computeVariables(double VOI, double* CONSTANTS, double* RATES, double* STATES, double* ALGEBRAIC)
{
}
void
computeEssentialVariables(double VOI, double* CONSTANTS, double* RATES, double* STATES, double* ALGEBRAIC)
{
}
void
getStateInformation(double* SI)
{
}
void
computeRoots(double VOI, double* CONSTANTS, double* RATES, double* OLDRATES, double* STATES,
double* OLDSTATES, double* ALGEBRAIC, double* CONDVARS)
{
}
