39 for( i=0; i <
LIMPAR; i++ )
69 for( i=0; i <
LIMPAR; i++ )
88 fprintf(
ioQQQ,
" The input stream has vary commands, but\n" );
89 fprintf(
ioQQQ,
" no observed quantities were entered. Whats up?\n" );
90 fprintf(
ioQQQ,
" Use the NO VARY command if you intended to disable optimization.\n" );
97 fprintf(
ioQQQ,
" No parameters to vary were entered. Whats up?\n" );
103 fprintf(
ioQQQ,
" PROBLEM - More parameters are varied then there are observables.\n" );
104 fprintf(
ioQQQ,
" PROBLEM - This run may not converge as a result.\n" );
105 fprintf(
ioQQQ,
" PROBLEM - Please reduce the number of free parameters,"
106 " or add more observables.\n" );
111 fprintf(
ioQQQ,
" Every parameter with a VARY option must have a GRID specified,\n" );
112 fprintf(
ioQQQ,
" and the GRID must be specified after the VARY option.\n" );
113 fprintf(
ioQQQ,
" These requirements were not satisfied for %ld parameter(s).\n",
166 fprintf(
ioQQQ,
"The number of variable options on this line makes no sense to me1\n");
171 fprintf(
ioQQQ,
"%s\n", chLine );
177 fprintf(
ioQQQ,
"%58cGrid Driver\n",
' ' );
179 fprintf(
ioQQQ,
"%54cOptimization Driver\n",
' ' );
182 fprintf(
ioQQQ,
"%23c**************************************%7.7s**************************************\n",
184 fprintf(
ioQQQ,
"%23c*%81c*\n",
' ',
' ' );
191 strcpy( chNote,
" " );
199 strcpy( chNote,
"VARY>>>" );
205 fprintf(
ioQQQ,
"%23c*%81c*\n",
' ',
' ' );
206 fprintf(
ioQQQ,
"%23c***********************************************************************************\n\n\n",
' ' );
216 fprintf(
ioQQQ,
" number of variables on line:%4ld\n",
218 fprintf(
ioQQQ,
" Values:" );
223 fprintf(
ioQQQ,
"\n" );
229 fprintf(
ioQQQ,
" Up to %ld iterations will be performed,\n",
231 fprintf(
ioQQQ,
" and the final version of the input file will be written to the file %s\n",
234 fprintf(
ioQQQ,
" The Phymir method will be used" );
238 fprintf(
ioQQQ,
" in MPI mode.\n" );
240 fprintf(
ioQQQ,
" in parallel mode.\n" );
242 fprintf(
ioQQQ,
" The maximum no. of CPU's to be used is %ld.\n",
246 fprintf(
ioQQQ,
" in sequential mode.\n" );
251 fprintf(
ioQQQ,
" Up to %ld iterations will be performed,\n",
253 fprintf(
ioQQQ,
" and the final version of the input file will be written to the file %s\n",
256 fprintf(
ioQQQ,
" The Subplex method will be used.\n" );
261 fprintf(
ioQQQ,
" Producing grid output.\n" );
266 fprintf(
ioQQQ,
" I do not understand what method to use.\n" );
267 fprintf(
ioQQQ,
" Sorry.\n" );
271 fprintf(
ioQQQ,
"\n %ld parameter(s) will be varied. The first lines, and the increments are:\n",
319 fprintf(
ioQQQ,
"The number of variable options on this line makes no sense to me2\n");
323 fprintf(
ioQQQ,
"\n %s\n", chLine );
325 fprintf(
ioQQQ,
" %s increment is %.3g, the limits are %.3g to %.3g\n",
329 fprintf(
ioQQQ,
" Initial increment is %.3g, the limits are %.3g to %.3g\n",
339 fprintf(
ioQQQ,
"\n Running in MPI grid mode on %ld CPUs. ",
cpu.
i().
nCPU() );
341 fprintf(
ioQQQ,
"\n Running in single-CPU grid mode. " );
342 fprintf(
ioQQQ,
"I will now start to write the input files.\n\n" );
358 fprintf(
ioQQQ,
" **************************************************\n" );
359 fprintf(
ioQQQ,
" **************************************************\n" );
360 fprintf(
ioQQQ,
" **************************************************\n" );
361 fprintf(
ioQQQ,
"\n Writing input files has been completed.\n\n\n" );
const int INPUT_LINE_LENGTH
#define DEBUG_ENTRY(funcname)
static t_version & Inst()
void gridXspec(realnum *, long)
void InitDefaultsPreparse(void)
char chOptimFileName[INPUT_LINE_LENGTH]
realnum paramLimits[LIMPAR][2]
realnum paramIncrements[LIMPAR]
bool lgLinearIncrements[LIMPAR]
vector< realnum > xLineInt_Obs
vector< realnum > ColDen_Obs
realnum vparm[LIMEXT][LIMPAR]
vector< realnum > temp_obs
char chVarFmt[LIMPAR][FILENAME_PATH_LENGTH_2]
realnum varang[LIMPAR][2]