cloudy
trunk
|
00001 /* This file is part of Cloudy and is copyright (C)1978-2008 by Gary J. Ferland and 00002 * others. For conditions of distribution and use see copyright notice in license.txt */ 00003 00004 #ifndef _GRID_H_ 00005 #define _GRID_H_ 00006 00007 #include "optimize.h" 00008 00010 bool grid_do(void); 00011 00016 void gridXspec(realnum *, long); 00017 00019 void GridGatherInCloudy( void ); 00020 00022 void GridGatherAfterCloudy( 00023 /* chTime is null terminated 4 char string, either "MIDL" or "LAST" */ 00024 const char *chTime); 00025 00026 #define NUM_OUTPUT_TYPES 11 00027 00028 EXTERN struct t_grid 00029 { 00030 realnum *Energies; 00031 realnum ***Spectra; 00032 char **paramNames; 00033 long *paramMethods; 00034 realnum **paramRange, 00035 **paramData, 00036 **interpParameters; 00039 bool *lgAbort , *lgWarn; 00040 00041 realnum paramIncrements[LIMPAR]; 00042 00044 bool lgGrid, 00045 lgGridDone, 00046 lgStrictRepeat; 00047 00049 long int nGridCommands; 00050 00051 long nintparm, 00052 naddparm, 00053 numEnergies, 00054 numParamValues[LIMPAR], 00055 totNumModels; 00056 00057 bool lgOutputTypeOn[NUM_OUTPUT_TYPES]; 00058 00059 } grid; 00060 00061 #endif /* _GRID_H_ */