From 6f339d3443d89ca9a703be4c8503cd370a6c9b92 Mon Sep 17 00:00:00 2001 From: Francesco Lannutti Date: Fri, 16 Aug 2013 14:40:51 +0200 Subject: [PATCH] Added a string to signal that KCL Verifcation is enabled in the NGSPICE header --- src/frontend/misccoms.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/frontend/misccoms.c b/src/frontend/misccoms.c index 585d3d7fb..64d866e31 100644 --- a/src/frontend/misccoms.c +++ b/src/frontend/misccoms.c @@ -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");