/[ascend]/trunk/pygtk/solver.i
ViewVC logotype

Diff of /trunk/pygtk/solver.i

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

revision 978 by johnpye, Tue Dec 19 00:57:26 2006 UTC revision 979 by johnpye, Wed Dec 20 14:34:16 2006 UTC
# Line 32  Line 32 
32    
33    
34  %include "simulation.h"  %include "simulation.h"
35  // SOLVE PARAMETERS  %extend Simulation{
36        Instanc __getitem__(const long &index){
37            return self->getModel().getChild(index);
38        }      
39        Instanc __getattr__(const char *name){
40            return self->getModel().getChild(SymChar(name));
41        }
42    }
43    
44    // SOLVER PARAMETERS
45  %pythoncode{  %pythoncode{
46      class SolverParameterIter:      class SolverParameterIter:
47          def __init__(self, params):          def __init__(self, params):

Legend:
Removed from v.978  
changed lines
  Added in v.979

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