42 IFC(newAnalysis,(ckt,which,
"Sensitivity Analysis",&foo, task))
47 if ((*token ==
'v' || *token ==
'V') && strlen(token) == 1) {
50 LITERR(
"Syntax error: '(' expected after 'v'");
64 tmalloc(
sizeof(
char)*(5+strlen(nname1)+strlen(nname2)));
65 (void)sprintf(ptemp.
sValue,
"v(%s,%s)",nname1,nname2);
71 ptemp.
sValue = (
char *)
tmalloc(
sizeof(
char)*(4+strlen(nname1)));
72 (void)sprintf(ptemp.
sValue,
"v(%s)",nname1);
76 else if (*token ==
'i' && strlen(token) == 1) {
86 LITERR(
"Syntax error: voltage or current expected.")
91 if (token && !strcmp(token,
"pct")) {
97 if (token && !strcmp(token,
"ac")) {
102 if (token && *token && strcmp(token,
"dc")) {
104 LITERR(
"Syntax error: 'ac' or 'dc' expected.")
int SENSparse(GENERIC *ckt, INPtables *tab, int which, GENERIC *currentp, char **line, GENERIC *task, GENERIC *gnode)