Restrict to direct KLU solver

This commit is contained in:
mrg 2021-05-21 11:27:15 -07:00
parent fc17a1ff45
commit f856a44376
1 changed files with 1 additions and 0 deletions

View File

@ -274,6 +274,7 @@ class stimuli():
elif OPTS.spice_name in ["Xyce", "xyce"]:
self.sf.write(".OPTIONS DEVICE TEMP={}\n".format(self.temperature))
self.sf.write(".OPTIONS MEASURE MEASFAIL=1\n")
self.sf.write(".OPTIONS LINSOL type=klu\n")
self.sf.write(".TRAN {0}p {1}n\n".format(timestep, end_time))
else:
debug.error("Unkown spice simulator {}".format(OPTS.spice_name))