/[ascend]/trunk/base/generic/integrator/ida.c
ViewVC logotype

Diff of /trunk/base/generic/integrator/ida.c

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

revision 1302 by johnpye, Thu Mar 1 05:22:51 2007 UTC revision 1303 by johnpye, Thu Mar 1 06:04:21 2007 UTC
# Line 100  Line 100 
100  #define PREC_DEBUG  #define PREC_DEBUG
101  /* #define DIFFINDEX_DEBUG */  /* #define DIFFINDEX_DEBUG */
102  /* #define ANALYSE_DEBUG */  /* #define ANALYSE_DEBUG */
103    /* #define DESTROY_DEBUG */
104    
105  /**  /**
106      Everthing that the outside world needs to know about IDA      Everthing that the outside world needs to know about IDA
107  */  */
# Line 257  void integrator_ida_create(IntegratorSys Line 259  void integrator_ida_create(IntegratorSys
259  }  }
260    
261  void integrator_ida_free(void *enginedata){  void integrator_ida_free(void *enginedata){
262    #ifdef DESTROY_DEBUG
263      CONSOLE_DEBUG("DESTROYING IDA engine data at %p",enginedata);      CONSOLE_DEBUG("DESTROYING IDA engine data at %p",enginedata);
264    #endif
265      IntegratorIdaData *d = (IntegratorIdaData *)enginedata;      IntegratorIdaData *d = (IntegratorIdaData *)enginedata;
266      asc_assert(d);      asc_assert(d);
267      if(d->pfree){      if(d->pfree){
# Line 266  void integrator_ida_free(void *enginedat Line 270  void integrator_ida_free(void *enginedat
270          (d->pfree)(enginedata);          (d->pfree)(enginedata);
271      }      }
272      /* note, we don't own the rellist, so don't need to free it */      /* note, we don't own the rellist, so don't need to free it */
273    #ifdef DESTROY_DEBUG
274      CONSOLE_DEBUG("Now destroying the enginedata");      CONSOLE_DEBUG("Now destroying the enginedata");
275    #endif
276      ASC_FREE(d);      ASC_FREE(d);
277    #ifdef DESTROY_DEBUG
278      CONSOLE_DEBUG("enginedata freed");      CONSOLE_DEBUG("enginedata freed");
279    #endif
280  }  }
281    
282  IntegratorIdaData *integrator_ida_enginedata(IntegratorSystem *blsys){  IntegratorIdaData *integrator_ida_enginedata(IntegratorSystem *blsys){

Legend:
Removed from v.1302  
changed lines
  Added in v.1303

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