44 fprintf(
ioQQQ,
" The increment (third parameter) should not be zero.\n" );
45 fprintf(
ioQQQ,
" Sorry.\n" );
51 fprintf(
ioQQQ,
" The increment (third parameter) must not be greater than the difference between the limits (first and second parameters).\n" );
52 fprintf(
ioQQQ,
" Sorry.\n" );
58 fprintf(
ioQQQ,
" This command has changed since the definition given in Porter et al. 2006, PASP, 118, 920.\n" );
59 fprintf(
ioQQQ,
" The grid command now requires three parameters: lower limit, upper limit, and increment.\n" );
60 fprintf(
ioQQQ,
" The keywords RANGE and STEPS are no longer necessary.\n" );
61 fprintf(
ioQQQ,
" Sorry.\n" );
75 fprintf(
ioQQQ,
"The increment (third parameter) has the wrong sign. It doesn't take you from the initial to the final grid value (first and second parameter, resp.).\n" );
76 fprintf(
ioQQQ,
" Sorry.\n" );
86 long eps =
max(
nint(abs(feps)),3);
98 fprintf(
ioQQQ,
" NOTE must have at least two grid points\n" );
111 fprintf(
ioQQQ,
"The current implementation of the grid command works with log parameter values even when you specify LINEAR.\n");
112 fprintf(
ioQQQ,
"A non-positive value was entered. The grid command cannot deal with this.\n");
bool nMatch(const char *chKey) const
realnum varang[LIMPAR][2]
void ParseGrid(Parser &p)
bool fp_equal(sys_float x, sys_float y, int n=3)
long numParamValues[LIMPAR]
bool lgLinearIncrements[LIMPAR]
bool lgNegativeIncrements
#define DEBUG_ENTRY(funcname)
realnum paramIncrements[LIMPAR]
realnum paramLimits[LIMPAR][2]