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 6 entries in the constant variable array. */ /* * CONSTANTS[0] is g_f in component parameter_If (nS_per_pF). * CONSTANTS[1] is xf_1 in component parameter_If (dimensionless). * CONSTANTS[2] is xf_2 in component parameter_If (dimensionless). * CONSTANTS[3] is xf_5 in component parameter_If (dimensionless). * CONSTANTS[4] is xf_6 in component parameter_If (dimensionless). * CONSTANTS[5] is xf_const in component parameter_If (dimensionless). * There are a total of 0 condition variables. */ void initConsts(double* CONSTANTS, double* RATES, double *STATES) { CONSTANTS[0] = 0.0435000000000000; CONSTANTS[1] = 5.7897e-07; CONSTANTS[2] = -14.5897121702000; CONSTANTS[3] = 20086.650237884372; CONSTANTS[4] = 10.2023528452800; CONSTANTS[5] = 23.9452913465300; } 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) { }