Commit b1815d60 authored by Georg Martin Reinke's avatar Georg Martin Reinke
Browse files

implement complex Python attributes; use Complex more consequently


Former-commit-id: ad4b3f2d
parent b15be9d0
......@@ -6,7 +6,7 @@ int main(int argc, char *argv[]) {
Logger llog("TestSimple.csv"), logNone;
std::vector<BaseComponent*> comps;
comps.push_back(new VoltSourceRes("v_s", 1, 0, 10000, 0, 1));
comps.push_back(new VoltSourceRes("v_s", 1, 0, Complex(10000, 0), 1));
comps.push_back(new LinearResistor("r_line", 1, 2, 1));
comps.push_back(new Inductor("l_line", 2, 3, 1));
comps.push_back(new LinearResistor("r_load", 3, 0, 1000));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment