libsim  Versione6.3.0
integer function open_package_file ( character(len=*), intent(in)  filename,
integer, intent(in)  filetype 
)

Opens a specific file for the libsim package.

It searches in different directories using get_package_filepath to locate the file. It returns the unit number associated to the file found and successfully opened, or -1 if the file does not exist or an error occurred while opening it.

Parametri
[in]filenamename of the file to be opened, it must be a relative path name
[in]filetypetype of file, the constants ::filetype_data or ::filetype_config have to be used

Definizione alla linea 453 del file file_utilities.F90.


Generated with Doxygen.