~jdpipe/ascend/trunk-old

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "simulation.h"
#include "library.h"
#include "solver.h"

#include <iostream>
using namespace std;

int main(void){

	Library L;
	L.load("johnpye/testlog10.a4c");
	Type t = L.findType("testlog10");
	cerr << "Type = " << t.getName() << endl;
	Simulation S = t.getSimulation("S",1);
	
	S.build();
	
	cerr << "About to solve..." << endl;

	S.solve(Solver("QRSlv"));
}