Show
Ignore:
Timestamp:
05/14/08 07:09:15 (8 months ago)
Author:
peter
Message:

Merging r2051 from mainline - improve error message for missing stellar grid.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/c08_branch/source/stars.cpp

    r2034 r2061  
    7878 *               * char names[MDIM][MNAM+1] * 
    7979 *               * mpp telg[nmods]          * 
    80  *               * realnum anu[ngrid]         * 
    81  *               * realnum mod1[ngrid]        * 
     80 *               * realnum anu[ngrid]       * 
     81 *               * realnum mod1[ngrid]      * 
    8282 *               *    ...                   * 
    83  *               * realnum modn[ngrid]        * 
     83 *               * realnum modn[ngrid]      * 
    8484 *               ============================ 
    8585 * 
     
    506506        grid.name += chODFNew; 
    507507        grid.name += ".mod"; 
    508         grid.scheme = AS_DATA_ONLY; 
     508        grid.scheme = AS_DATA_OPTIONAL; 
    509509        /* identification of this atmosphere set, used in 
    510510         * the Cloudy output, *must* be 12 characters long */ 
     
    603603 
    604604        grid.name = ( lgHalo ? "Sc1_costar_halo.mod" : "Sc1_costar_solar.mod" ); 
    605         grid.scheme = AS_DATA_ONLY; 
     605        grid.scheme = AS_DATA_OPTIONAL; 
    606606        /* identification of this atmosphere set, used in 
    607607         * the Cloudy output, *must* be 12 characters long */ 
     
    720720 
    721721        grid.name = FileName; 
    722         grid.scheme = AS_DATA_ONLY; 
     722        grid.scheme = AS_DATA_OPTIONAL; 
    723723        /* identification of this atmosphere set, used in 
    724724         * the Cloudy output, *must* be 12 characters long */ 
     
    773773 
    774774        grid.name = "kurucz79.mod"; 
    775         grid.scheme = AS_DATA_ONLY; 
     775        grid.scheme = AS_DATA_OPTIONAL; 
    776776        /* identification of this atmosphere set, used in 
    777777         * the Cloudy output, *must* be 12 characters long */ 
     
    823823 
    824824        grid.name = "mihalas.mod"; 
    825         grid.scheme = AS_DATA_ONLY; 
     825        grid.scheme = AS_DATA_OPTIONAL; 
    826826        /* identification of this atmosphere set, used in 
    827827         * the Cloudy output, *must* be 12 characters long */ 
     
    11791179        else 
    11801180                grid.name = ( lgHalo ? "rauch_h-ca_halo.mod" : "rauch_h-ca_solar.mod" ); 
    1181         grid.scheme = AS_DATA_ONLY; 
     1181        grid.scheme = AS_DATA_OPTIONAL; 
    11821182        /* identification of this atmosphere set, used in 
    11831183         * the Cloudy output, *must* be 12 characters long */ 
     
    12131213        else 
    12141214                grid.name = ( lgHalo ? "rauch_h-ni_halo.mod" : "rauch_h-ni_solar.mod" ); 
    1215         grid.scheme = AS_DATA_ONLY; 
     1215        grid.scheme = AS_DATA_OPTIONAL; 
    12161216        /* identification of this atmosphere set, used in 
    12171217         * the Cloudy output, *must* be 12 characters long */ 
     
    12431243 
    12441244        grid.name = "rauch_pg1159.mod"; 
    1245         grid.scheme = AS_DATA_ONLY; 
     1245        grid.scheme = AS_DATA_OPTIONAL; 
    12461246        /* identification of this atmosphere set, used in 
    12471247         * the Cloudy output, *must* be 12 characters long */ 
     
    12731273 
    12741274        grid.name = "rauch_hydr.mod"; 
    1275         grid.scheme = AS_DATA_ONLY; 
     1275        grid.scheme = AS_DATA_OPTIONAL; 
    12761276        /* identification of this atmosphere set, used in 
    12771277         * the Cloudy output, *must* be 12 characters long */ 
     
    13031303 
    13041304        grid.name = "rauch_helium.mod"; 
    1305         grid.scheme = AS_DATA_ONLY; 
     1305        grid.scheme = AS_DATA_OPTIONAL; 
    13061306        /* identification of this atmosphere set, used in 
    13071307         * the Cloudy output, *must* be 12 characters long */ 
     
    13331333 
    13341334        grid.name = "rauch_h+he_3d.mod"; 
    1335         grid.scheme = AS_DATA_ONLY; 
     1335        grid.scheme = AS_DATA_OPTIONAL; 
    13361336        /* identification of this atmosphere set, used in 
    13371337         * the Cloudy output, *must* be 12 characters long */ 
     
    16461646                grid.name += chMetalicity; 
    16471647        grid.name += ".mod"; 
    1648         grid.scheme = AS_DATA_ONLY; 
     1648        grid.scheme = AS_DATA_OPTIONAL; 
    16491649        /* identification of this atmosphere set, used in 
    16501650         * the Cloudy output, *must* be 12 characters long */ 
     
    17531753 
    17541754        grid.name = "kwerner.mod"; 
    1755         grid.scheme = AS_DATA_ONLY; 
     1755        grid.scheme = AS_DATA_OPTIONAL; 
    17561756        /* identification of this atmosphere set, used in 
    17571757         * the Cloudy output, *must* be 12 characters long */ 
     
    18271827 
    18281828        grid.name = "wmbasic.mod"; 
    1829         grid.scheme = AS_DATA_ONLY; 
     1829        grid.scheme = AS_DATA_OPTIONAL; 
    18301830        /* identification of this atmosphere set, used in 
    18311831         * the Cloudy output, *must* be 12 characters long */