next up previous contents index
Next: Vector Expressions Up: Plots, Vectors and Expressions Previous: Analysis Vectors and Access   Contents   Index

Special Vectors

Most simply, vector names can be any alphanumeric word that starts with an alpha character. Vector names may also be of the form string(something), if the string is not the name of a built-in or user-defined function.

There is one vector named ``temper'' that is always available, though not saved in any plot. This is the current temperature assumed by the program, in Celsius.

In WRspice, a vector name beginning with the `@' symbol is a ``special'' vector, and is considered a reference to an internal device or model parameter, or a circuit parameter. If the vector name is of the form @name[param], this denotes the parameter param of the device or model named name. Of course, there must be a device or model with that name defined for the current circuit and param must be a valid parameter name for that device or model type. See the documentation or use the show command for a listing of the parameters available.

If the variable spec_catchar is set to a string consisting of a single punctuation character, then that character will identify a special vector, instead of `@'. The descriptions below use `@', but in actuality this character can be respecified by the user.

If the vector name is of the form @param, this refers to a parameter of the circuit with the name param. The parameters obtained in this manner are those from the table below defined on a .options line in the current circuit, those defined on a .param line in a current circuit, and the keywords of the rusage command, sought in that order. These vectors may be used as arguments to commands and functions which take vector arguments.

Option Special Vectors
Reals Integers Flags
@abstol @bypass @gminfirst
@chgtol @gminsteps @jjaccel
@defad @interplev @noiter
@defas @itl1 @nojjtp
@defl @itl2 @noopiter
@defw @itl2gmin @notrapcheck
@dphimax @itl2src @noklu
@gmin @itl4 @nomatsort
@minbreak @maxord @noadjoint
@pivrel @srcsteps @oldlimit
@pivtol   @spice3
@reltol   @trytocompact
@temp    
@tnom    
@trapratio    
@trtol    
@vntol    
@xmu    

Rusage Special Vectors
Reals Integers
@elapsed @accept
@loadtime @equations
@lutime @fillin
@reordertime @matsize
@solvetime @nonzero
@space @rejected
@time @totiter
@tranlutime @trancuriters
@transolvetime @traniter
@trantime @tranpoints
@tranitercut
@trantrapcut

The special vectors that correspond to device and model parameters in the current circuit can be assigned. Other special vectors are read-only. When a special vector is assigned, the effect is similar to the alter command. Actual assignment is deferred until the next analysis run of the current circuit, and assignment applies to that run only. The assignment must be repeated if needed for additional runs.


next up previous contents index
Next: Vector Expressions Up: Plots, Vectors and Expressions Previous: Analysis Vectors and Access   Contents   Index
Stephen R. Whiteley 2017-10-02