190 |
integration. |
integration. |
191 |
*/ |
*/ |
192 |
|
|
193 |
|
typedef int IntegratorWriteMatrixFn(const struct IntegratorSystemStruct *blsys, FILE *fp); |
194 |
|
/**< |
195 |
|
Write Matrix. This will output 'the integrator's matrix' to a file. |
196 |
|
What exactly this matrix is will depend on the Integrator you're using. |
197 |
|
Hope you find it useful, anyway. Check the implementation details of the |
198 |
|
specific Integrator. |
199 |
|
*/ |
200 |
|
|
201 |
typedef void IntegratorFreeFn(void *enginedata); |
typedef void IntegratorFreeFn(void *enginedata); |
202 |
/**< |
/**< |
203 |
Integrators must provide a function like this that frees internal |
Integrators must provide a function like this that frees internal |
209 |
IntegratorParamsDefaultFn *paramsdefaultfn; |
IntegratorParamsDefaultFn *paramsdefaultfn; |
210 |
IntegratorAnalyseFn *analysefn; |
IntegratorAnalyseFn *analysefn; |
211 |
IntegratorSolveFn *solvefn; |
IntegratorSolveFn *solvefn; |
212 |
|
IntegratorWriteMatrixFn *writematrixfn; |
213 |
IntegratorFreeFn *freefn; |
IntegratorFreeFn *freefn; |
214 |
IntegratorEngine engine; |
IntegratorEngine engine; |
215 |
const char *name; |
const char *name; |
301 |
@return 0 on success, else error |
@return 0 on success, else error |
302 |
*/ |
*/ |
303 |
|
|
304 |
|
ASC_DLLSPEC int integrator_write_matrix(const IntegratorSystem *blsys, FILE *fp); |
305 |
|
/**< |
306 |
|
Output 'the matrix' for the present integrator to file handle indicated. |
307 |
|
What this will be depends on which integrator you are using. |
308 |
|
*/ |
309 |
|
|
310 |
ASC_DLLSPEC void integrator_free(IntegratorSystem *blsys); |
ASC_DLLSPEC void integrator_free(IntegratorSystem *blsys); |
311 |
/**< |
/**< |
312 |
Deallocates any memory used and sets all integration global points to NULL. |
Deallocates any memory used and sets all integration global points to NULL. |