summaryrefslogtreecommitdiffstatshomepage
path: root/nl_examples
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2017-01-31 22:37:12 +0100
committer couriersud <couriersud@gmx.org>2017-01-31 22:37:25 +0100
commite02d8cad2bc67ada9b7429c6dc8401a439c0c025 (patch)
treedebc396921388c052757f5da5c020c1f122c8c7d /nl_examples
parent282a7e76c3a2ca3de90351f6527a5aaa8ffdbd4a (diff)
Fixed a number of issues:
- Fixed crashes on terminals without nets (i.e. connected to a rail) - Reviewed "FIXMEs" and corrected some minor ones. - Made m_cur_analog protected. - Fixed pmf delegates to work with msvc. - More optimizations to the solver code. - Started work on a better signal pipeline in nlwav - Only generate documentation for entities which are documented. [Couriersud]
Diffstat (limited to 'nl_examples')
-rw-r--r--nl_examples/congo_bongo.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/nl_examples/congo_bongo.c b/nl_examples/congo_bongo.c
index c7179847048..492865c79c4 100644
--- a/nl_examples/congo_bongo.c
+++ b/nl_examples/congo_bongo.c
@@ -11,6 +11,7 @@
/* set to 1 to use optimizations increasing performance significantly */
#define USE_OPTMIZATIONS 1
+#define USE_FRONTIERS 1
/* ----------------------------------------------------------------------------
* Library section header START
@@ -44,12 +45,18 @@ NETLIST_START(dummy)
PARAM(Solver.ACCURACY, 1e-8)
PARAM(Solver.NR_LOOPS, 90)
- PARAM(Solver.SOR_FACTOR, 0.001)
- PARAM(Solver.GS_LOOPS, 1)
+ PARAM(Solver.SOR_FACTOR, 1.01)
+ PARAM(Solver.GS_LOOPS, 4)
+ //PARAM(Solver.METHOD, "GMRES")
PARAM(Solver.METHOD, "MAT_CR")
+ //PARAM(Solver.METHOD, "SOR")
#if USE_OPTMIZATIONS
+#if USE_FRONTIERS
SOLVER(Solver, 24000)
+#else
+ SOLVER(Solver, 48000)
+#endif
PARAM(Solver.DYNAMIC_TS, 0 )
PARAM(Solver.PARALLEL, 1)
#else
@@ -121,7 +128,7 @@ NETLIST_START(dummy)
PARAM(XU13.D.MODEL, "MB3614(TYPE=1)")
#endif
-#if 1
+#if USE_FRONTIERS
OPTIMIZE_FRONTIER(C51.1, RES_K(20), 50)
OPTIMIZE_FRONTIER(R77.2, RES_K(20), 50)