/[ascend]/trunk/pygtk/integrator.cpp
ViewVC logotype

Diff of /trunk/pygtk/integrator.cpp

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

revision 1302 by johnpye, Wed Jan 24 13:33:06 2007 UTC revision 1303 by johnpye, Thu Mar 1 06:04:21 2007 UTC
# Line 6  Line 6 
6  #include <cmath>  #include <cmath>
7  using namespace std;  using namespace std;
8    
9    // #define DESTROY_DEBUG
10    
11  /**  /**
12      'creating' an integrator in the context of the GUI just means an object      'creating' an integrator in the context of the GUI just means an object
13      we can store the parameters that will be later sent to the underlying      we can store the parameters that will be later sent to the underlying
# Line 30  Integrator::Integrator(Simulation &simul Line 32  Integrator::Integrator(Simulation &simul
32  }  }
33    
34  Integrator::~Integrator(){  Integrator::~Integrator(){
35    #ifdef DESTROY_DEBUG
36      CONSOLE_DEBUG("DESTROYING Integrator (C++) at %p",this);      CONSOLE_DEBUG("DESTROYING Integrator (C++) at %p",this);
37      CONSOLE_DEBUG("DESTROYING IntegratorSystem at %p",blsys);      CONSOLE_DEBUG("DESTROYING IntegratorSystem at %p",blsys);
38    #endif
39      integrator_free(blsys);      integrator_free(blsys);
40    #ifdef DESTROY_DEBUG
41      CONSOLE_DEBUG("done");      CONSOLE_DEBUG("done");
42      CONSOLE_DEBUG("DESTROYING samplelist at %p",samplelist);      CONSOLE_DEBUG("DESTROYING samplelist at %p",samplelist);
43    #endif
44      if(samplelist)samplelist_free(samplelist);      if(samplelist)samplelist_free(samplelist);
45  }  }
46    

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

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