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 3 entries in the constant variable array.
*/
/*
* CONSTANTS[0] is Cwk in component ParaWindKessel (UnitC).
* CONSTANTS[1] is Rwk in component ParaWindKessel (UnitR).
* CONSTANTS[2] is P0 in component ParaWindKessel (UnitP).
*/
void
initConsts(double* CONSTANTS, double* RATES, double *STATES)
{
CONSTANTS[0] = 2.8;
CONSTANTS[1] = 0.55;
CONSTANTS[2] = 0.;
}
void
computeRates(double VOI, double* CONSTANTS, double* RATES, double* STATES, double* ALGEBRAIC)
{
}
void
computeVariables(double VOI, double* CONSTANTS, double* RATES, double* STATES, double* ALGEBRAIC)
{
}
