/[ascend]/trunk/base/generic/solver/integrator.h
ViewVC logotype

Diff of /trunk/base/generic/solver/integrator.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1128 by johnpye, Tue Jan 9 15:23:48 2007 UTC revision 1129 by johnpye, Sat Jan 13 11:40:59 2007 UTC
# Line 190  typedef int IntegratorSolveFn(struct Int Line 190  typedef int IntegratorSolveFn(struct Int
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
# Line 201  typedef struct IntegratorInternalsStruct Line 209  typedef struct IntegratorInternalsStruct
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;
# Line 292  ASC_DLLSPEC int integrator_solve(Integra Line 301  ASC_DLLSPEC int integrator_solve(Integra
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.

Legend:
Removed from v.1128  
changed lines
  Added in v.1129

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22