/[ascend]/trunk/pygtk/interface/testsolverinit.cpp
ViewVC logotype

Contents of /trunk/pygtk/interface/testsolverinit.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 151 - (show annotations) (download) (as text)
Thu Dec 22 10:58:33 2005 UTC (18 years, 6 months ago) by johnpye
File MIME type: text/x-c++src
File size: 316 byte(s)
Working on a test case for bug #178
1 #include "simulation.h"
2 #include "library.h"
3 #include "solver.h"
4
5 #include <iostream>
6 using namespace std;
7
8 int main(void){
9
10 Library L;
11 L.load("johnpye/testlog10.a4c");
12 Type t = L.findType("testlog10");
13 cerr << "Type = " << t.getName() << endl;
14 Simulation S = t.getSimulation("S");
15 S.solve(Solver("CMSlv"));
16 }

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