50 |
#include "solver.h" |
#include "solver.h" |
51 |
#include "solverparameters.h" |
#include "solverparameters.h" |
52 |
#include "name.h" |
#include "name.h" |
53 |
|
#include "incidencematrix.h" |
54 |
|
|
55 |
/** |
/** |
56 |
Create an instance of a type (call compiler etc) |
Create an instance of a type (call compiler etc) |
407 |
slv_set_parameters(sys, &(P.getInternalType())); |
slv_set_parameters(sys, &(P.getInternalType())); |
408 |
} |
} |
409 |
|
|
410 |
|
slv_system_structure * |
411 |
|
Simulation::getSystem(){ |
412 |
|
if(!sys)throw runtime_error("Can't getSystem: simulation not yet built"); |
413 |
|
return sys; |
414 |
|
} |
415 |
|
|
416 |
|
IncidenceMatrix |
417 |
|
Simulation::getIncidenceMatrix(){ |
418 |
|
return IncidenceMatrix(*this); |
419 |
|
} |