2024-08-18 16:17:00 +08:00
|
|
|
#include <iostream>
|
|
|
|
|
#include "Matrix.hpp"
|
|
|
|
|
#include "Simulator.hpp"
|
|
|
|
|
#include "parser.hpp"
|
|
|
|
|
|
|
|
|
|
// Example usage
|
2025-09-18 11:56:14 +08:00
|
|
|
int main(int argc, char *argv[])
|
2024-08-18 16:17:00 +08:00
|
|
|
{
|
2025-09-18 11:56:14 +08:00
|
|
|
// test_dcsolver_new();
|
|
|
|
|
if (argc < 2)
|
|
|
|
|
{
|
|
|
|
|
std::cerr << "Usage: " << argv[0] << " <input_file>" << std::endl;
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
// test_dcsolver_new();
|
|
|
|
|
std::string input_file = argv[1];
|
|
|
|
|
sp_2_sim(input_file);
|
2024-08-18 16:17:00 +08:00
|
|
|
return 0;
|
|
|
|
|
}
|