Show
Ignore:
Timestamp:
02/28/08 12:11:52 (9 months ago)
Author:
peter
Message:

source/path.h
source/helike_einsta.cpp
source/service.cpp
source/parse_state.cpp
source/parse_table.cpp
source/radius_increment.cpp
source/parse_init.cpp
source/grains_mie.cpp
source/cddefines.h
source/cdgetlinelist.cpp
source/cpu.h
source/punch_opacity.cpp
source/cont_setintensity.cpp
source/cont_createmesh.cpp
source/iso_radiative_recomb.cpp
source/parse_punch.cpp
source/mole_h2_io.cpp
source/optimize_do.cpp
source/atom_fe2ovr.cpp
source/optimize_phymir.cpp
source/ion_recomb_Badnell.cpp
source/nemala.cpp
source/temp_change.cpp
source/atmdat_readin.cpp
source/mole_h2_coll.cpp
source/atmdat_chianti.cpp
source/helike_cs.cpp
source/atmdat_lamda.cpp
source/cont_ffun.cpp
source/parse_print.cpp
source/prt_lines_helium.cpp
source/cpu.cpp
source/atom_feii.cpp
source/stars.cpp
source/cont_createpointers.cpp
source/grains.cpp
source/state.cpp
source/atom_hyperfine.cpp
source/h2_priv.h
source/cddrive.h
source/atmdat_adfa.cpp
source/parse_optimize.cpp

  • Enable using multiple paths on the Cloudy data search path.
  • open_data() is the new routine to open a file anywhere on the search path.
    It is now used everywhere, except in debugging code.
  • There is no longer any restriction on the length of a path or filename.
  • Some error messages may have altered (but should be equally informative),
    but apart from that the functionality of the code should be unchanged.
  • Split(), FindAndReplace?(), FindAndErase?() are new routines for manipulating
    C++ strings.
  • The routine path_not_set() has been removed since it has been integrated
    into open_data().
  • The method cpu.DataPath?() has been removed since it has been integrated
    into open_data().
  • The method cpu.printDataPath() has been added to print the entire search
    path to ioQQQ.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/cont_ffun.cpp

    r1771 r1815  
    366366        DEBUG_ENTRY( "ReadTable()" ); 
    367367 
    368         /* make sure the file handle points somewhere */ 
    369         if( NULL == ( io = fopen(fnam.c_str(),"r") ) ) 
    370         { 
    371                 fprintf( ioQQQ, " I could not open file %s.\n", fnam.c_str() ); 
    372                 cdEXIT(EXIT_FAILURE); 
    373         } 
     368        io = open_data( fnam.c_str(), "r", AS_LOCAL_ONLY ); 
    374369 
    375370        /* read in first line of header */