31 static long int nCoolant = 0;
44 if( strcmp(chJOB,
"ZERO") == 0 )
56 else if( strcmp(chJOB,
"DOIT") == 0 )
58 strcpy( chLabsv[nCoolant], chLabel );
62 sav[nCoolant] = lambda;
66 sav[nCoolant] = lambda/10000.f;
69 csav[nCoolant] = (
realnum)ratio;
73 chSig[nCoolant] =
'n';
77 chSig[nCoolant] =
' ';
86 fprintf(
ioQQQ,
" coolpr ran out of room, increase NCOLSAV.\n" );
92 else if( strcmp(chJOB,
"DONE") == 0 )
95 for( i=0; i < nCoolant; i++ )
98 scratch[i] = (
realnum)fabs(csav[i]);
101 for( i=0; i < nCoolant; i++ )
108 for( j=0; j < nCoolant; j++ )
110 if( scratch[j] > SavMax )
121 scratch[ipAr[i]] = 0.;
125 for( j=0; j < nCoolant; j += 7 )
127 limit =
MIN2(nCoolant,j+7);
129 for( i=j; i < limit; i++ )
150 fprintf(
ioQQQ,
" coolpr called with insane job =%s=\n",chJOB );
void coolpr(FILE *io, const char *chLabel, realnum lambda, double ratio, const char *chJOB)
#define DEBUG_ENTRY(funcname)
int fprintf(const Output &stream, const char *format,...)