tests/test_expected/reset_rule.c
/* Model is correctly constrained.
 * No equations needed Newton-Raphson evaluation.
 * The rate and state arrays need 1 entries.
 * The algebraic variables array needs 1 entries.
 * The constant array needs 0 entries.
 * Variable storage is as follows:
 * * Target d^1/dt^1 x in component main
 * * * Variable type: algebraic variable
 * * * Variable index: 0
 * * * Variable storage: RATES[0]
 * * Target time in component main
 * * * Variable type: variable of integration
 * * * Variable index: 0
 * * * Variable storage: VOI
 * * Target x in component main
 * * * Variable type: state variable
 * * * Variable index: 0
 * * * Variable storage: STATES[0]
 */
Model is correctly constrained.
No equations needed Newton-Raphson evaluation.
The rate and state arrays need 1 entries.
The algebraic variables array needs 1 entries.
The constant array needs 0 entries.
Model is correctly constrained . No equations needed Newton - Raphson evaluation . The rate and state arrays need 1 entries . The algebraic variables array needs 1 entries . The constant array needs 0 entries .
void SetupFixedConstants(double* CONSTANTS, double* RATES, double* STATES)
{
STATES[0] = 0;
}
void SetupFixedConstants ( double * CONSTANTS , double * RATES , double * STATES ) { STATES [ 0 ] = 0 ; }
Model is correctly constrained.
Model is correctly constrained .
/* Constant x */