Revert "sim - Remember the option to save powers"

This reverts commit 74dcc1b9d5.
This commit is contained in:
Fabien Corona 2023-02-20 20:59:52 +01:00
parent aab7581909
commit c00a98fed4
3 changed files with 2 additions and 10 deletions

View File

@ -71,9 +71,6 @@ public:
if( !m_saveAllCurrents->GetValue() )
options &= ~NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_CURRENTS;
if( !m_saveAllDissipations->GetValue() )
options &= ~NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_DISSIPATIONS;
return options;
}

View File

@ -75,16 +75,12 @@ public:
if( m_SaveVoltages )
options |= NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_VOLTAGES;
if( m_SavesDissipations )
options |= NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_DISSIPATIONS;
return options;
}
public:
bool m_SavesDissipations = false;
bool m_SaveVoltages = true;
bool m_SaveCurrents = true;
bool m_SaveVoltages = true;
bool m_SaveCurrents = true;
};

View File

@ -271,7 +271,6 @@ public:
{
return NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_VOLTAGES
| NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_CURRENTS
| NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_DISSIPATIONS
| NETLIST_EXPORTER_SPICE::OPTION_ADJUST_INCLUDE_PATHS
| NETLIST_EXPORTER_SPICE::OPTION_SIM_COMMAND;
}