Re: [ng-spice] HAS_SENSE2
On Sun, 8 Aug 1999, Manu Rouat wrote:
>
>
> I am trying to find out what the define HAS_SENSE2 is for - it
> is used many times in the code (#ifdef HAS_SENSE2) but it is
> never #defined !!
Spice 2g6 had a sensitivity analysis which should have changed in the new
version 3**. The sense2 define should select the old code.
Am I right ?
Manu, add this define to the configure and I will check what it does !
Paolo
Manu: can you prepare the template for the define
BYPASS and PREDICTOR
They are compilation options that can be important in spice:
the first option causes spice to avoid the recalculation of devices whose
port variables have not changed their conditions too much in the previous
time steps. USE THIS OPTION WITH CARE: a slow modifing value cannot be
tracked even if start and end value heavily differs.
The second should insert a predictor method to improve convergence. I
think that this is suitable for smooth functions, but for piecewise linear
can be dangerous.
In any case they are hystoric options and should be implemented.
In a next relese I would like to add them to the runtime options so that
the user can change them without recompiling the source.
I am continuing in doing some code cleaning, I hope to end this night.
Paolo
Partial thread listing:
- Re: [ng-spice] HAS_SENSE2, (continued)