24 fprintf(
ioQQQ,
"grid_do: too many parameters are varied, increase LIMPAR\n" );
39 for( i=0; i<nInterpVars; i++ )
46 fprintf(
ioQQQ,
" PROBLEM The 'save XSPEC' and 'grid list' options do not work together.\n" );
47 fprintf(
ioQQQ,
" If any 'save XSPEC' command is given, all grid commands must follow this syntax:\n" );
49 fprintf(
ioQQQ,
" where p1 and p2 are the limits and p3 is a regular increment.\n Sorry.\n" );
102 for( j=0; j<nInterpVars; j++ )
105 long volumeOtherDimensions = 1;
112 for(
long k=j+1; k<nInterpVars; k++ )
142 variableVector[j] = xc[j];
151 variableVector[j] = log10(variableVector[j]);
154 for( j=nInterpVars; j<
LIMPAR; j++ )
156 variableVector[j] = xc[j];
161 fixit(
"is this needed ??");
258 MPI_SUM, 0, MPI_COMM_WORLD );
NORETURN void TotalInsanity(void)
#define MPI_Reduce(T, U, V, W, X, Y, Z)
vector< realnum > Energies
chi2_type optimize_func(const realnum param[], int grid_index=-1)
void cdSPEC2(int Option, long int nEnergy, long int ipLoEnergy, long int ipHiEnergy, realnum ReturnedSpectrum[])
double anu(size_t i) const
long int nflux_with_check
realnum ** interpParameters
long ipoint(double energy_ryd)
long numParamValues[LIMPAR]
void GridGatherInCloudy(void)
const int NUM_OUTPUT_TYPES
vector< realnum > paramValuesFromList[LIMPAR]
multi_arr< realnum, 3 > Spectra
bool lgOptimizeAsLinear[LIMPAR]
bool lgLinearIncrements[LIMPAR]
void reserve(size_type i1)
#define DEBUG_ENTRY(funcname)
bool lgOutputTypeOn[NUM_OUTPUT_TYPES]
realnum paramIncrements[LIMPAR]
int fprintf(const Output &stream, const char *format,...)
void gridXspec(realnum *, long)