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" |
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; |
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 &); |
81 |
|
|
82 |
SolverParameters getSolverParameters() const; |
SolverParameters getSolverParameters() const; |
83 |
void setSolverParameters(SolverParameters &); |
void setSolverParameters(SolverParameters &); |
84 |
|
|
85 |
|
IncidenceMatrix getIncidenceMatrix(); |
86 |
}; |
}; |
87 |
|
|
88 |
|
|