/[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 853 by johnpye, Fri Jul 7 11:01:26 2006 UTC revision 854 by johnpye, Wed Sep 20 13:36:40 2006 UTC
# Line 165  Integrator::getObservedVariable(const lo Line 165  Integrator::getObservedVariable(const lo
165      return Variable(&simulation,v);      return Variable(&simulation,v);
166  }  }
167    
168    Variable
169    Integrator::getIndependentVariable(){
170        var_variable *v = integrator_get_independent_var(blsys);
171        if(v==NULL){
172            throw runtime_error("independent variable is null");
173        }
174        return Variable(&simulation,v);
175    }
176    
177  int  int
178  Integrator::getNumVars(){  Integrator::getNumVars(){
179      return blsys->n_y;      return blsys->n_y;

Legend:
Removed from v.853  
changed lines
  Added in v.854

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