summaryrefslogtreecommitdiffstatshomepage
path: root/nl_examples
diff options
context:
space:
mode:
author couriersud <couriersud@arcor.de>2015-06-28 23:23:56 +0200
committer couriersud <couriersud@arcor.de>2015-06-30 09:04:19 +0200
commitb1a72a3e9f6a8596cfcb6dc36c67c84d41499d24 (patch)
tree42868322b76b12ca1c02154734de3057f22730fc /nl_examples
parenta24fd3408a9e45becf67410d84a65cddd077b030 (diff)
Netlist now compiles with
-std=c++98 -Wall -Wpedantic -Wextra -Wno-long-long -Wno-variadic-macros and -std=c++11 -Wall -Wpedantic -Wextra [Couriersud]
Diffstat (limited to 'nl_examples')
-rw-r--r--nl_examples/kidniki.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/nl_examples/kidniki.c b/nl_examples/kidniki.c
index 74312e4d27e..dfe1b057e5e 100644
--- a/nl_examples/kidniki.c
+++ b/nl_examples/kidniki.c
@@ -3,16 +3,17 @@
#include "netlist/devices/nld_system.h"
#include "netlist/analog/nld_bjt.h"
-#define USE_FRONTIERS 1
-#define USE_FIXED_STV 1
+#define USE_FRONTIERS 0
+#define USE_FIXED_STV 0
NETLIST_START(dummy)
SOLVER(Solver, 12000)
- PARAM(Solver.ACCURACY, 1e-8)
+ PARAM(Solver.ACCURACY, 1e-7)
PARAM(Solver.NR_LOOPS, 300)
- PARAM(Solver.GS_LOOPS, 3)
+ PARAM(Solver.GS_LOOPS, 23)
//PARAM(Solver.GS_THRESHOLD, 99) // Force Gaussian elimination here
PARAM(Solver.SOR_FACTOR, 1.05)
+ PARAM(Solver.ITERATIVE, "GMRES")
#if 0
//PARAM(Solver.SOR_FACTOR, 1)
PARAM(Solver.DYNAMIC_TS, 1)