Added a string to signal that KCL Verifcation is enabled in the NGSPICE header

This commit is contained in:
Francesco Lannutti 2013-08-16 14:40:51 +02:00
parent a54ac67561
commit 6f339d3443
1 changed files with 8 additions and 0 deletions

View File

@ -175,6 +175,11 @@ com_version(wordlist *wl)
fprintf(cp_out, "** %s\n", Spice_Notice);
if (Spice_Build_Date != NULL && *Spice_Build_Date != 0)
fprintf(cp_out, "** Creation Date: %s\n", Spice_Build_Date);
#ifdef KIRCHHOFF
fprintf(cp_out, "** KCL Verification enabled.\n");
#endif
fprintf(cp_out, "******\n");
} else {
@ -251,6 +256,9 @@ com_version(wordlist *wl)
#endif
#ifdef EXP_DEV
fprintf(cp_out, "** Experimental devices enabled.\n");
#endif
#ifdef KIRCHHOFF
fprintf(cp_out, "** KCL Verification enabled.\n");
#endif
fprintf(cp_out, "******\n");