diff options
Diffstat (limited to 'src/lib/netlist/analog/nld_twoterm.cpp')
-rw-r--r-- | src/lib/netlist/analog/nld_twoterm.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/lib/netlist/analog/nld_twoterm.cpp b/src/lib/netlist/analog/nld_twoterm.cpp index 3ddff27557d..089b11f8607 100644 --- a/src/lib/netlist/analog/nld_twoterm.cpp +++ b/src/lib/netlist/analog/nld_twoterm.cpp @@ -117,6 +117,27 @@ NETLIB_UPDATE(C) } // ---------------------------------------------------------------------------------------- +// nld_L +// ---------------------------------------------------------------------------------------- + +NETLIB_RESET(L) +{ + set(netlist().gmin(), 0.0, 5.0 / netlist().gmin()); + //set(1.0/NETLIST_GMIN, 0.0, -5.0 * NETLIST_GMIN); +} + +NETLIB_UPDATE_PARAM(L) +{ + //step_time(1.0/48000.0); + //m_GParallel = netlist().gmin() / m_L(); +} + +NETLIB_UPDATE(L) +{ + NETLIB_NAME(twoterm)::update(); +} + +// ---------------------------------------------------------------------------------------- // nld_D // ---------------------------------------------------------------------------------------- |