/[ascend]/trunk/pygtk/interface/simulation.h
ViewVC logotype

Diff of /trunk/pygtk/interface/simulation.h

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

revision 232 by johnpye, Fri Jan 27 14:55:43 2006 UTC revision 233 by johnpye, Sun Jan 29 16:55:27 2006 UTC
# Line 17  extern "C"{ Line 17  extern "C"{
17    
18  class Solver;  class Solver;
19  class SolverParameters;  class SolverParameters;
20    class IncidenceMatrix;
21    
22  #ifndef ASCEND_INCDIR  #ifndef ASCEND_INCDIR
23  #define ASCEND_INCDIR "/home/john/src/ascend/trunk/base/generic/lib"  #define ASCEND_INCDIR "/home/john/src/ascend/trunk/base/generic/lib"
# Line 43  class SolverParameters; Line 44  class SolverParameters;
44      solving, inspecting, etc, rather than the simulation instance itself.      solving, inspecting, etc, rather than the simulation instance itself.
45  */  */
46  class Simulation : public Instanc{  class Simulation : public Instanc{
47        friend class IncidenceMatrix;
48    
49  private:  private:
50      Instanc simroot;      Instanc simroot;
51      slv_system_structure *sys;      slv_system_structure *sys;
# Line 56  private: Line 59  private:
59      std::string *bin_cmd;      std::string *bin_cmd;
60      std::string *bin_rm;      std::string *bin_rm;
61    
62    protected:
63        slv_system_structure *getSystem();
64        
65  public:  public:
66      explicit Simulation(Instance *i, const SymChar &name);      explicit Simulation(Instance *i, const SymChar &name);
67      Simulation(const Simulation &);      Simulation(const Simulation &);
# Line 75  public: Line 81  public:
81    
82      SolverParameters getSolverParameters() const;      SolverParameters getSolverParameters() const;
83      void setSolverParameters(SolverParameters &);      void setSolverParameters(SolverParameters &);
84    
85        IncidenceMatrix getIncidenceMatrix();
86  };  };
87    
88    

Legend:
Removed from v.232  
changed lines
  Added in v.233

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