interfaces/CIS.idl Source File

CIS.idl
Go to the documentation of this file.
1 
7 #include "xpcom.idl"
8 #include "CCGS.idl"
9 
13 module cellml_services
14 {
15  typedef sequence<double> DoubleSeq;
16 
18  {
32  };
33 
36  {
42  void computedConstants(in DoubleSeq values);
43 
65  void results(in DoubleSeq state);
66 
70  void done();
71 
76  void failed(in string errorMessage);
77  };
78 #pragma terminal-interface
79 #pragma user-callback
80 
83  {
94  void setStepSizeControl(in double epsAbs, in double epsRel,
95  in double scalVar, in double scalRate,
96  in double maxStep);
97 
107  void setTabulationStepControl(in double tabulationStepSize, in boolean strictTabulation);
108 
121  void setResultRange(in double startBvar, in double stopBvar,
122  in double maxPointDensity);
123 
130  void setProgressObserver(in IntegrationProgressObserver ipo);
131 
145  void setOverride(
147  in unsigned long variableIndex,
148  in double newValue
149  ) raises(cellml_api::CellMLException);
150 
155  void start();
156 
160  void stop();
161 
170  void pause();
171 
176  void resume();
177  };
178 
179  interface ODESolverRun
181  {
186  };
187 #pragma terminal-interface
188 
189  interface DAESolverRun
191  {
192  };
193 #pragma terminal-interface
194 
197  {
201  readonly attribute cellml_api::Model model;
202 
207  };
208 
211  {
212  };
213 #pragma terminal-interface
214 
217  {
218  };
219 #pragma terminal-interface
220 
223  {
231  ODESolverCompiledModel compileModelODE(in cellml_api::Model aModel)
233 
246  ODESolverCompiledModel compileDebugModelODE(in cellml_api::Model aModel)
248 
256  DAESolverCompiledModel compileModelDAE(in cellml_api::Model aModel)
258 
271  DAESolverCompiledModel compileDebugModelDAE(in cellml_api::Model aModel)
273 
279  ODESolverRun createODEIntegrationRun(in ODESolverCompiledModel aModel);
280 
286  DAESolverRun createDAEIntegrationRun(in DAESolverCompiledModel aModel);
287 
291  readonly attribute wstring lastError;
292  };
293 #pragma terminal-interface
294 };