Skip to content

Commit

Permalink
Reorder devices
Browse files Browse the repository at this point in the history
  • Loading branch information
ra3xdh committed Oct 15, 2023
1 parent 5f0af65 commit 3772476
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions qucs/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,19 +249,22 @@ void Module::registerModules (void) {
REGISTER_LUMPED_1 (Inductor);
REGISTER_LUMPED_1 (IndQ);
REGISTER_LUMPED_1 (CapQ);
REGISTER_LUMPED_1 (Mutual);
REGISTER_LUMPED_1 (Mutual2);
REGISTER_LUMPED_1 (MutualX);
// lumped components
//if (QucsSettings.DefaultSimulator != spicecompat::simQucsator) {
REGISTER_LUMPED_1 (R_SPICE);
REGISTER_LUMPED_1 (C_SPICE);
REGISTER_LUMPED_1 (L_SPICE);
REGISTER_LUMPED_1 (K_SPICE);
//}
REGISTER_LUMPED_1 (Ground);
REGISTER_LUMPED_1 (SubCirPort);

//if (QucsSettings.DefaultSimulator == spicecompat::simQucsator) {
REGISTER_LUMPED_1 (Transformer);
REGISTER_LUMPED_1 (symTrafo);
REGISTER_LUMPED_1 (Ground);
REGISTER_LUMPED_1 (SubCirPort);
REGISTER_LUMPED_1 (dcBlock);
REGISTER_LUMPED_1 (dcFeed);
REGISTER_LUMPED_1 (BiasT);
Expand All @@ -280,9 +283,6 @@ void Module::registerModules (void) {
REGISTER_LUMPED_1 (vProbe);

//if (QucsSettings.DefaultSimulator == spicecompat::simQucsator) {
REGISTER_LUMPED_1 (Mutual);
REGISTER_LUMPED_1 (Mutual2);
REGISTER_LUMPED_1 (MutualX);
REGISTER_LUMPED_1 (Switch);
//} else {
REGISTER_LUMPED_1 (S4Q_S);
Expand Down

0 comments on commit 3772476

Please sign in to comment.