int n_funct=1; /* number of user-defined functions */ static char *funct_names[]={"KE"}; /* list of funct names; {""} if none*/ static double funct_min[]={0}; /* default funct min for display */ static double funct_max[]={1000}; /* default funct max for display */
We remark that if we did not want to monitor any auxiliary functions then we would set n_funct=0. The array of function names, however, must contain at least an empty string or else our code will not compile properly. In other words, if there were no auxiliary quantities of interest, then we could write *funct_names[]="", but not *funct_names[]=.