From 4a1f7f950ce698cebad400a0d9690356187bcd1b Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Tue, 24 Aug 2021 17:48:17 +0200 Subject: [PATCH] spinit: add optran to the standard inits --- src/spinit.in | 6 +----- visualc/spinit_all | 1 + 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/spinit.in b/src/spinit.in index 305e7dfea..6e9bda2d4 100644 --- a/src/spinit.in +++ b/src/spinit.in @@ -13,16 +13,12 @@ set x11lineararcs ** default (if compiled with --enable-openmp) is: 2 *set num_threads=4 set interactive +optran 1 1 1 100n 10u 0 strcmp __flag $program "ngspice" if $__flag = 0 -* For SPICE2 POLYs, edit the below line to point to the location -* of your codemodel. - @XSPICEINIT@ codemodel @pkglibdir@/spice2poly.cm - -* The other codemodels @XSPICEINIT@ codemodel @pkglibdir@/analog.cm @XSPICEINIT@ codemodel @pkglibdir@/digital.cm @XSPICEINIT@ codemodel @pkglibdir@/xtradev.cm diff --git a/visualc/spinit_all b/visualc/spinit_all index f7b3a8de8..797801324 100644 --- a/visualc/spinit_all +++ b/visualc/spinit_all @@ -13,6 +13,7 @@ set filetype=ascii ** default (if compiled with --enable-openmp) is: 2 set num_threads=4 set interactive +optran 1 1 1 100n 10u 0 strcmp __flag $program "ngspice" if $__flag = 0