Public Attributes |
| readonly attribute wstring | errorMessage |
| | The error message, in the event that something is wrong with the model.
|
readonly attribute
ModelConstraintLevel | constraintLevel |
| | The constraint level, describing whether or not the model is correctly constrained.
|
| readonly attribute unsigned long | algebraicIndexCount |
| | The number of variables which were assigned indices in the algebraic variables array.
|
| readonly attribute unsigned long | rateIndexCount |
| | The number of variables which were assigned indices into the rates and state variables array.
|
| readonly attribute unsigned long | constantIndexCount |
| | The number of variables which were assigned indices into the constants array.
|
| readonly attribute wstring | initConstsString |
| | There are three types of code strings that can be obtained, each for a different purpose.
|
| readonly attribute wstring | ratesString |
| | The rates string, as described in the table above.
|
| readonly attribute wstring | variablesString |
| | The variables string, as described in the table above.
|
| readonly attribute wstring | functionsString |
| | A string containing any supplementary code which is needed to be used out-of-line by the above strings.
|
readonly attribute
mathml_dom::MathMLNodeList | flaggedEquations |
| | The list of flagged equations.
|
readonly attribute
ComputationTarget | missingInitial |
| | If the solver failed with an underconstrained error, and this is non-null, it means the cause of the failure was a missing initial condition on this state variable.
|
| readonly attribute string | objid |
| | Fetches the ID of the object.
|
| readonly attribute interface_list | supported_interfaces |
| | Fetches all supported interfaces.
|
Definition at line 157 of file CCGS.idl.
| readonly attribute wstring cellml_services::CodeInformation::functionsString |
A string containing any supplementary code which is needed to be used out-of-line by the above strings.
Whether or not supplementary code is used, and exactly what it means depends on the MAL file used with MaLaES, and the options set on the CodeGenerator. Typically, for C, it is used to define extra functions that are passed as arguments to functions being called from expressions.
Definition at line 252 of file CCGS.idl.
| readonly attribute wstring cellml_services::CodeInformation::initConstsString |
There are three types of code strings that can be obtained, each for a different purpose.
Note that as variables are computed, they are added into 'Known variables'. Definitions: State variable: A variable of which the first or higher derivative is taken. VOI or Variable of Integration: A variable with respect to which the model is being integrated.
| String | Targeted Variables | Possibly computed variables | Known variables | Purpose |
| initConsts | All variables which aren't state variables but have an initial_value attribute, and any variables & rates which follow | Any variable or rate except VOIs & state variables | None | Setting up constants and values computed from them. Also sets up samples of uncertain values |
| rates | All rates which are not static | Any variable or rate | Everything set above, VOIs, & state variables | Efficiently computing rates for the ODE solver |
| variables | All variables not computed above | Any variable | Everything set above, VOIs, and state variables | Computing the remaining variables |
Note that some rates also have corresponding higher order entries in the state variables array. These rates are copied from the state variables array into the rates array at the beginning of the rates string, and may be relied upon in the rates string. e.g.
| Array / Index | 0 | 1 | 2 |
| STATES | x | dx/dt | d^2x/dt^2 |
| RATES | dx/dt | d^2x/dt^2 | d^3x/dt^3 |
RATES[1] is copied from STATES[2], and RATES[0] is copied from STATES[1]. The initConsts string, as described in the table above.
Definition at line 232 of file CCGS.idl.